[Pixman] [PATCH v4 2/2] mmx: Use _mm_shuffle_pi16

Søren Sandmann sandmann at cs.au.dk
Tue Feb 21 09:24:21 PST 2012


Matt Turner <mattst88 at gmail.com> writes:

> v4: use inline assembly since the intrinsic needs SSE or 3DNowA
> 	- we can't use -msse, since it'll cause more SSE instructions to be
> 	  generated that we don't want
> 	- there is no -m3dnowa flag (anymore?)

Both patches look good to me. Just one nitpick: with the use of pshufw,
the data fields used in invert_colors() can be removed.


Soren


More information about the Pixman mailing list