From f7a51347a4e369fcc51e867ef03826e99acc4fdc Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 17 Feb 2017 17:08:17 +0000 Subject: [PATCH] Revert header inclusion changes that break math/ testing on x86_64. Revert: 2017-02-16 Zack Weinberg * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. Don't include init-arch.h. * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. Don't include init-arch.h. --- ChangeLog | 10 ++++++++++ sysdeps/x86_64/fpu/math-tests-arch.h | 8 ++++++-- sysdeps/x86_64/multiarch/test-multiarch.c | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f2a65b8bc..86deabff33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2017-02-17 Joseph Myers + + Revert: + 2017-02-16 Zack Weinberg + + * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h. + Don't include init-arch.h. + * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h. + Don't include init-arch.h. + 2017-02-17 Tulio Magno Quites Machado Filho [BZ #21171] 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 . */ -#include - #if defined REQUIRE_AVX +# include # define INIT_ARCH_EXT + # define CHECK_ARCH_EXT \ do \ { \ @@ -29,8 +29,10 @@ while (0) #elif defined REQUIRE_AVX2 +# include # define INIT_ARCH_EXT + # define CHECK_ARCH_EXT \ do \ { \ @@ -39,8 +41,10 @@ while (0) #elif defined REQUIRE_AVX512F +# include # define INIT_ARCH_EXT + # define CHECK_ARCH_EXT \ do \ { \ diff --git a/sysdeps/x86_64/multiarch/test-multiarch.c b/sysdeps/x86_64/multiarch/test-multiarch.c index 597d64e1e8..3974842c19 100644 --- a/sysdeps/x86_64/multiarch/test-multiarch.c +++ b/sysdeps/x86_64/multiarch/test-multiarch.c @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see . */ -#include +#include #include #include #include