[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gas and prefix's on x86
From: |
Alan Modra |
Subject: |
Re: gas and prefix's on x86 |
Date: |
Fri, 26 Apr 2002 12:42:37 +0930 |
User-agent: |
Mutt/1.3.25i |
On Thu, Apr 25, 2002 at 11:46:14AM -0700, Andrew Macleod wrote:
> >>
> >> Andrew Macleod <address@hidden> 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