Commit 5a6e3d79 by Sebastian Peryt Committed by Sebastian Peryt

cldemoteintrin.h: Change define from _X86INTRIN_H_INCLUDED to _IMMINTRIN_H_INCLUDED.

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
parent 74386680
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> 2018-06-04 Richard Biener <rguenther@suse.de>
PR tree-optimization/86038 PR tree-optimization/86038
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#if !defined _X86INTRIN_H_INCLUDED #if !defined _IMMINTRIN_H_INCLUDED
# error "Never use <cldemoteintrin.h> directly; include <x86intrin.h> instead." # error "Never use <cldemoteintrin.h> directly; include <immintrin.h> instead."
#endif #endif
#ifndef _CLDEMOTE_H_INCLUDED #ifndef _CLDEMOTE_H_INCLUDED
......
...@@ -112,6 +112,14 @@ ...@@ -112,6 +112,14 @@
#include <movdirintrin.h> #include <movdirintrin.h>
#include <sgxintrin.h>
#include <pconfigintrin.h>
#include <waitpkgintrin.h>
#include <cldemoteintrin.h>
extern __inline void extern __inline void
__attribute__((__gnu_inline__, __always_inline__, __artificial__)) __attribute__((__gnu_inline__, __always_inline__, __artificial__))
_wbinvd (void) _wbinvd (void)
......
#ifndef _X86INTRIN_H_INCLUDED #ifndef _IMMINTRIN_H_INCLUDED
#error "Never use <pconfigintrin.h> directly; include <x86intrin.h> instead." #error "Never use <pconfigintrin.h> directly; include <immintrin.h> instead."
#endif #endif
#ifndef _PCONFIGINTRIN_H_INCLUDED #ifndef _PCONFIGINTRIN_H_INCLUDED
......
...@@ -21,8 +21,8 @@ ...@@ -21,8 +21,8 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */ <http://www.gnu.org/licenses/>. */
#if !defined _X86INTRIN_H_INCLUDED #if !defined _IMMINTRIN_H_INCLUDED
# error "Never use <waitpkgintrin.h> directly; include <x86intrin.h> instead." # error "Never use <waitpkgintrin.h> directly; include <immintrin.h> instead."
#endif #endif
#ifndef _WAITPKG_H_INCLUDED #ifndef _WAITPKG_H_INCLUDED
......
...@@ -28,22 +28,6 @@ ...@@ -28,22 +28,6 @@
#ifndef __iamcu__ #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 */ /* For including AVX instructions */
#include <immintrin.h> #include <immintrin.h>
...@@ -55,14 +39,8 @@ ...@@ -55,14 +39,8 @@
#include <lwpintrin.h> #include <lwpintrin.h>
#include <bmiintrin.h>
#include <bmi2intrin.h>
#include <tbmintrin.h> #include <tbmintrin.h>
#include <lzcntintrin.h>
#include <popcntintrin.h> #include <popcntintrin.h>
#include <rdseedintrin.h> #include <rdseedintrin.h>
...@@ -75,10 +53,6 @@ ...@@ -75,10 +53,6 @@
#include <xsaveoptintrin.h> #include <xsaveoptintrin.h>
#include <sgxintrin.h>
#include <pconfigintrin.h>
#endif /* __iamcu__ */ #endif /* __iamcu__ */
#include <adxintrin.h> #include <adxintrin.h>
...@@ -101,10 +75,6 @@ ...@@ -101,10 +75,6 @@
#include <pkuintrin.h> #include <pkuintrin.h>
#include <waitpkgintrin.h>
#include <cldemoteintrin.h>
#endif /* __iamcu__ */ #endif /* __iamcu__ */
#endif /* _X86INTRIN_H_INCLUDED */ #endif /* _X86INTRIN_H_INCLUDED */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment