> > .inline matt_cas_64,0
> >     movq    %rsi, %rax
> >     lock
> >     cmpxchgq %rdx, (%rdi)
> >     ret
> 
> If you declare this as an inline, where does the
> 'ret' go?

Doh! Thanks for pointing this out James. Works fine with the 'ret' line removed.

Matt.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[EMAIL PROTECTED]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to