diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-08 20:01:36 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-07-08 20:01:36 +0000 |
commit | 81a13bd55ce60ba410d6f73a4b0a87e84df8d7f3 (patch) | |
tree | 3d2c2c191ece2fd39e7972f402565da860271d36 /gcc/config/i386 | |
parent | 04d7d3e8f50c61bb0e90684b73b756450a9ee3e1 (diff) | |
download | gcc-81a13bd55ce60ba410d6f73a4b0a87e84df8d7f3.tar.gz |
Allow <adxintrin.h> for IA MCU
It is OK to include <adxintrin.h> for IA MCU since GCC can generate ADX
intrinsics with alternative instuctions if ADX isn't enabled.
PR target/66746
* config/i386/x86intrin.h: Include <adxintrin.h> even if
__iamcu__ is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@225580 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/x86intrin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/i386/x86intrin.h b/gcc/config/i386/x86intrin.h index be0a1a14a08..3ff571d24f4 100644 --- a/gcc/config/i386/x86intrin.h +++ b/gcc/config/i386/x86intrin.h @@ -75,8 +75,12 @@ #include <xsaveoptintrin.h> +#endif /* __iamcu__ */ + #include <adxintrin.h> +#ifndef __iamcu__ + #include <clwbintrin.h> #include <pcommitintrin.h> |