summaryrefslogtreecommitdiff
path: root/libavcodec/x86/blockdsp.asm
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-10 20:49:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-22 13:33:41 +0200
commitee551a21ddcbf81afe183d9489c534ee80f263a0 (patch)
treea63ef4b23e5e92e88b4cd5506b714a46dca70c9a /libavcodec/x86/blockdsp.asm
parentbfb28b5ce89f3e950214b67ea95b45e3355c2caf (diff)
downloadffmpeg-ee551a21ddcbf81afe183d9489c534ee80f263a0.tar.gz
avcodec/x86/blockdsp: Remove obsolete MMX functions
x64 always has MMX, MMXEXT, SSE and SSE2 and this means that some functions for MMX, MMXEXT and 3dnow are always overridden by other functions (unless one e.g. explicitly disables SSE2) for x64. So given that the only systems that benefit from these functions are truely ancient 32bit x86s they are removed. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/blockdsp.asm')
-rw-r--r--libavcodec/x86/blockdsp.asm6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/x86/blockdsp.asm b/libavcodec/x86/blockdsp.asm
index 9d203df8f5..e380308d4a 100644
--- a/libavcodec/x86/blockdsp.asm
+++ b/libavcodec/x86/blockdsp.asm
@@ -46,9 +46,6 @@ cglobal clear_block, 1, 1, %1, blocks
RET
%endmacro
-INIT_MMX mmx
-%define ZERO pxor
-CLEAR_BLOCK 0, 4
INIT_XMM sse
%define ZERO xorps
CLEAR_BLOCK 1, 2
@@ -78,9 +75,6 @@ cglobal clear_blocks, 1, 2, %1, blocks, len
RET
%endmacro
-INIT_MMX mmx
-%define ZERO pxor
-CLEAR_BLOCKS 0
INIT_XMM sse
%define ZERO xorps
CLEAR_BLOCKS 1