__sync_val_compare_and_swap_16

Robert Lemmen robertle@semistable.com
Fri Jun 27 13:47:00 GMT 2008


On Fri, Jun 27, 2008 at 02:13:13PM +0100, Andrew Haley wrote:
> It depends on the actual processor type you're using.  Not every
> processor has a 128-bit atomic exchange.  gcc uses the -mcpu=
> switch to control the processor.

thanks a lot, that (actually -march) did the trick! I am most happy in
the land of lockfreeness now!

cu  robert

-- 
Robert Lemmen                               http://www.semistable.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20080627/b99845a5/attachment-0001.sig>


More information about the Gcc-help mailing list