summaryrefslogtreecommitdiff
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-07-15 18:01:10 +0200
committerDiego Biurrun <diego@biurrun.de>2017-03-14 17:23:32 +0100
commit994c4bc10751e39c7ed9f67ffd0c0dea5223daf2 (patch)
tree733e21b2c239787e61d5a82fdb4326c3780dc2fb /libswscale
parent522d850e68ec4b77d3477b3c8f55b1ba00a9d69a (diff)
downloadffmpeg-994c4bc10751e39c7ed9f67ffd0c0dea5223daf2.tar.gz
x86util: Port all macros to cpuflags
Also do some small cosmetic changes: Drop pointless _MMX suffix from ABSD2 macro name, drop pointless check for MMX support, we always assume MMX is available in our SIMD code, fix spelling.
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/x86/scale.asm10
1 files changed, 1 insertions, 9 deletions
diff --git a/libswscale/x86/scale.asm b/libswscale/x86/scale.asm
index 982b432047..61709f47cb 100644
--- a/libswscale/x86/scale.asm
+++ b/libswscale/x86/scale.asm
@@ -364,15 +364,7 @@ cglobal hscale%1to%2_%4, %5, 10, %6, pos0, dst, w, srcmem, filter, fltpos, fltsi
movd [dstq+wq*2], m0
%endif ; %3 ==/!= X
%else ; %2 == 19
-%if mmsize == 8
- PMINSD_MMX m0, m2, m4
-%elif cpuflag(sse4)
- pminsd m0, m2
-%else ; sse2/ssse3
- cvtdq2ps m0, m0
- minps m0, m2
- cvtps2dq m0, m0
-%endif ; mmx/sse2/ssse3/sse4
+ PMINSD m0, m2, m4
%ifnidn %3, X
mova [dstq+wq*(4>>wshr)], m0
%else ; %3 == X