This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: ill effect of <register>+<constant>


On 21 September 2007 16:13, Andreas Schwab wrote:

> "Jan Beulich" <jbeulich@novell.com> writes:
> 
>> To me, adding a constant to a register and getting a different register is
>> all but a useful feature (maybe it is in e.g. PPC semantics where registers
>> can be represented by plain numbers). But beyond that,
> 
> That's the main feature.  Registers _are_ plain numbers.

  I can see where that's useful on pcc, but on x86, the registers aren't
equipotent; it makes no sense at all to me.

  Do you have an example which actually arises in practice where this is
useful?

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


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