[SCM] libav/experimental: idct_sse2_xvid: add xmm registers to clobber list
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:18:21 UTC 2013
The following commit has been merged in the experimental branch:
commit 616735eb9798b1345a1b20f52e4227ba27adb94f
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date: Sun Oct 31 13:17:43 2010 +0000
idct_sse2_xvid: add xmm registers to clobber list
Originally committed as revision 25608 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c
index d8a5342..604f9c7 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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list