Lines Matching defs:reg
121 * For early Exception/ISR Prologue, a core reg is temporarily needed to
125 * Before saving the full regfile - this reg is restored back, only
128 .macro PROLOG_FREEUP_REG reg, mem
130 sr \reg, [ARC_REG_SCRATCH_DATA0]
132 st \reg, [\mem]
136 .macro PROLOG_RESTORE_REG reg, mem
138 lr \reg, [ARC_REG_SCRATCH_DATA0]
140 ld \reg, [\mem]
153 /* Need at least 1 reg to code the early exception prologue */
163 /* Treat r25 as scratch reg (save on stack) and load with "current" */
199 * It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
241 /* Treat r25 as scratch reg (save on stack) and load with "current" */
273 * It is recommended that lp_count/ilink1/ilink2 not be used as a dest reg
301 .macro GET_CURR_THR_INFO_FROM_SP reg
302 bic \reg, sp, (THREAD_SIZE - 1)
306 .macro GET_CPU_ID reg
307 lr \reg, [identity]
308 lsr \reg, \reg, 8
309 bmsk \reg, \reg, 7