This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Revision 107218 changed addressing mode generation


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]