1 # This file is generated from configure.ac by Autoconf. DO NOT EDIT!
2 # Local configure fragment for sysdeps/x86_64.
4 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512DQ support in assembler" >&5
5 $as_echo_n "checking for AVX512DQ support in assembler... " >&6; }
6 if ${libc_cv_asm_avx512dq+:} false; then :
7 $as_echo_n "(cached) " >&6
9 cat > conftest.s <<\EOF
10 vandpd (%rax), %zmm6, %zmm1
12 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
13 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
16 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17 test $ac_status = 0; }; }; then
18 libc_cv_asm_avx512dq=yes
20 libc_cv_asm_avx512dq=no
24 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_avx512dq" >&5
25 $as_echo "$libc_cv_asm_avx512dq" >&6; }
26 if test $libc_cv_asm_avx512dq = yes; then
27 $as_echo "#define HAVE_AVX512DQ_ASM_SUPPORT 1" >>confdefs.h
31 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512 support" >&5
32 $as_echo_n "checking for AVX512 support... " >&6; }
33 if ${libc_cv_cc_avx512+:} false; then :
34 $as_echo_n "(cached) " >&6
36 if { ac_try='${CC-cc} -mavx512f -xc /dev/null -S -o /dev/null'
37 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
40 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41 test $ac_status = 0; }; }; then :
42 libc_cv_cc_avx512=$libc_cv_asm_avx512dq
48 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_avx512" >&5
49 $as_echo "$libc_cv_cc_avx512" >&6; }
50 if test $libc_cv_cc_avx512 = yes; then
51 $as_echo "#define HAVE_AVX512_SUPPORT 1" >>confdefs.h
54 config_vars="$config_vars
55 config-cflags-avx512 = $libc_cv_cc_avx512"
57 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
58 $as_echo_n "checking for Intel MPX support... " >&6; }
59 if ${libc_cv_asm_mpx+:} false; then :
60 $as_echo_n "(cached) " >&6
62 cat > conftest.s <<\EOF
65 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
66 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
69 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
70 test $ac_status = 0; }; }; then
77 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
78 $as_echo "$libc_cv_asm_mpx" >&6; }
79 if test $libc_cv_asm_mpx = yes; then
80 $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
84 if test x"$build_mathvec" = xnotset; then
88 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
91 test -n "$critic_missing" && as_fn_error $? "
92 *** $critic_missing" "$LINENO" 5