ill effect of <register>+<constant>

Andreas Schwab schwab@suse.de
Sat Sep 22 12:27:00 GMT 2007


Paul Koning <pkoning@equallogic.com> writes:

>>>>>> "Andreas" == Andreas Schwab <schwab@suse.de> writes:
>
>  Andreas> "Dave Korn" <dave.korn@artimi.com> writes:
>  >> I don't see how removing an unused and non-useful feature would
>  >> really count as "crippling".  I'm not suggesting it should be
>  >> disabled for ppc, but for x86, really .... what could conceivably
>  >> be the use?
>
>  Andreas> There are many more architectures besides ppc and x86.
>  Andreas> Almost all of them have numbered registers.
>
> Sure.  The question is: on how many of those do good programmers ever
> do register number arithmetic?
>
> I know of none.  I would not want to work with a programmer who did
> such a thing.

What's wrong with using the registers as a (small) array?

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Binutils mailing list