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]

Preventing x86 instruction length optimizations


A recent GAS update to Debian (currently at 2.16.1cvs20050902-1)
changed the length of this instruction:

  adc 0(%ebx,%ecx,4),%edx

Previously, it was encoded as a four-octet sequence, now it's
equivalent to:

  adc (%ebx,%ecx,4),%edx

-- which only needs three octets.

Is this the intended behavior?  Is there any easy way to force the
long instruction encoding, short of using .byte?


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