Lines Matching refs:a2

141     rsr     a2, INTENABLE
144 and a2, a2, a3
145 and a2, a2, a4
146 beqz a2, 9f /* nothing to do */
177 beqz a2, 9f
179 mov a6, a2
182 mov a2, a6
190 extract_msb a4, a2 /* a4 = MSB of a2, a2 trashed */
198 add a2, a4, a4 /* a2 = a4 << 1 */
199 addi a2, a2, -1 /* a2 = mask of 1's <= a4 bit */
200 and a2, a2, a3 /* a2 = mask of all bits <= a4 at this level */
203 neg a2, a2
204 addi a2, a2, -1 /* a2 = mask to apply */
205 and a5, a6, a2 /* mask off all bits <= a4 bit */
208 and a3, a3, a2 /* mask off all bits <= a4 bit */
227 l32i a2, a3, XIE_ARG /* a2 = handler arg */
229 mov a2, a12
231 mov a2, a6 /* save in windowed reg */
256 mov a2, a12
258 mov a2, a6
281 s32i a2, a3, 4 /* update _xt_vpri_mask */
282 and a4, a4, a2 /* a4 = masked intenable */
314 movi a2, SYS_log_msg
316 movi a2, SYS_gdb_abort
319 rsil a2, XCHAL_EXCM_LEVEL /* disable all low & med ints */
397 wsr a2, EXCSAVE+XCHAL_DEBUGLEVEL /* save a2 where sim expects it */
398 movi a2, SYS_gdb_enter_sktloop
598 rsr a2, EXCCAUSE /* recover exc cause */
611 beqi a2, -1, .L_xt_user_done
613 mov a6, a2
616 mov a2, a6
621 rsr a2, EXCCAUSE /* recover exc cause */
623 addx4 a4, a2, a3 /* a4 = address of exception table entry */
626 mov a2, sp /* a2 = pointer to exc frame */
691 s32i a2, sp, 8
711 rsr a2, EPC_1 /* a2 = PC of 'syscall' */
712 addi a3, a2, 3 /* ++PC */
726 l32i a2, sp, 8
734 movnez a2, a0, a2 /* return -1 if not syscall 0 */
1498 s32e a2, a5, -8 /* save a2 to call[j+1]'s stack frame */
1523 l32e a2, a5, -8 /* restore a2 from call[i+1]'s stack frame */
1546 rsr a2, PS
1547 extui a3, a2, PS_OWB_SHIFT, PS_OWB_BITS
1551 xor a2, a2, a3 /* flip changed bits in old window base */
1552 wsr a2, PS /* update PS.OWB to new window base */
1584 s32e a2, a9, -8 /* save a2 to call[j+1]'s stack frame */
1613 l32e a2, a9, -8 /* restore a2 from call[i+1]'s stack frame */
1646 s32e a2, a13, -8 /* save a2 to call[j+1]'s stack frame */
1679 l32e a2, a13, -8 /* restore a2 from call[i+1]'s stack frame */