about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/math-tests-arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/fpu/math-tests-arch.h')
-rw-r--r--sysdeps/x86_64/fpu/math-tests-arch.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/math-tests-arch.h b/sysdeps/x86_64/fpu/math-tests-arch.h
index 9278e3440b..98f7cf6548 100644
--- a/sysdeps/x86_64/fpu/math-tests-arch.h
+++ b/sysdeps/x86_64/fpu/math-tests-arch.h
@@ -16,11 +16,11 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#include <cpu-features.h>
-
 #if defined REQUIRE_AVX
+# include <init-arch.h>
 
 # define INIT_ARCH_EXT
+
 # define CHECK_ARCH_EXT                                        \
   do                                                           \
     {                                                          \
@@ -29,8 +29,10 @@
   while (0)
 
 #elif defined REQUIRE_AVX2
+# include <init-arch.h>
 
 # define INIT_ARCH_EXT
+
 # define CHECK_ARCH_EXT                                        \
   do                                                           \
     {                                                          \
@@ -39,8 +41,10 @@
   while (0)
 
 #elif defined REQUIRE_AVX512F
+# include <init-arch.h>
 
 # define INIT_ARCH_EXT
+
 # define CHECK_ARCH_EXT                                        \
   do                                                           \
     {                                                          \