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: PATCH: Check for lock without a lockable instruction


On Thu, Nov 12, 2009 at 10:54:19AM -0800, H.J. Lu wrote:
> The lock prefix is valid only on add, adc, and, btc, btr, bts, cmpxchg,
> cmpxch8b, dec, inc, neg, not, or, sbb, sub, xor, xadd and xchg with
> a memory operand.

Is this true for old processors?  My recollection is that 286 and
earlier do not care.

-- 
Alan Modra
Australia Development Lab, IBM


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