aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2014-06-28 11:05:52 -0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-28 17:06:47 +0200
commitfaa1471ffcc1bbffe3a9d3d1f4b5fe3adbef647a (patch)
treeea7e57f6e4252876e391f409b1cb9f7efad32e1d /configure
parenta348f4befe23ada291a1982de23ed7d828bdaf0c (diff)
downloadffmpeg-faa1471ffcc1bbffe3a9d3d1f4b5fe3adbef647a.tar.gz
swr: rewrite resample_common/linear_float_sse/avx in yasm.
Linear interpolation goes from 63 (llvm) or 58 (gcc) to 48 (yasm) cycles/sample on 64bit, or from 66 (llvm/gcc) to 52 (yasm) cycles/ sample on 32bit. Bon-linear goes from 43 (llvm) or 38 (gcc) to 32 (yasm) cycles/sample on 64bit, or from 46 (llvm) or 44 (gcc) to 38 (yasm) cycles/sample on 32bit (all testing on OSX 10.9.2, llvm 5.1 and gcc 4.8/9). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index 296ca2bbe4..6c5ae3ec8c 100755
--- a/configure
+++ b/configure
@@ -4460,8 +4460,7 @@ EOF
check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test, %eax"' ||
check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"'
- # check whether binutils is new enough to compile AVX/SSSE3/MMXEXT
- enabled avx && check_inline_asm avx_inline '"vextractf128 $1, %ymm0, %xmm1"'
+ # check whether binutils is new enough to compile SSSE3/MMXEXT
enabled ssse3 && check_inline_asm ssse3_inline '"pabsw %xmm0, %xmm0"'
enabled mmxext && check_inline_asm mmxext_inline '"pmaxub %mm0, %mm1"'