aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/i386/configure.in
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-02-02 19:28:44 -0500
committerUlrich Drepper <drepper@gmail.com>2011-02-02 19:28:44 -0500
commit435b95ebd07f18ad052a379e0381b12e9ebf5b2c (patch)
tree304179546ab29f2a40560bb1dce06bd76ffe6dfc /sysdeps/i386/configure.in
parent8517b15ee8e39fed11afb784fd0e249d977849f4 (diff)
downloadglibc-435b95ebd07f18ad052a379e0381b12e9ebf5b2c.zip
glibc-435b95ebd07f18ad052a379e0381b12e9ebf5b2c.tar.gz
glibc-435b95ebd07f18ad052a379e0381b12e9ebf5b2c.tar.bz2
AVX audit test failures with gcc 4.6
Diffstat (limited to 'sysdeps/i386/configure.in')
-rw-r--r--sysdeps/i386/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/i386/configure.in b/sysdeps/i386/configure.in
index d8dd648..67fd1d7 100644
--- a/sysdeps/i386/configure.in
+++ b/sysdeps/i386/configure.in
@@ -66,3 +66,11 @@ fi])
if test $libc_cv_cc_avx = yes; then
AC_DEFINE(HAVE_AVX_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])