Reland "align skvx::Vec<N,T> to N*sizeof(T)"
This is a reland of e3b110dc6e5f7e1c2bdeb16d4d0ca03221c5ee25
PS1 is the original, so best to diff against that.
This is the original with compiler workarounds.
Original change's description:
> align skvx::Vec<N,T> to N*sizeof(T)
> This increases the alignment of these vector types. I would have liked
> to keep the alignment minimal, but it's probably no big deal either way.
> In terms of code generation, it doesn't make much difference for x86 or
> ARMv8, but it seems hugely important for good ARMv7 NEON code. It's a
> ~10x difference for the bench I've been playing around with that spends
> most of its time in that SkOpts::blit_row_color32 routine.
> Bug: chromium:952502
> Change-Id: Ib12caad6b9b3f3f6e821ed70bfb57099db37b15f
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/208581
> Commit-Queue: Michael Ludwig <firstname.lastname@example.org>
> Reviewed-by: Michael Ludwig <email@example.com>
> Auto-Submit: Mike Klein <firstname.lastname@example.org>
Reviewed-by: Mike Klein <email@example.com>
Commit-Queue: Mike Klein <firstname.lastname@example.org>
1 file changed