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.

From-SVN: r225580
This commit is contained in:
H.J. Lu 2015-07-08 20:01:36 +00:00 committed by H.J. Lu
parent 7ad46e1912
commit a2eaa47719
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2015-07-08 H.J. Lu <hongjiu.lu@intel.com>
PR target/66746
* config/i386/x86intrin.h: Include <adxintrin.h> even if
__iamcu__ is defined.
2015-07-08 Uros Bizjak <ubizjak@gmail.com>
* config/i386/predicates.md (general_reg_operand): Use GENERAL_REGNO_P.

View File

@ -75,8 +75,12 @@
#include <xsaveoptintrin.h>
#endif /* __iamcu__ */
#include <adxintrin.h>
#ifndef __iamcu__
#include <clwbintrin.h>
#include <pcommitintrin.h>