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 AVX512 support in assembler" >&5
5 $as_echo_n "checking for AVX512 support in assembler... " >&6; }
6 if ${libc_cv_asm_avx512+:} false; then :
7 $as_echo_n "(cached) " >&6
9 cat > conftest.s <<\EOF
10 vmovdqu64 %zmm0, (%rsp)
11 vandpd (%rax), %zmm6, %zmm1
13 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
14 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
17 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18 test $ac_status = 0; }; }; then
19 libc_cv_asm_avx512=yes
25 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_avx512" >&5
26 $as_echo "$libc_cv_asm_avx512" >&6; }
27 if test $libc_cv_asm_avx512 = yes; then
28 $as_echo "#define HAVE_AVX512_ASM_SUPPORT 1" >>confdefs.h
32 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512 support" >&5
33 $as_echo_n "checking for AVX512 support... " >&6; }
34 if ${libc_cv_cc_avx512+:} false; then :
35 $as_echo_n "(cached) " >&6
37 if { ac_try='${CC-cc} -mavx512f -xc /dev/null -S -o /dev/null'
38 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
41 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
42 test $ac_status = 0; }; }; then :
43 libc_cv_cc_avx512=$libc_cv_asm_avx512
49 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_avx512" >&5
50 $as_echo "$libc_cv_cc_avx512" >&6; }
51 if test $libc_cv_cc_avx512 = yes; then
52 $as_echo "#define HAVE_AVX512_SUPPORT 1" >>confdefs.h
55 config_vars="$config_vars
56 config-cflags-avx512 = $libc_cv_cc_avx512"
58 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
59 $as_echo_n "checking for Intel MPX support... " >&6; }
60 if ${libc_cv_asm_mpx+:} false; then :
61 $as_echo_n "(cached) " >&6
63 cat > conftest.s <<\EOF
66 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
67 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
70 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
71 test $ac_status = 0; }; }; then
78 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
79 $as_echo "$libc_cv_asm_mpx" >&6; }
80 if test $libc_cv_asm_mpx = yes; then
81 $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
85 if test x"$build_mathvec" = xnotset; then
89 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
91 # work around problem with autoconf and empty lines at the end of files