mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
Fix last commit
Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
This commit is contained in:
parent
dd62fda6cc
commit
2f60e7a8bc
15
sysdeps/x86_64/configure
vendored
15
sysdeps/x86_64/configure
vendored
@ -223,11 +223,12 @@ else
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
test $ac_status = 0; }; }; then :
|
||||
libc_cv_cc_sse4=yes
|
||||
else
|
||||
libc_cv_cc_sse4=no
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_sse4" >&5
|
||||
$as_echo "$libc_cv_cc_sse4" >&6; }
|
||||
@ -246,11 +247,12 @@ else
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
test $ac_status = 0; }; }; then :
|
||||
libc_cv_cc_avx=yes
|
||||
else
|
||||
libc_cv_cc_avx=no
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_avx" >&5
|
||||
$as_echo "$libc_cv_cc_avx" >&6; }
|
||||
@ -269,11 +271,12 @@ else
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
test $ac_status = 0; }; }; then :
|
||||
libc_cv_cc_sse2avx=yes
|
||||
else
|
||||
libc_cv_cc_sse2avx=no
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_sse2avx" >&5
|
||||
$as_echo "$libc_cv_cc_sse2avx" >&6; }
|
||||
@ -292,11 +295,12 @@ else
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
test $ac_status = 0; }; }; then :
|
||||
libc_cv_cc_fma4=yes
|
||||
else
|
||||
libc_cv_cc_fma4=no
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_fma4" >&5
|
||||
$as_echo "$libc_cv_cc_fma4" >&6; }
|
||||
@ -315,11 +319,12 @@ else
|
||||
(eval $ac_try) 2>&5
|
||||
ac_status=$?
|
||||
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
||||
test $ac_status = 0; }; }; then
|
||||
test $ac_status = 0; }; }; then :
|
||||
libc_cv_cc_novzeroupper=yes
|
||||
else
|
||||
libc_cv_cc_novzeroupper=no
|
||||
fi
|
||||
|
||||
fi
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libc_cv_cc_novzeroupper" >&5
|
||||
$as_echo "$libc_cv_cc_novzeroupper" >&6; }
|
||||
|
@ -40,55 +40,44 @@ fi
|
||||
|
||||
dnl Check if -msse4 works.
|
||||
AC_CACHE_CHECK(for SSE4 support, libc_cv_cc_sse4, [dnl
|
||||
if AC_TRY_COMMAND([${CC-cc} -msse4 -xc /dev/null -S -o /dev/null]); then
|
||||
libc_cv_cc_sse4=yes
|
||||
else
|
||||
libc_cv_cc_sse4=no
|
||||
fi])
|
||||
LIBC_TRY_CC_OPTION([-msse4], [libc_cv_cc_sse4=yes], [libc_cv_cc_sse4=no])
|
||||
])
|
||||
if test $libc_cv_cc_sse4 = yes; then
|
||||
AC_DEFINE(HAVE_SSE4_SUPPORT)
|
||||
fi
|
||||
|
||||
dnl Check if -mavx works.
|
||||
AC_CACHE_CHECK(for AVX support, libc_cv_cc_avx, [dnl
|
||||
if AC_TRY_COMMAND([${CC-cc} -mavx -xc /dev/null -S -o /dev/null]); then
|
||||
libc_cv_cc_avx=yes
|
||||
else
|
||||
libc_cv_cc_avx=no
|
||||
fi])
|
||||
LIBC_TRY_CC_OPTION([-mavx], [libc_cv_cc_avx=yes], [libc_cv_cc_avx=no])
|
||||
])
|
||||
if test $libc_cv_cc_avx = yes; then
|
||||
AC_DEFINE(HAVE_AVX_SUPPORT)
|
||||
fi
|
||||
|
||||
dnl Check if -msse2avx works.
|
||||
AC_CACHE_CHECK(for AVX encoding of SSE instructions, libc_cv_cc_sse2avx, [dnl
|
||||
if AC_TRY_COMMAND([${CC-cc} -msse2avx -xc /dev/null -S -o /dev/null]); then
|
||||
libc_cv_cc_sse2avx=yes
|
||||
else
|
||||
libc_cv_cc_sse2avx=no
|
||||
fi])
|
||||
LIBC_TRY_CC_OPTION([-msse2avx],
|
||||
[libc_cv_cc_sse2avx=yes],
|
||||
[libc_cv_cc_sse2avx=no])
|
||||
])
|
||||
if test $libc_cv_cc_sse2avx = yes; then
|
||||
AC_DEFINE(HAVE_SSE2AVX_SUPPORT)
|
||||
fi
|
||||
|
||||
dnl Check if -mfma4 works.
|
||||
AC_CACHE_CHECK(for FMA4 support, libc_cv_cc_fma4, [dnl
|
||||
if AC_TRY_COMMAND([${CC-cc} -mfma4 -xc /dev/null -S -o /dev/null]); then
|
||||
libc_cv_cc_fma4=yes
|
||||
else
|
||||
libc_cv_cc_fma4=no
|
||||
fi])
|
||||
LIBC_TRY_CC_OPTION([-mfma4], [libc_cv_cc_fma4=yes], [libc_cv_cc_fma4=no])
|
||||
])
|
||||
if test $libc_cv_cc_fma4 = yes; then
|
||||
AC_DEFINE(HAVE_FMA4_SUPPORT)
|
||||
fi
|
||||
|
||||
dnl Check if -mno-vzeroupper works.
|
||||
AC_CACHE_CHECK(for -mno-vzeroupper support, libc_cv_cc_novzeroupper, [dnl
|
||||
if AC_TRY_COMMAND([${CC-cc} -mno-vzeroupper -xc /dev/null -S -o /dev/null]); then
|
||||
libc_cv_cc_novzeroupper=yes
|
||||
else
|
||||
libc_cv_cc_novzeroupper=no
|
||||
fi])
|
||||
LIBC_TRY_CC_OPTION([-mno-vzeroupper],
|
||||
[libc_cv_cc_novzeroupper=yes],
|
||||
[libc_cv_cc_novzeroupper=no])
|
||||
])
|
||||
|
||||
# Check for support of thread-local storage handling in assembler and linker.
|
||||
AC_CACHE_CHECK(for x86-64 TLS support, libc_cv_x86_64_tls, [dnl
|
||||
|
Loading…
Reference in New Issue
Block a user