aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/fdct_mmx.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-10-31 13:45:04 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-10-31 13:45:04 +0000
commit0d729e0de28d8f57fec26792942f7aa9bf37ba70 (patch)
tree577ed97471ecc7f0d29004e788821fc71af699a4 /libavcodec/x86/fdct_mmx.c
parent616735eb9798b1345a1b20f52e4227ba27adb94f (diff)
downloadffmpeg-0d729e0de28d8f57fec26792942f7aa9bf37ba70.tar.gz
fdct_mmx: add xmm registers to clobber list
Originally committed as revision 25609 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/fdct_mmx.c')
-rw-r--r--libavcodec/x86/fdct_mmx.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/x86/fdct_mmx.c b/libavcodec/x86/fdct_mmx.c
index 6e5228528e..e55d306641 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")
);
}