Home | History | Annotate | Download | only in base

Lines Matching full:increment

88 // Atomically increment *ptr by "increment".  Returns the new value of
89 // *ptr with the increment applied. This routine implies no memory barriers.
91 Atomic32 increment) {
98 "addu %1, %0, %3\n" // temp2 = temp + increment
101 "addu %1, %0, %3\n" // temp2 = temp + increment
104 : "Ir" (increment), "m" (*ptr)
111 Atomic32 increment) {
113 Atomic32 res = NoBarrier_AtomicIncrement(ptr, increment);
225 // Atomically increment *ptr by "increment". Returns the new value of
226 // *ptr with the increment applied. This routine implies no memory barriers.
228 Atomic64 increment) {
235 "daddu %1, %0, %3\n" // temp2 = temp + increment
238 "daddu %1, %0, %3\n" // temp2 = temp + increment
241 : "Ir" (increment), "m" (*ptr)
248 Atomic64 increment) {
250 Atomic64 res = NoBarrier_AtomicIncrement(ptr, increment);