atomic_solaris_x86.inline.hpp revision 894
0N/Ainline void Atomic::store_ptr(intptr_t store_value, volatile intptr_t* dest) { *dest = store_value; }
0N/Ainline void Atomic::store_ptr(void* store_value, volatile void* dest) { *(void* volatile *)dest = store_value; }
0N/Aextern "C" jint _Atomic_cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value, int mp);
0N/Aextern "C" jlong _Atomic_cmpxchg_long(jlong exchange_value, volatile jlong* dest, jlong compare_value, int mp);
0N/Ainline jlong Atomic::cmpxchg (jlong exchange_value, volatile jlong* dest, jlong compare_value) {
0N/Ainline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) {
0N/A return (intptr_t)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value, (int) os::is_MP());
0N/Ainline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) {
0N/A return (void*)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value, (int) os::is_MP());
0N/Ainline intptr_t Atomic::cmpxchg_ptr(intptr_t exchange_value, volatile intptr_t* dest, intptr_t compare_value) {
0N/Ainline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) {
0N/A#ifdef _GNU_SOURCE
0N/A return exchange_value;
0N/A return exchange_value;
0N/A inline jint _Atomic_cmpxchg(jint exchange_value, volatile jint* dest, jint compare_value, int mp) {
0N/A return exchange_value;
0N/A // This is the interface to the atomic instruction in solaris_i486.s.
0N/A jlong _Atomic_cmpxchg_long_gcc(jlong exchange_value, volatile jlong* dest, jlong compare_value, int mp);
0N/A inline jlong _Atomic_cmpxchg_long(jlong exchange_value, volatile jlong* dest, jlong compare_value, int mp) {
0N/A return exchange_value;