cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED to _IMMINTRIN_H_INCLUDED.
authorSebastian Peryt <sebastian.peryt@intel.com>
Mon, 4 Jun 2018 11:08:40 +0000 (13:08 +0200)
committerSebastian Peryt <speryt@gcc.gnu.org>
Mon, 4 Jun 2018 11:08:40 +0000 (13:08 +0200)
2018-06-04  Sebastian Peryt  <sebastian.peryt@intel.com>

        * 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

gcc/ChangeLog
gcc/config/i386/cldemoteintrin.h
gcc/config/i386/immintrin.h
gcc/config/i386/pconfigintrin.h
gcc/config/i386/waitpkgintrin.h
gcc/config/i386/x86intrin.h

index fde65ebae1d91560f3f4114706f41065dc35b1cf..03fe3e01ca478b178bf45ad11f3eaf23ff816b81 100644 (file)
@@ -1,3 +1,16 @@
+2018-06-04  Sebastian Peryt  <sebastian.peryt@intel.com>
+
+        * 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  <rguenther@suse.de>
 
        PR tree-optimization/86038
index 1fa4c2d34d0bddff7fc3fd60b8b7c351229b41d9..a961a1ca682c39884fbd58c7784f2a58d0b99220 100644 (file)
@@ -21,8 +21,8 @@
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if !defined _X86INTRIN_H_INCLUDED
-# error "Never use <cldemoteintrin.h> directly; include <x86intrin.h> instead."
+#if !defined _IMMINTRIN_H_INCLUDED
+# error "Never use <cldemoteintrin.h> directly; include <immintrin.h> instead."
 #endif
 
 #ifndef _CLDEMOTE_H_INCLUDED
index 63c5e5963ae4596df91f692f073f7def292ce1f6..344e92c745a76d5196c42eb01c69583f1fb6a948 100644 (file)
 
 #include <movdirintrin.h>
 
+#include <sgxintrin.h>
+
+#include <pconfigintrin.h>
+
+#include <waitpkgintrin.h>
+
+#include <cldemoteintrin.h>
+
 extern __inline void
 __attribute__((__gnu_inline__, __always_inline__, __artificial__))
 _wbinvd (void)
index 1c9c35c5e2bc39b22c3397aa5af42957666e55ce..d2a3261e47075ec730efdf981d0431ceac325f62 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef _X86INTRIN_H_INCLUDED
-#error "Never use <pconfigintrin.h> directly; include <x86intrin.h> instead."
+#ifndef _IMMINTRIN_H_INCLUDED
+#error "Never use <pconfigintrin.h> directly; include <immintrin.h> instead."
 #endif
 
 #ifndef _PCONFIGINTRIN_H_INCLUDED
index 8b68091bfde720bc037bcabf3f699547d03ca1e9..4418dcd7483a0bb6c543d4d4d70e6bba1af20ca0 100644 (file)
@@ -21,8 +21,8 @@
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#if !defined _X86INTRIN_H_INCLUDED
-# error "Never use <waitpkgintrin.h> directly; include <x86intrin.h> instead."
+#if !defined _IMMINTRIN_H_INCLUDED
+# error "Never use <waitpkgintrin.h> directly; include <immintrin.h> instead."
 #endif
 
 #ifndef _WAITPKG_H_INCLUDED
index 6d67e9cebf436428f4491f90e839a5f3a87a73d8..92bdf652781a476ff928c46efdb4ff955aeea6da 100644 (file)
 
 #ifndef __iamcu__
 
-#include <mmintrin.h>
-
-#include <xmmintrin.h>
-
-#include <emmintrin.h>
-
-#include <pmmintrin.h>
-
-#include <tmmintrin.h>
-
-#include <ammintrin.h>
-
-#include <smmintrin.h>
-
-#include <wmmintrin.h>
-
 /* For including AVX instructions */
 #include <immintrin.h>
 
 
 #include <lwpintrin.h>
 
-#include <bmiintrin.h>
-
-#include <bmi2intrin.h>
-
 #include <tbmintrin.h>
 
-#include <lzcntintrin.h>
-
 #include <popcntintrin.h>
 
 #include <rdseedintrin.h>
 
 #include <xsaveoptintrin.h>
 
-#include <sgxintrin.h>
-
-#include <pconfigintrin.h>
-
 #endif /* __iamcu__ */
 
 #include <adxintrin.h>
 
 #include <pkuintrin.h>
 
-#include <waitpkgintrin.h>
-
-#include <cldemoteintrin.h>
-
 #endif /* __iamcu__ */
 
 #endif /* _X86INTRIN_H_INCLUDED */