1472N/A * or visit www.oracle.com if you need additional information or have any
1879N/A#include "orderAccess_solaris_x86.inline.hpp"
1879N/A#include "runtime/atomic.hpp"
1879N/A#include "vm_version_x86.hpp"
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/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) {
1467N/A return (intptr_t)_Atomic_cmpxchg_long((jlong)exchange_value, (volatile jlong*)dest, (jlong)compare_value);
0N/Ainline void* Atomic::cmpxchg_ptr(void* exchange_value, volatile void* dest, void* compare_value) {
1467N/A return (void*)_Atomic_cmpxchg_long((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/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;