Lines Matching refs:new_value
45 // *ptr = new_value;
48 // I.e., replace "*ptr" with "new_value" if "*ptr" used to be "old_value".
54 Atomic32 new_value) {
61 "move %2, %4\n" // tmp = new_value
68 : "Ir" (old_value), "r" (new_value), "m" (*ptr)
73 // Atomically store new_value into *ptr, returning the previous value held in
76 Atomic32 new_value) {
82 "move %0, %3\n" // temp = new_value
88 : "r" (new_value), "m" (*ptr)
132 Atomic32 new_value) {
134 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value);
141 Atomic32 new_value) {
143 Atomic32 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value);
186 Atomic64 new_value) {
193 "move %2, %4\n" // tmp = new_value
200 : "Ir" (old_value), "r" (new_value), "m" (*ptr)
205 // Atomically store new_value into *ptr, returning the previous value held in
208 Atomic64 new_value) {
214 "move %0, %3\n" // temp = new_value
220 : "r" (new_value), "m" (*ptr)
264 Atomic64 new_value) {
265 Atomic64 res = NoBarrier_CompareAndSwap(ptr, old_value, new_value);
272 Atomic64 new_value) {
274 return NoBarrier_CompareAndSwap(ptr, old_value, new_value);