Revision 107218 changed addressing mode generation
Richard Guenther
richard.guenther@gmail.com
Thu Mar 26 14:23:00 GMT 2009
2009/3/26 Bernd Schmidt <bernds_cb1@t-online.de>:
> Richard Guenther wrote:
>>
>> I'm bootstrapping/testing this change, so can you just check it helps
>> your case?
>
> As expected from the description, it doesn't.
>
> I'm attaching a reduced version of the testcase. Compile with
>
> cc1plus des.ii -O2 -fomit-frame-pointer -fpreprocessed -quiet
>
> on bfin-elf. With the current compiler you should see a lot of constants
> being loaded at the top of the loop, while with the patch I sent it should
> instead use offset addressing modes.
For x86_64 and i?86 the testcase produces exactly the same IL and asm
with/without your patch. I'm now building a bfin-elf cross.
Richard.
More information about the Gcc-patches
mailing list