This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [avr] try to avoid pessimal sequence of X-relative stores
- From: Andy H <hutchinsonandy at aim dot com>
- To: pb at reciva dot com, gcc-patches at gcc dot gnu dot org, Anatoly Sokolov <aesok at post dot ru>, "Weddington, Eric" <eweddington at cso dot atmel dot com>
- Date: Sat, 12 Sep 2009 22:30:52 -0400
- Subject: RE: [avr] try to avoid pessimal sequence of X-relative stores
This looks like a good idea
Ideally this should be done in RTL. But I'll support the change if it
passes the tests ok.
There is a similar issue with Z and Y - these allow small offsets but
you can end up with similar situation when they skip back and forth over
a larger structure. Could not this same code do the same for them?
I think LEGITIMIZE_RELOAD_ADDRESS is supposed to deal with this more
elegantly but it does not.
Andy