Re: [PATCH] PR target/66746: Failure to compile #include with -miamcu

2015-07-08 Thread Uros Bizjak
On Wed, Jul 8, 2015 at 6:43 PM, H.J. Lu wrote: >>> x86intrin.h has useful intrinsics for instructions for IA MCU. This >>> patch adds __iamcu__ check to x86intrin.h and ia32intrin.h. >>> >>> OK for trunk? >>> >>> H.J. >>> --- >>> gcc/ >>> >>> PR target/66746 >>> * config/i386/ia3

Re: [PATCH] PR target/66746: Failure to compile #include with -miamcu

2015-07-08 Thread H.J. Lu
On Thu, Jul 2, 2015 at 11:16 PM, Uros Bizjak wrote: > On Fri, Jul 3, 2015 at 5:53 AM, H.J. Lu wrote: >> x86intrin.h has useful intrinsics for instructions for IA MCU. This >> patch adds __iamcu__ check to x86intrin.h and ia32intrin.h. >> >> OK for trunk? >> >> H.J. >> --- >> gcc/ >> >> P

Re: [PATCH] PR target/66746: Failure to compile #include with -miamcu

2015-07-02 Thread Uros Bizjak
On Fri, Jul 3, 2015 at 5:53 AM, H.J. Lu wrote: > x86intrin.h has useful intrinsics for instructions for IA MCU. This > patch adds __iamcu__ check to x86intrin.h and ia32intrin.h. > > OK for trunk? > > H.J. > --- > gcc/ > > PR target/66746 > * config/i386/ia32intrin.h (__crc32b): D

[PATCH] PR target/66746: Failure to compile #include with -miamcu

2015-07-02 Thread H.J. Lu
x86intrin.h has useful intrinsics for instructions for IA MCU. This patch adds __iamcu__ check to x86intrin.h and ia32intrin.h. OK for trunk? H.J. --- gcc/ PR target/66746 * config/i386/ia32intrin.h (__crc32b): Don't define if __iamcu__ is defined. (__crc32w): Li