Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread Uros Bizjak
On Mon, Jul 6, 2015 at 7:03 PM, H.J. Lu wrote: > On Mon, Jul 6, 2015 at 9:58 AM, Dominique d'Humières > wrote: >> This breaks bootstrap on x86_64-apple-darwin14: >> >> ../../work/gcc/config/i386/i386-c.c: In function 'void >> ix86_target_macros_internal(long long int, processor_type, processor_

Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread H.J. Lu
On Mon, Jul 6, 2015 at 9:58 AM, Dominique d'Humières wrote: > This breaks bootstrap on x86_64-apple-darwin14: > > ../../work/gcc/config/i386/i386-c.c: In function 'void > ix86_target_macros_internal(long long int, processor_type, processor_type, > fpmath_unit, void (*)(cpp_reader*, const > char

Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread Dominique d'Humières
This breaks bootstrap on x86_64-apple-darwin14: ../../work/gcc/config/i386/i386-c.c: In function 'void ix86_target_macros_internal(long long int, processor_type, processor_type, fpmath_unit, void (*)(cpp_reader*, const char*))':../../work/gcc/config/i386/i386-c.c:59:10: error: enumeration value

Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread H.J. Lu
On Mon, Jul 6, 2015 at 8:13 AM, Uros Bizjak wrote: > On Mon, Jul 6, 2015 at 3:28 PM, H.J. Lu wrote: >> IA MCU is based on Intel Pentium ISA without x87 and passing parameters >> in registers. We want to optimize for IA MCU without changing existing >> Pentium codegen. This patch adds PROCESSOR_

Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread Uros Bizjak
On Mon, Jul 6, 2015 at 3:28 PM, H.J. Lu wrote: > IA MCU is based on Intel Pentium ISA without x87 and passing parameters > in registers. We want to optimize for IA MCU without changing existing > Pentium codegen. This patch adds PROCESSOR_IAMCU for -march=iamcu, > which is based on -march=pentiu

[PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU

2015-07-06 Thread H.J. Lu
IA MCU is based on Intel Pentium ISA without x87 and passing parameters in registers. We want to optimize for IA MCU without changing existing Pentium codegen. This patch adds PROCESSOR_IAMCU for -march=iamcu, which is based on -march=pentium with updated cost tables. OK for trunk? Thanks. H.