diff options
author | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-02-21 00:09:08 -0500 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2012-02-21 00:43:28 -0500 |
commit | 5465401d761aaaa73b71ef1be9f85ede71001f4e (patch) | |
tree | d7cf595275e845033d018fd5b251050ca04fcacd | |
parent | 6679ecff60c756a93b5b51ac90bb300f42a85564 (diff) |
Fix constraintsmmxext
-rw-r--r-- | pixman/pixman-mmx.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pixman/pixman-mmx.c b/pixman/pixman-mmx.c index 1d64571d..df5af0e5 100644 --- a/pixman/pixman-mmx.c +++ b/pixman/pixman-mmx.c @@ -65,9 +65,10 @@ extern __inline __m64 __attribute__((__gnu_inline__, __always_inline__, __artifi _mm_mulhi_pu16 (__m64 __A, __m64 __B) { asm ("pmulhuw %1, %0\n\t" - : "=&y" (__A) + : "+y" (__A) : "y" (__B) ); + return __A; } @@ -77,7 +78,7 @@ _mm_shuffle_pi16 (__m64 __A, int8_t const __N) __m64 ret; asm ("pshufw %2, %1, %0\n\t" - : "=&y" (ret) + : "=y" (ret) : "y" (__A), "K" (__N) ); |