From: Sebastian Peryt Date: Mon, 4 Jun 2018 11:08:40 +0000 (+0200) Subject: cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED to _IMMINTRIN_H_INCLUDED. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a6e3d7925e9587b98902c26f3e4992419a140a2;p=gcc.git cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED to _IMMINTRIN_H_INCLUDED. 2018-06-04 Sebastian Peryt * config/i386/cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED to _IMMINTRIN_H_INCLUDED. * config/i386/pconfigintrin.h: Ditto. * config/i386/waitpkgintrin.h: Ditto. * config/i386/immintrin.h: Add includes for sgxintrin.h, pconfigintrin.h, waitpkgintrin.h and cldemoteintrin.h. * config/i386/x86intrin.h: Remove includes for mintrin.h, xmmintrin.h, emmintrin.h, pmmintrin.h, tmmintrin.h, smmintrin.h, wmmintrin.h, bmiintrin.h, bmi2intrin.h, lzcntintrin.h, sgxintrin.h, pconfigintrin.h, waitpkgintrin.h and cldemoteintrin.h. From-SVN: r261144 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fde65ebae1d..03fe3e01ca4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +2018-06-04 Sebastian Peryt + + * config/i386/cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED + to _IMMINTRIN_H_INCLUDED. + * config/i386/pconfigintrin.h: Ditto. + * config/i386/waitpkgintrin.h: Ditto. + * config/i386/immintrin.h: Add includes for sgxintrin.h, + pconfigintrin.h, waitpkgintrin.h and cldemoteintrin.h. + * config/i386/x86intrin.h: Remove includes for mintrin.h, xmmintrin.h, + emmintrin.h, pmmintrin.h, tmmintrin.h, smmintrin.h, wmmintrin.h, + bmiintrin.h, bmi2intrin.h, lzcntintrin.h, sgxintrin.h, pconfigintrin.h, + waitpkgintrin.h and cldemoteintrin.h. + 2018-06-04 Richard Biener PR tree-optimization/86038 diff --git a/gcc/config/i386/cldemoteintrin.h b/gcc/config/i386/cldemoteintrin.h index 1fa4c2d34d0..a961a1ca682 100644 --- a/gcc/config/i386/cldemoteintrin.h +++ b/gcc/config/i386/cldemoteintrin.h @@ -21,8 +21,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -#if !defined _X86INTRIN_H_INCLUDED -# error "Never use directly; include instead." +#if !defined _IMMINTRIN_H_INCLUDED +# error "Never use directly; include instead." #endif #ifndef _CLDEMOTE_H_INCLUDED diff --git a/gcc/config/i386/immintrin.h b/gcc/config/i386/immintrin.h index 63c5e5963ae..344e92c745a 100644 --- a/gcc/config/i386/immintrin.h +++ b/gcc/config/i386/immintrin.h @@ -112,6 +112,14 @@ #include +#include + +#include + +#include + +#include + extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _wbinvd (void) diff --git a/gcc/config/i386/pconfigintrin.h b/gcc/config/i386/pconfigintrin.h index 1c9c35c5e2b..d2a3261e470 100644 --- a/gcc/config/i386/pconfigintrin.h +++ b/gcc/config/i386/pconfigintrin.h @@ -1,5 +1,5 @@ -#ifndef _X86INTRIN_H_INCLUDED -#error "Never use directly; include instead." +#ifndef _IMMINTRIN_H_INCLUDED +#error "Never use directly; include instead." #endif #ifndef _PCONFIGINTRIN_H_INCLUDED diff --git a/gcc/config/i386/waitpkgintrin.h b/gcc/config/i386/waitpkgintrin.h index 8b68091bfde..4418dcd7483 100644 --- a/gcc/config/i386/waitpkgintrin.h +++ b/gcc/config/i386/waitpkgintrin.h @@ -21,8 +21,8 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see . */ -#if !defined _X86INTRIN_H_INCLUDED -# error "Never use directly; include instead." +#if !defined _IMMINTRIN_H_INCLUDED +# error "Never use directly; include instead." #endif #ifndef _WAITPKG_H_INCLUDED diff --git a/gcc/config/i386/x86intrin.h b/gcc/config/i386/x86intrin.h index 6d67e9cebf4..92bdf652781 100644 --- a/gcc/config/i386/x86intrin.h +++ b/gcc/config/i386/x86intrin.h @@ -28,22 +28,6 @@ #ifndef __iamcu__ -#include - -#include - -#include - -#include - -#include - -#include - -#include - -#include - /* For including AVX instructions */ #include @@ -55,14 +39,8 @@ #include -#include - -#include - #include -#include - #include #include @@ -75,10 +53,6 @@ #include -#include - -#include - #endif /* __iamcu__ */ #include @@ -101,10 +75,6 @@ #include -#include - -#include - #endif /* __iamcu__ */ #endif /* _X86INTRIN_H_INCLUDED */