x86-64: Remove assembler AVX512DQ 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 -mprefer-vector-width=128" >&5
5 $as_echo_n "checking -mprefer-vector-width=128... " >&6; }
6 if ${libc_cv_cc_mprefer_vector_width+:} false; then :
7   $as_echo_n "(cached) " >&6
8 else
9   if { ac_try='${CC-cc} -mprefer-vector-width=128 -xc /dev/null -S -o /dev/null'
10   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
11   (eval $ac_try) 2>&5
12   ac_status=$?
13   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14   test $ac_status = 0; }; }; then :
15   libc_cv_cc_mprefer_vector_width=yes
16 else
17   libc_cv_cc_mprefer_vector_width=no
18 fi
19
20 fi
21 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_mprefer_vector_width" >&5
22 $as_echo "$libc_cv_cc_mprefer_vector_width" >&6; }
23 config_vars="$config_vars
24 config-cflags-mprefer-vector-width = $libc_cv_cc_mprefer_vector_width"
25
26 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Intel MPX support" >&5
27 $as_echo_n "checking for Intel MPX support... " >&6; }
28 if ${libc_cv_asm_mpx+:} false; then :
29   $as_echo_n "(cached) " >&6
30 else
31   cat > conftest.s <<\EOF
32         bndmov %bnd0,(%rsp)
33 EOF
34 if { ac_try='${CC-cc} -c $ASFLAGS conftest.s 1>&5'
35   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
36   (eval $ac_try) 2>&5
37   ac_status=$?
38   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
39   test $ac_status = 0; }; }; then
40   libc_cv_asm_mpx=yes
41 else
42   libc_cv_asm_mpx=no
43 fi
44 rm -f conftest*
45 fi
46 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_asm_mpx" >&5
47 $as_echo "$libc_cv_asm_mpx" >&6; }
48 if test $libc_cv_asm_mpx = yes; then
49   $as_echo "#define HAVE_MPX_SUPPORT 1" >>confdefs.h
50
51 fi
52
53 if test x"$build_mathvec" = xnotset; then
54   build_mathvec=yes
55 fi
56
57 $as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h
58
59
60 $as_echo "#define SUPPORT_STATIC_PIE 1" >>confdefs.h
61
62
63 test -n "$critic_missing" && as_fn_error $? "
64 *** $critic_missing" "$LINENO" 5