aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/dct32.asm
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-06-08 19:39:21 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-06-09 00:51:43 +0200
commit6d408495b59547c6c07830d2095144586dc13a5b (patch)
treef066038e2c6d5c3dbc27b649d94baefeabcae1ed /libavcodec/x86/dct32.asm
parent7d8a60a442989606b25335bbdc2d55e8bdac5345 (diff)
downloadffmpeg-6d408495b59547c6c07830d2095144586dc13a5b.tar.gz
x86/dct32: don't build ff_dct32_float_sse on x86_64
There's an SSE2 version already, and technically the SSE version on x86_64 was wrong (using pshufd and pshuflw, SSE2 instructions). Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/dct32.asm')
-rw-r--r--libavcodec/x86/dct32.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/dct32.asm b/libavcodec/x86/dct32.asm
index 6fd5ba350d..c70f6c9c49 100644
--- a/libavcodec/x86/dct32.asm
+++ b/libavcodec/x86/dct32.asm
@@ -484,7 +484,9 @@ cglobal dct32_float, 2, 3, 16, out, in, tmp
%endif
%endmacro
+%if ARCH_X86_32
INIT_XMM sse
DCT32_FUNC
+%endif
INIT_XMM sse2
DCT32_FUNC