Mark "i" parameter of vector_clipf_sse() as early-clobber
authorVitor Sessak <vitor1001@gmail.com>
Thu, 27 Aug 2009 15:52:44 +0000 (15:52 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Thu, 27 Aug 2009 15:52:44 +0000 (15:52 +0000)
Originally committed as revision 19731 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/x86/dsputil_mmx.c

index bdf12e1..f430abc 100644 (file)
@@ -2374,7 +2374,7 @@ static void vector_clipf_sse(float *dst, const float *src, float min, float max,
         "movaps  %%xmm3, 48(%1,%0) \n\t"
         "sub  $64, %0 \n\t"
         "jge 1b \n\t"
-        :"+r"(i)
+        :"+&r"(i)
         :"r"(dst), "r"(src), "m"(min), "m"(max)
         :"memory"
     );