Make pixman-mmx.c compile on x86-32 without optimization
authorSøren Sandmann Pedersen <ssp@redhat.com>
Mon, 9 Jul 2012 10:58:59 +0000 (06:58 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Wed, 20 Jun 2012 06:53:31 +0000 (02:53 -0400)
commit56321eff65832791252c7c324930d14c44d4d5f7
treeebd481860b61ba798b303047982486a1e532de6d
parent0c81957e9b4f83944075167ae27a955bb253e267
Make pixman-mmx.c compile on x86-32 without optimization

When not optimizing, write _mm_shuffle_pi16() as a statement
expression with inline assembly. That way we avoid
__builtin_ia32_pshufw(), which is only available when compiling with
-msse, while still allowing the non-optimizing gcc to understand that
the second argument is a compile time constant.

Tested-by: Knut Petersen <knut_petersen@t-online.de>
pixman/pixman-mmx.c