Lines Matching defs:temp2
92 Atomic32 temp, temp2;
98 "addu %1, %0, %3\n" // temp2 = temp + increment
99 "sc %1, %2\n" // *ptr = temp2 (with atomic check)
101 "addu %1, %0, %3\n" // temp2 = temp + increment
103 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr)
106 // temp2 now holds the final value.
107 return temp2;
229 Atomic64 temp, temp2;
235 "daddu %1, %0, %3\n" // temp2 = temp + increment
236 "scd %1, %2\n" // *ptr = temp2 (with atomic check)
238 "daddu %1, %0, %3\n" // temp2 = temp + increment
240 : "=&r" (temp), "=&r" (temp2), "=m" (*ptr)
243 // temp2 now holds the final value.
244 return temp2;