[FFmpeg-cvslog] r25608 - trunk/libavcodec/x86/idct_sse2_xvid.c

ramiro subversion
Sun Oct 31 14:17:43 CET 2010


Author: ramiro
Date: Sun Oct 31 14:17:43 2010
New Revision: 25608

Log:
idct_sse2_xvid: add xmm registers to clobber list

Modified:
   trunk/libavcodec/x86/idct_sse2_xvid.c

Modified: trunk/libavcodec/x86/idct_sse2_xvid.c
==============================================================================
--- trunk/libavcodec/x86/idct_sse2_xvid.c	Sun Oct 31 14:15:16 2010	(r25607)
+++ trunk/libavcodec/x86/idct_sse2_xvid.c	Sun Oct 31 14:17:43 2010	(r25608)
@@ -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 *blo
     "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)



More information about the ffmpeg-cvslog mailing list