From: Ramiro Polla Date: Sun, 31 Oct 2010 13:45:04 +0000 (+0000) Subject: fdct_mmx: add xmm registers to clobber list X-Git-Tag: v0.7b2~2050 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0d729e0de28d8f57fec26792942f7aa9bf37ba70;p=coroid%2Flibav_saccubus.git fdct_mmx: add xmm registers to clobber list Originally committed as revision 25609 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/x86/fdct_mmx.c b/libavcodec/x86/fdct_mmx.c index 6e5228528..e55d30664 100644 --- a/libavcodec/x86/fdct_mmx.c +++ b/libavcodec/x86/fdct_mmx.c @@ -31,6 +31,7 @@ */ #include "libavutil/common.h" +#include "libavutil/x86_cpu.h" #include "libavcodec/dsputil.h" ////////////////////////////////////////////////////////////////////// @@ -431,6 +432,8 @@ static av_always_inline void fdct_row_sse2(const int16_t *in, int16_t *out) FDCT_ROW_SSE2(80) : : "r" (in), "r" (tab_frw_01234567_sse2.tab_frw_01234567_sse2), "r" (fdct_r_row_sse2.fdct_r_row_sse2), "i" (SHIFT_FRW_ROW), "r" (out) + XMM_CLOBBERS_ONLY("%xmm0", "%xmm1", "%xmm2", "%xmm3", + "%xmm4", "%xmm5", "%xmm6", "%xmm7") ); }