about summary refs log tree commit diff
path: root/sysdeps/i386/i686/multiarch
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos_odonell@mentor.com>2012-05-16 20:14:24 -0700
committerCarlos O'Donell <carlos_odonell@mentor.com>2012-05-17 06:59:28 -0700
commit1a0994f5356214e8af8a1c1cc33fbf74a7ac8993 (patch)
tree99ce1f919a2509868a71f4262f055b5eec9accb0 /sysdeps/i386/i686/multiarch
parent0af797def371ceb4f05586d7bcd25841653d2082 (diff)
downloadglibc-1a0994f5356214e8af8a1c1cc33fbf74a7ac8993.tar.gz
glibc-1a0994f5356214e8af8a1c1cc33fbf74a7ac8993.tar.xz
glibc-1a0994f5356214e8af8a1c1cc33fbf74a7ac8993.zip
BZ#14059: Fix AVX and FMA4 detection.
Fix AVX and FMA4 detection by following the guidelines
set out by Intel and AMD for detecting these features.
Diffstat (limited to 'sysdeps/i386/i686/multiarch')
-rw-r--r--sysdeps/i386/i686/multiarch/Makefile1
-rw-r--r--sysdeps/i386/i686/multiarch/test-multiarch.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/multiarch/Makefile b/sysdeps/i386/i686/multiarch/Makefile
index b764e5b825..8946bfa586 100644
--- a/sysdeps/i386/i686/multiarch/Makefile
+++ b/sysdeps/i386/i686/multiarch/Makefile
@@ -1,5 +1,6 @@
 ifeq ($(subdir),csu)
 aux += init-arch
+tests += test-multiarch
 gen-as-const-headers += ifunc-defines.sym
 endif
 
diff --git a/sysdeps/i386/i686/multiarch/test-multiarch.c b/sysdeps/i386/i686/multiarch/test-multiarch.c
new file mode 100644
index 0000000000..593cfec273
--- /dev/null
+++ b/sysdeps/i386/i686/multiarch/test-multiarch.c
@@ -0,0 +1 @@
+#include <sysdeps/x86_64/multiarch/test-multiarch.c>