summaryrefslogtreecommitdiff
path: root/libc/sysdeps/i386/configure.in
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-02-04 22:29:33 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2011-02-04 22:29:33 +0000
commit4bfa24eaa3c71ad1ddaaa18994be05316ab58958 (patch)
tree26e9902b6405f1efaefe0bc14cfc98f373565a98 /libc/sysdeps/i386/configure.in
parentb8df40b734d3df9979fd578556fa1d70f2ada743 (diff)
downloadeglibc2-4bfa24eaa3c71ad1ddaaa18994be05316ab58958.tar.gz
Merge changes between r12643 and r12752 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@12753 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/sysdeps/i386/configure.in')
-rw-r--r--libc/sysdeps/i386/configure.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/i386/configure.in b/libc/sysdeps/i386/configure.in
index d8dd648f8..67fd1d7df 100644
--- a/libc/sysdeps/i386/configure.in
+++ b/libc/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])