[Pixman] mmx build regression

Søren Sandmann sandmann at cs.au.dk
Wed Feb 22 19:53:40 PST 2012


Matt Turner <mattst88 at gmail.com> writes:

> This looks like an LLVM/clang bug.
>
> The 'K' constraint is documented here
> http://gcc.gnu.org/onlinedocs/gcc/Machine-Constraints.html#Machine-Constraints
> as an 8-bit immediate.

Maybe clang just doesn't realize that the __N is compile-time
constant. If so, changing _mm_shuffle_pi16 to be a macro might help. See
patch below.


Søren




More information about the Pixman mailing list