summaryrefslogtreecommitdiff
path: root/libavcodec/x86/idct_sse2_xvid.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-10-31 13:17:43 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-10-31 13:17:43 +0000
commit616735eb9798b1345a1b20f52e4227ba27adb94f (patch)
treefc58b7f48a84d2db380dd8b0bab302df22c8bc5f /libavcodec/x86/idct_sse2_xvid.c
parent9943f3b91c6c023bf7f98e789ae64785e082d26f (diff)
idct_sse2_xvid: add xmm registers to clobber list
Originally committed as revision 25608 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/idct_sse2_xvid.c')
-rw-r--r--libavcodec/x86/idct_sse2_xvid.c8
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)