aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorHenrik Gramner <henrik@gramner.com>2024-03-17 11:52:57 +0100
committerHenrik Gramner <henrik@gramner.com>2024-03-17 13:52:27 +0100
commitc3d3f0e697f27a14898e74db4fcffa5b35bcaf94 (patch)
treeba90d832e3f6dd8597bbb3f952fd1b5d70ef3d4d /libswscale
parentde2fb43e785773738c660cdafb9309b1ef1bc80d (diff)
downloadffmpeg-c3d3f0e697f27a14898e74db4fcffa5b35bcaf94.tar.gz
avutil/x86util: Fix broken pre-SSE4.1 PMINSD emulation
Fixes yadif-16 which allows FATE to pass. Broken since 2904db90458a1253e4aea6844ba9a59ac11923b6 (2017).
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/x86/scale.asm5
1 files changed, 0 insertions, 5 deletions
diff --git a/libswscale/x86/scale.asm b/libswscale/x86/scale.asm
index 2e14c8c023..baf03d52fa 100644
--- a/libswscale/x86/scale.asm
+++ b/libswscale/x86/scale.asm
@@ -24,7 +24,6 @@
SECTION_RODATA
max_19bit_int: times 4 dd 0x7ffff
-max_19bit_flt: times 4 dd 524287.0
minshort: times 8 dw 0x8000
unicoeff: times 4 dd 0x20000000
@@ -61,11 +60,7 @@ cglobal hscale%1to%2_%4, %5, 10, %6, pos0, dst, w, srcmem, filter, fltpos, fltsi
%define mov32 mov
%endif ; x86-64
%if %2 == 19
-%if cpuflag(sse4)
mova m2, [max_19bit_int]
-%else ; ssse3/sse2
- mova m2, [max_19bit_flt]
-%endif ; sse2/ssse3/sse4
%endif ; %2 == 19
%if %1 == 16
mova m6, [minshort]