Revision 107218 changed addressing mode generation

Bernd Schmidt bernds_cb1@t-online.de
Thu Mar 26 14:16:00 GMT 2009


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.


Bernd
-- 
This footer brought to you by insane German lawmakers.
Analog Devices GmbH      Wilhelm-Wagenfeld-Str. 6      80807 Muenchen
Sitz der Gesellschaft Muenchen, Registergericht Muenchen HRB 40368
Geschaeftsfuehrer Thomas Wessel, William A. Martin, Margaret Seif
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: des.ii
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090326/7a5acbab/attachment.ksh>


More information about the Gcc-patches mailing list