[Gc] Patch for atomic_ops GCC sparc support
ivmai at mail.ru
Wed Aug 5 09:41:31 PDT 2009
The attached patch adds CAS for sparc[v9] and fixes test_and_set for sparcv9. The original author is unknown (it comes from sf.net bdwgc Tracker/Patches), I did only some code reformatting. Neither compiled nor tested by me.
libatomic_ops ChangeLog entries:
* src/atomic_ops/sysdeps/gcc/sparc.h (AO_test_and_set_full): Use
AO_TS_VAL_t for "oldval" (for 64-bit support).
* src/atomic_ops/sysdeps/gcc/sparc.h (AO_compare_and_swap_full):
New function implemented.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1446 bytes
Desc: not available
Url : http://napali.hpl.hp.com/pipermail/gc/attachments/20090805/7333874f/diff106.obj
More information about the Gc