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: [PATCH] PR target/19597: Rewrite AVR backend's rtx_costs (take3)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Sayle wrote:

| 2005-01-30 Roger Sayle <roger@eyesopen.com>
| | PR target/19597
| * config/avr/avr.c (default_rtx_costs): Delete.
| (avr_operand_rtx_cost): New function.
| (avr_rtx_costs): Completely rewrite.


With my real-world applications, I now see an overall code-size
improvement with your patch applied:

~   text    data     bss     dec     hex filename
~  18588     550     692   19830    4d76 images-patched/dspmaster.elf
~  18662     550     692   19904    4dc0 images-unpatched/dspmaster.elf

~   text    data     bss     dec     hex filename
~   7934     138     401    8473    2119 images-patched/dspslave.elf
~   8030     138     401    8569    2179 images-unpatched/dspslave.elf

~   text    data     bss     dec     hex filename
~  59758    1796    1562   63116    f68c images-patched/kfront.elf
~  60488    1832    1562   63882    f98a images-unpatched/kfront.elf

~   text    data     bss     dec     hex filename
~  36174     900    1713   38787    9783 images-patched/kcntrl.elf
~  36344     900    1713   38957    982d images-unpatched/kcntrl.elf


At this time I couldn't flash any of my targets to make sure the generated code still runs correctly...

- -- ~ // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFB/YYlltU4TfxqZsoRAgtOAKCRBY/pHw0czQ7K5oItpVeZzQJYJQCgp86W
MCMlqoHxBVVvtgWMbLOIn58=
=IBpT
-----END PGP SIGNATURE-----


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