diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-10-31 13:17:43 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-10-31 13:17:43 +0000 |
commit | 616735eb9798b1345a1b20f52e4227ba27adb94f (patch) | |
tree | fc58b7f48a84d2db380dd8b0bab302df22c8bc5f | |
parent | 9943f3b91c6c023bf7f98e789ae64785e082d26f (diff) | |
download | ffmpeg-616735eb9798b1345a1b20f52e4227ba27adb94f.tar.gz |
idct_sse2_xvid: add xmm registers to clobber list
Originally committed as revision 25608 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/x86/idct_sse2_xvid.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c index d8a5342400..604f9c7e8d 100644 --- a/libavcodec/x86/idct_sse2_xvid.c +++ b/libavcodec/x86/idct_sse2_xvid.c @@ -39,6 +39,7 @@ */ #include "libavcodec/dsputil.h" +#include "libavutil/x86_cpu.h" #include "idct_xvid.h" #include "dsputil_mmx.h" @@ -379,7 +380,12 @@ inline void ff_idct_xvid_sse2(short *block) "6: \n\t" : "+r"(block) : - : "%eax", "%ecx", "%edx", "%esi", "memory"); + : "%eax", "%ecx", "%edx", "%esi", "memory" + XMM_CLOBBERS(, "%xmm0" , "%xmm1" , "%xmm2" , "%xmm3" , + "%xmm4" , "%xmm5" , "%xmm6" , "%xmm7" , + "%xmm8" , "%xmm9" , "%xmm10", "%xmm11", + "%xmm12", "%xmm13", "%xmm14") + ); } void ff_idct_xvid_sse2_put(uint8_t *dest, int line_size, short *block) |