Lines Matching refs:a0

77 	s32i	a0, a2, PT_AREG0	# save a0 to ESF
78 rsr a0, exccause # retrieve exception cause
79 s32i a0, a2, PT_DEPC # mark it as a regular exception
80 addx4 a0, a0, a3 # find entry in table
81 l32i a0, a0, EXC_TABLE_FAST_USER # load handler
83 jx a0
104 s32i a0, a2, PT_AREG0 # save a0 to ESF
105 rsr a0, exccause # retrieve exception cause
106 s32i a0, a2, PT_DEPC # mark it as a regular exception
107 addx4 a0, a0, a3 # find entry in table
108 l32i a0, a0, EXC_TABLE_FAST_KERNEL # load handler address
110 jx a0
227 xsr a0, depc # get DEPC, save a0
231 _bltu a0, a2, .Lfixup
233 _bgeu a0, a2, .Lfixup
241 bbci.l a0, 6, _DoubleExceptionVector_WindowOverflow
262 rsr a0, ps
263 extui a0, a0, PS_OWB_SHIFT, PS_OWB_WIDTH
264 wsr a0, windowbase
270 s32i a0, a2, PT_AREG0
272 rsr a0, exccause
273 s32i a0, a2, PT_DEPC # mark it as a regular exception
274 addx4 a0, a0, a3
276 l32i a0, a0, EXC_TABLE_FAST_USER
277 jx a0
309 xsr a0, depc
313 wsr a0, excsave1
338 s32i a0, a2, PT_DEPC
339 l32i a0, a3, EXC_TABLE_DOUBLE_SAVE
340 xsr a0, depc
341 s32i a0, a2, PT_AREG0
345 rsr a0, exccause
346 addx4 a0, a0, a3
348 l32i a0, a0, EXC_TABLE_FAST_USER
349 jx a0
382 extui a2, a0, 0, 6 # get offset into 64-byte vector handler
400 bbsi.l a0, 7, 2f
406 l32e a0, a9, -16
407 wsr a0, depc # replace the saved a0
415 l32e a0, a13, -16
416 wsr a0, depc # replace the saved a0
419 movi a0, 0
420 s32i a0, a3, EXC_TABLE_FIXUP
432 rsr a0, ps
433 extui a0, a0, PS_OWB_SHIFT, PS_OWB_WIDTH
435 sub a0, a2, a0
436 extui a0, a0, 0, 3
440 beqi a0, 1, .L1pane
441 beqi a0, 3, .L3pane
443 rsr a0, depc
458 s32i a0, a2, PT_AREG0
459 rsr a0, exccause
461 s32i a0, a2, PT_DEPC
464 addi a0, a0, -EXCCAUSE_UNALIGNED
465 beqz a0, 2f
466 addx4 a0, a0, a3
467 l32i a0, a0, EXC_TABLE_FAST_USER + 4 * EXCCAUSE_UNALIGNED
469 jx a0
471 movi a0, user_exception
473 jx a0
476 rsr a0, depc
481 rsr a0, depc
522 rsr a0, ps
523 extui a0, a0, PS_OWB_SHIFT, PS_OWB_WIDTH
525 sub a0, a2, a0
526 extui a0, a0, 0, 3
530 _beqi a0, 1, .Lhandle_1
531 _beqi a0, 3, .Lhandle_3
535 rsr a0, depc
541 s32i a0, a2, PT_AREG0
543 movi a0, .Lrestore_\n
544 s32i a0, a2, PT_DEPC
545 rsr a0, exccause
571 bbsi.l a0, 7, 1f
572 l32e a0, a9, -16
575 l32e a0, a13, -16
616 s32i a0, a3, DT_DEBUG_SAVE
617 l32i a0, a3, DT_DEBUG_EXCEPTION
618 jx a0
642 wsr a0, excsave2
643 rsr a0, epc\level
644 wsr a0, epc1
646 movi a0, EXCCAUSE_LEVEL1_INTERRUPT
648 movi a0, EXCCAUSE_MAPPED_NMI
650 wsr a0, exccause
651 rsr a0, eps\level
672 addi a0, a0, (1 << PS_EXCM_BIT)
674 wsr a0, ps
676 bbsi.l a0, PS_UM_BIT, 1f # branch if user mode
677 xsr a0, excsave2 # restore a0
679 1: xsr a0, excsave2 # restore a0
707 s32e a0, a5, -16
719 l32e a0, a5, -16
731 s32e a0, a9, -16
732 l32e a0, a1, -12
736 s32e a4, a0, -32
737 s32e a5, a0, -28
738 s32e a6, a0, -24
739 s32e a7, a0, -20
749 l32e a0, a9, -16
765 s32e a0, a13, -16
766 l32e a0, a1, -12
770 s32e a4, a0, -48
771 s32e a5, a0, -44
772 s32e a6, a0, -40
773 s32e a7, a0, -36
774 s32e a8, a0, -32
775 s32e a9, a0, -28
776 s32e a10, a0, -24
777 s32e a11, a0, -20
787 l32e a0, a13, -16