OSDN Git Service

fft: mark xmm registers as clobbered in ff_imdct_calc_sse
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 6 Oct 2010 01:27:02 +0000 (01:27 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Wed, 6 Oct 2010 01:27:02 +0000 (01:27 +0000)
Originally committed as revision 25363 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/x86/fft_sse.c

index 0908671..9f02816 100644 (file)
@@ -97,6 +97,7 @@ void ff_imdct_calc_sse(FFTContext *s, FFTSample *output, const FFTSample *input)
         :"+r"(j), "+r"(k)
         :"r"(output+n4), "r"(output+n4*3),
          "m"(*m1m1m1m1)
+        XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm7")
     );
 }