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 -mprefer-vector-width=128" >&5
58 $as_echo_n "checking -mprefer-vector-width=128... " >&6; }
59 if ${libc_cv_cc_mprefer_vector_width+:} false; then :
60 $as_echo_n "(cached) " >&6
62 if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
63 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
66 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
67 test $ac_status = 0; }; }; then :
68 libc_cv_cc_mprefer_vector_width=yes
70 libc_cv_cc_mprefer_vector_width=no
74 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
75 $as_echo "$libc_cv_cc_mprefer_vector_width" >&6; }
76 config_vars="$config_vars
77 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
79 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
80 $as_echo_n "checking for Intel MPX support... " >&6; }
81 if ${libc_cv_asm_mpx+:} false; then :
82 $as_echo_n "(cached) " >&6
84 cat > conftest.s <<\EOF
87 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
88 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
91 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
92 test $ac_status = 0; }; }; then
99 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
100 $as_echo "$libc_cv_asm_mpx" >&6; }
101 if test $libc_cv_asm_mpx = yes; then
102 $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
106 if test x"$build_mathvec" = xnotset; then
110 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
113 $as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h
116 test -n "$critic_missing" && as_fn_error $? "
117 *** $critic_missing" "$LINENO" 5