From 1a0994f5356214e8af8a1c1cc33fbf74a7ac8993 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Wed, 16 May 2012 20:14:24 -0700 Subject: 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. --- sysdeps/i386/i686/multiarch/Makefile | 1 + sysdeps/i386/i686/multiarch/test-multiarch.c | 1 + 2 files changed, 2 insertions(+) create mode 100644 sysdeps/i386/i686/multiarch/test-multiarch.c (limited to 'sysdeps/i386/i686') 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 -- cgit v1.2.1