diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-26 22:09:46 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-27 14:40:27 -0700 |
commit | 158744a4cd63a8dce2060b366ae7b6509351d6c8 (patch) | |
tree | c32f84df617fe0817fd0451f5a7d6bf3a96f81b1 /libavcodec/x86/vp56dsp.asm | |
parent | 2734ba787b4a2cbc44bbc6499ae82013c790f453 (diff) |
vp56: only compile MMX SIMD on x86-32.
All x86-64 CPUs have SSE2, so the MMX version will never be used. This
leads to smaller binaries.
Diffstat (limited to 'libavcodec/x86/vp56dsp.asm')
-rw-r--r-- | libavcodec/x86/vp56dsp.asm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/vp56dsp.asm b/libavcodec/x86/vp56dsp.asm index 27a82bccab..ca4d97ec15 100644 --- a/libavcodec/x86/vp56dsp.asm +++ b/libavcodec/x86/vp56dsp.asm @@ -162,8 +162,10 @@ cglobal vp6_filter_diag4, 5, 7, 8 RET %endmacro +%if ARCH_X86_32 INIT_MMX mmx vp6_filter_diag4 +%endif INIT_XMM sse2 vp6_filter_diag4 |