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
This commit is contained in:
Sebastian Peryt 2018-06-04 13:08:40 +02:00 committed by Sebastian Peryt
parent 7438668070
commit 5a6e3d7925
6 changed files with 27 additions and 36 deletions

View 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

View 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

View File

@ -112,6 +112,14 @@
#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)

View 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

View 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

View File

@ -28,22 +28,6 @@
#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>
@ -55,14 +39,8 @@
#include <lwpintrin.h>
#include <bmiintrin.h>
#include <bmi2intrin.h>
#include <tbmintrin.h>
#include <lzcntintrin.h>
#include <popcntintrin.h>
#include <rdseedintrin.h>
@ -75,10 +53,6 @@
#include <xsaveoptintrin.h>
#include <sgxintrin.h>
#include <pconfigintrin.h>
#endif /* __iamcu__ */
#include <adxintrin.h>
@ -101,10 +75,6 @@
#include <pkuintrin.h>
#include <waitpkgintrin.h>
#include <cldemoteintrin.h>
#endif /* __iamcu__ */
#endif /* _X86INTRIN_H_INCLUDED */