summaryrefslogtreecommitdiff
path: root/libavcodec/x86/synth_filter.asm
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-14 20:31:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-06-22 13:39:18 +0200
commiteb33fd384e70900644b5c1a06e266819af32b02e (patch)
treefb94f2741ed015bb8e079c6bdda46f9a198666a8 /libavcodec/x86/synth_filter.asm
parent54784ffac523c6fbc50762a91b3dcc481933b0b0 (diff)
avcodec/x86/synth_filter: Remove obsolete SSE function
The only systems which benefit from synth_filter_sse are truely ancient 32bit x86s as all other systems use at least the SSE2 versions (this includes all x64 cpus (which is why this code is restricted to x86-32)). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/synth_filter.asm')
-rw-r--r--libavcodec/x86/synth_filter.asm6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/x86/synth_filter.asm b/libavcodec/x86/synth_filter.asm
index bc1a48f409..22f57c3309 100644
--- a/libavcodec/x86/synth_filter.asm
+++ b/libavcodec/x86/synth_filter.asm
@@ -115,7 +115,7 @@ cglobal synth_filter_inner, 0, 6 + 4 * ARCH_X86_64, 7 + 6 * ARCH_X86_64, \
synth_buf, synth_buf2, window, out, off, scale
%define scale m0
%if ARCH_X86_32 || WIN64
-%if cpuflag(sse2) && notcpuflag(avx)
+%if notcpuflag(avx)
movd scale, scalem
SPLATD m0
%else
@@ -234,10 +234,6 @@ cglobal synth_filter_inner, 0, 6 + 4 * ARCH_X86_64, 7 + 6 * ARCH_X86_64, \
RET
%endmacro
-%if ARCH_X86_32
-INIT_XMM sse
-SYNTH_FILTER
-%endif
INIT_XMM sse2
SYNTH_FILTER
INIT_YMM avx