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.
Commit-Queue: Michael Ludwig <firstname.lastname@example.org>
Reviewed-by: Michael Ludwig <email@example.com>
Auto-Submit: Mike Klein <firstname.lastname@example.org>
1 file changed