Mark put_signed_pixels_clamped_mmx output operands as early-clobber because
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 3 Apr 2009 14:02:34 +0000 (14:02 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Fri, 3 Apr 2009 14:02:34 +0000 (14:02 +0000)
they are. Hopefully fixes some FATE errors, too.

Originally committed as revision 18326 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/x86/dsputil_mmx.c

index cf9dad4..b8e063e 100644 (file)
@@ -304,7 +304,7 @@ void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int li
             put_signed_pixels_clamped_mmx_half(0)
             "lea (%0, %3, 4), %0                \n\t"
             put_signed_pixels_clamped_mmx_half(64)
-            :"+r" (pixels), "+r" (line_skip3)
+            :"+&r" (pixels), "+&r" (line_skip3)
             :"r" (block), "r"(line_skip)
             :"memory");
 }