ill effect of <register>+<constant>

Dave Korn dave.korn@artimi.com
Fri Sep 21 18:21:00 GMT 2007


On 21 September 2007 18:31, Andreas Schwab wrote:

> "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?
> 
> There are many more architectures besides ppc and x86.  Almost all of
> them have numbered registers.

  Are you deliberately missing the point on purpose for rhetorical purposes?
I'm not suggesting it makes no sense for any architecture *except* x86.  I
hope that is clearer.  It certainly does make sense for anything with a big
set of idempotent numbered registers.

  But really, please: what's the use of being able to turn (for example) cx
into edi by adding a number to it?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Binutils mailing list