| OLD | NEW |
| 1 diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c |
| 2 --- a/pixman/pixman-mmx.c |
| 3 +++ b/pixman/pixman-mmx.c |
| 4 @@ -97,7 +97,7 @@ _mm_shuffle_pi16 (__m64 __A, int8_t const __N) |
| 5 |
| 6 asm ("pshufw %2, %1, %0\n\t" |
| 7 : "=y" (ret) |
| 8 - : "y" (__A), "K" (__N) |
| 9 + : "y" (__A), "X" (__N) |
| 10 ); |
| 11 |
| 12 return ret; |
| 1 diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c | 13 diff --git a/pixman/pixman-x86.c b/pixman/pixman-x86.c |
| 2 --- a/pixman/pixman-x86.c | 14 --- a/pixman/pixman-x86.c |
| 3 +++ b/pixman/pixman-x86.c | 15 +++ b/pixman/pixman-x86.c |
| 4 @@ -80,7 +80,7 @@ detect_cpu_features (void) | 16 @@ -80,7 +80,7 @@ detect_cpu_features (void) |
| 5 static pixman_bool_t | 17 static pixman_bool_t |
| 6 have_cpuid (void) | 18 have_cpuid (void) |
| 7 { | 19 { |
| 8 -#if _PIXMAN_X86_64 || defined (_MSC_VER) | 20 -#if _PIXMAN_X86_64 || defined (_MSC_VER) |
| 9 +#if _PIXMAN_X86_64 || defined (_MSC_VER) || defined (__native_client__) | 21 +#if _PIXMAN_X86_64 || defined (_MSC_VER) || defined (__native_client__) |
| 10 | 22 |
| 11 return TRUE; | 23 return TRUE; |
| 12 | 24 |
| OLD | NEW |