This is the mail archive of the binutils@sources.redhat.com 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: gas and prefix's on x86


On Thu, Apr 25, 2002 at 11:46:14AM -0700, Andrew Macleod wrote:
> >> 
> >> Andrew Macleod <amacleod@cygnus.com> writes:
> >> 
> >> > However, we can't issue that from the asm statement in 
> >> > the conmpiler.
> >> 
> >> Can you do
> >>      lock; incw [eax]x;
> 
> No, same results:
> 
> t1.cpp:110: expected instruction opcode

Use "lock/incw [eax]x" on linux, *bsd, i386aix.
"lock\incw [eax]x" on others.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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