On Mon, Jul 6, 2015 at 8:13 AM, Uros Bizjak <ubiz...@gmail.com> wrote:
> On Mon, Jul 6, 2015 at 3:28 PM, H.J. Lu <hjl.to...@gmail.com> 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=pentium with updated cost tables.
>>
>> OK for trunk?
>>
>> Thanks.
>>
>>
>> H.J.
>> --
>> gcc/
>>
>>         PR target/66749
>>         * config/i386/i386.c (iamcu_cost): New.
>>         (m_IAMCU): Likewise.
>>         (initial_ix86_arch_features): Disable X86_ARCH_CMOV for m_IAMCU.
>>         (processor_target_table): Add an entry for "iamcu".
>>         (processor_alias_table): Likewise.
>>         (ix86_issue_rate): Handle PROCESSOR_IAMCU.
>>         (ix86_adjust_cost): Likewise.
>>         (ia32_multipass_dfa_lookahead): Likewise.
>>         * config/i386/i386.h (processor_type): Add PROCESSOR_IAMCU.
>>         * config/i386/x86-tune.def: Updated for m_IAMCU.
>>
>> gcc/testsuite/
>>
>>         PR target/66749
>>         * gcc.target/i386/pr66749.c: New test.
>
> I assume there will be separate patch for configure bits that will set
> -march=iamcu for i[34567]86-*-elfiamcu target.

That is correct.

> This part is OK.
>

Thanks.

-- 
H.J.

Reply via email to