aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-10-31 16:28:28 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-10-31 16:28:28 +0000
commitba40452095af9e4379346762acae332dd29f4338 (patch)
tree9d60bfadd8423c9aab8a470396336aa534ccf974
parent267ff3aed1e795f3fc3318e595cfdd62077f31ae (diff)
downloadffmpeg-ba40452095af9e4379346762acae332dd29f4338.tar.gz
idct_sse2_xvid: only mark xmm>=8 as clobbered on x86_64
Originally committed as revision 25614 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/x86/idct_sse2_xvid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavcodec/x86/idct_sse2_xvid.c b/libavcodec/x86/idct_sse2_xvid.c
index 604f9c7e8d..92762906a9 100644
--- a/libavcodec/x86/idct_sse2_xvid.c
+++ b/libavcodec/x86/idct_sse2_xvid.c
@@ -382,9 +382,11 @@ inline void ff_idct_xvid_sse2(short *block)
:
: "%eax", "%ecx", "%edx", "%esi", "memory"
XMM_CLOBBERS(, "%xmm0" , "%xmm1" , "%xmm2" , "%xmm3" ,
- "%xmm4" , "%xmm5" , "%xmm6" , "%xmm7" ,
- "%xmm8" , "%xmm9" , "%xmm10", "%xmm11",
+ "%xmm4" , "%xmm5" , "%xmm6" , "%xmm7")
+#if ARCH_X86_64
+ XMM_CLOBBERS(, "%xmm8" , "%xmm9" , "%xmm10", "%xmm11",
"%xmm12", "%xmm13", "%xmm14")
+#endif
);
}