public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: base + index register addressing
@ 1997-10-17 12:53 meissner
  1997-10-17 13:57 ` Jeffrey A Law
  0 siblings, 1 reply; 12+ messages in thread
From: meissner @ 1997-10-17 12:53 UTC (permalink / raw)
  To: law, michaelh; +Cc: egcs, gcc2

| 
|   In message <199710170919.WAA23619@ongaonga.chch.cri.nz>you write:
|   > 
|   > Here's a patch that I've found that improves register allocation
|   > where the memory address is the sum of two registers.
| Don't forgot those ChangeLog entries!
| 
| I've installed this patch into egcs.

I was going to comment that the patch might be even better, if it dealt with
register + scaled register that some machines have (such as the x86, ns32k, 88k
to name the ones I've dealt with).

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: base + index register addressing
@ 1997-10-17 12:53 meissner
  1997-10-17 13:57 ` Jeffrey A Law
  0 siblings, 1 reply; 12+ messages in thread
From: meissner @ 1997-10-17 12:53 UTC (permalink / raw)
  To: law, meissner; +Cc: egcs, gcc2, michaelh

| It's worth noting that patch only helps when the base/index is a hard reg,
| which limits its usefulness on most of our platforms.  It's unclear if
| the benefit for handling scaled register would outweigh the work involved.

Consider when the base register is the stack/frame/argument pointer.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1997-10-21  9:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199710170919.WAA23619@ongaonga.chch.cri.nz>
1997-10-17 13:57 ` base + index register addressing Jeffrey A Law
1997-10-17 12:53 meissner
1997-10-17 13:57 ` Jeffrey A Law
1997-10-17 20:51   ` Michael P. Hayes
1997-10-17 21:40     ` Jeffrey A Law
1997-10-20  9:43       ` Nick Ing-Simmons
1997-10-20 18:12         ` Joern Rennecke
1997-10-21  8:49           ` Nick Ing-Simmons
1997-10-21  9:25         ` John Carr
  -- strict thread matches above, loose matches on Subject: below --
1997-10-17 12:53 meissner
1997-10-17 13:57 ` Jeffrey A Law
1997-10-17 20:51   ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).