patch: return OSR5 to buildsville
Robert Lipe
robertl@sco.com
Mon May 31 13:13:00 GMT 1999
Clever.
This approach (once the missing quote is blown into the second line
after the "=a") works just fine for me.
Either approach works. I don't have strong feelings about which road is
taken. Richard's keeps better commonality.
Thanx for the education.
RJL
Richard Henderson wrote:
> On Sun, May 30, 1999 at 10:18:18PM -0500, Robert Lipe wrote:
> > * I couldn't figure out how to hand-code the asm with a '.byte' sort of
> > opcode without confusing the optimizer.
>
> asm (".byte 0xf0, 0x0f, 0xc1, 0x02" // lock; xaddl %eax, (%edx)
> : "=a (__val)
> : "0" (-1), "m" (ref), "d" (&ref)
> : "memory");
>
> If you care.
>
>
> r~
More information about the Gcc-patches
mailing list