configure: add check for AVX inline support
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7970959a94
commit
cdff1cc98f
3
configure
vendored
3
configure
vendored
@ -4392,7 +4392,8 @@ 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, %eax"' ||
|
||||||
check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"'
|
check_inline_asm inline_asm_direct_symbol_refs '"movl '$extern_prefix'test(%rip), %eax"'
|
||||||
|
|
||||||
# check whether binutils is new enough to compile SSSE3/MMXEXT
|
# check whether binutils is new enough to compile AVX/SSSE3/MMXEXT
|
||||||
|
enabled avx && check_inline_asm avx_inline '"vextractf128 $1, %ymm0, %xmm1"'
|
||||||
enabled ssse3 && check_inline_asm ssse3_inline '"pabsw %xmm0, %xmm0"'
|
enabled ssse3 && check_inline_asm ssse3_inline '"pabsw %xmm0, %xmm0"'
|
||||||
enabled mmxext && check_inline_asm mmxext_inline '"pmaxub %mm0, %mm1"'
|
enabled mmxext && check_inline_asm mmxext_inline '"pmaxub %mm0, %mm1"'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user