svn commit: r253872 - in projects/atomic64/sys: amd64/include i386/include

John Baldwin jhb at freebsd.org
Tue Aug 6 18:33:25 UTC 2013


On Thursday, August 01, 2013 7:20:32 pm Jung-uk Kim wrote:
> Author: jkim
> Date: Thu Aug  1 23:20:31 2013
> New Revision: 253872
> URL: http://svnweb.freebsd.org/changeset/base/253872
> 
> Log:
>   Allow any register to be used for the return value.

You need to clobber eax/rax then as cmpxchg always writes the current value to 
that register.

-- 
John Baldwin


More information about the svn-src-projects mailing list