x86-64: Remove compiler -mavx512f check
[platform/upstream/glibc.git] / sysdeps / x86_64 / configure
1 # This file is generated from configure.ac by Autoconf.  DO NOT EDIT!
2  # Local configure fragment for sysdeps/x86_64.
3
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
8 else
9   cat > conftest.s <<\EOF
10         vandpd (%rax), %zmm6, %zmm1
11 EOF
12 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
13   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
14   (eval $ac_try) 2>&5
15   ac_status=$?
16   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17   test $ac_status = 0; }; }; then
18   libc_cv_asm_avx512dq=yes
19 else
20   libc_cv_asm_avx512dq=no
21 fi
22 rm -f conftest*
23 fi
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
28
29 fi
30
31 { $as_echo "$as_me:${as_lineno-$LINENO}: checking -mprefer-vector-width=128" >&5
32 $as_echo_n "checking -mprefer-vector-width=128... " >&6; }
33 if ${libc_cv_cc_mprefer_vector_width+:} false; then :
34   $as_echo_n "(cached) " >&6
35 else
36   if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
37   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
38   (eval $ac_try) 2>&5
39   ac_status=$?
40   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
41   test $ac_status = 0; }; }; then :
42   libc_cv_cc_mprefer_vector_width=yes
43 else
44   libc_cv_cc_mprefer_vector_width=no
45 fi
46
47 fi
48 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
49 $as_echo "$libc_cv_cc_mprefer_vector_width" >&6; }
50 config_vars="$config_vars
51 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
52
53 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
54 $as_echo_n "checking for Intel MPX support... " >&6; }
55 if ${libc_cv_asm_mpx+:} false; then :
56   $as_echo_n "(cached) " >&6
57 else
58   cat > conftest.s <<\EOF
59         bndmov %bnd0,(%rsp)
60 EOF
61 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
62   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
63   (eval $ac_try) 2>&5
64   ac_status=$?
65   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
66   test $ac_status = 0; }; }; then
67   libc_cv_asm_mpx=yes
68 else
69   libc_cv_asm_mpx=no
70 fi
71 rm -f conftest*
72 fi
73 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
74 $as_echo "$libc_cv_asm_mpx" >&6; }
75 if test $libc_cv_asm_mpx = yes; then
76   $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
77
78 fi
79
80 if test x"$build_mathvec" = xnotset; then
81   build_mathvec=yes
82 fi
83
84 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
85
86
87 $as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h
88
89
90 test -n "$critic_missing" && as_fn_error $? "
91 *** $critic_missing" "$LINENO" 5