Lines Matching refs:g3
122 rdpr %tt, %g3 ;\
152 mov arg, %g3 ;\
194 mov T_FLUSHW, %g3 ;\
232 rdpr %tt, %g3 ;\
335 mov 12, %g3 ;\
336 sta %l3, [%sp + %g3]asi_num ;\
341 sta %l7, [%g4 + %g3]asi_num ;\
346 sta %i3, [%g4 + %g3]asi_num ;\
351 sta %i7, [%g4 + %g3]asi_num ;\
439 mov 12, %g3 ;\
441 lda [%sp + %g3]asi_num, %l3 ;\
446 lda [%g4 + %g3]asi_num, %l7 ;\
451 lda [%g4 + %g3]asi_num, %i3 ;\
456 lda [%g4 + %g3]asi_num, %i7 ;\
538 mov 16 + V9BIAS64, %g3 ;\
539 stxa %l2, [%sp + %g3]asi_num ;\
545 stxa %l6, [%g5 + %g3]asi_num ;\
550 stxa %i2, [%g5 + %g3]asi_num ;\
555 stxa %i6, [%g5 + %g3]asi_num ;\
638 mov V9BIAS64 + 16, %g3 ;\
639 ldxa [%sp + %g3]asi_num, %l2 ;\
645 ldxa [%g5 + %g3]asi_num, %l6 ;\
650 ldxa [%g5 + %g3]asi_num, %i2 ;\
655 ldxa [%g5 + %g3]asi_num, %i6 ;\
758 mov 12, %g3 ;\
759 sta %l3, [%sp + %g3]asi_num ;\
764 sta %l7, [%g4 + %g3]asi_num ;\
769 sta %i3, [%g4 + %g3]asi_num ;\
774 sta %i7, [%g4 + %g3]asi_num ;\
787 mov 16 + V9BIAS64, %g3 ;\
788 stxa %l2, [%sp + %g3]asi_num ;\
794 stxa %l6, [%g5 + %g3]asi_num ;\
799 stxa %i2, [%g5 + %g3]asi_num ;\
804 stxa %i6, [%g5 + %g3]asi_num ;\
870 or %g0, T_UNIMP_INSTR, %g3 ;\
882 or %g0, T_TAG_OVERFLOW, %g3 ;\
894 or %g0, T_IDIV0, %g3 ;\
905 or %g0, T_SOFTWARE_TRAP, %g3 ;\
954 ldxa [MMU_SFSR]%asi, %g3 ;\
963 ldxa [MMU_SFSR]%asi, %g3 ;\
972 ldxa [MMU_SFSR]%asi, %g3 ;\
979 ldxa [MMU_SFSR]%asi, %g3 ;\
991 ldxa [MMU_SFSR]%asi, %g3 ;\
1000 ldxa [MMU_SFSR]%asi, %g3 ;\
1022 and %g2, %g4, %g3 /* g3 = ctx */ ;\
1025 cmp %g3, %g6 ;\
1031 cmp %g3, %g6 ;\
1065 sllx %g2, TAGACC_CTX_LSHIFT, %g3 ;\
1066 srlx %g3, TAGACC_CTX_LSHIFT, %g3 /* g3 = ctx */ ;\
1067 cmp %g3, INVALID_CONTEXT ;\
1102 sllx %g2, TAGACC_CTX_LSHIFT, %g3 ;\
1103 srlx %g3, TAGACC_CTX_LSHIFT, %g3 /* g3 = ctx */ ;\
1104 cmp %g3, INVALID_CONTEXT ;\
1112 mov -1, %g3 /* set 4M tsbe ptr to -1 */ ;\
1158 sllx %g2, TAGACC_CTX_LSHIFT, %g3 ;\
1159 srlx %g3, TAGACC_CTX_LSHIFT, %g3 /* g3 = ctx */ ;\
1160 cmp %g3, INVALID_CONTEXT ;\
1195 sllx %g2, TAGACC_CTX_LSHIFT, %g3 ;\
1196 srlx %g3, TAGACC_CTX_LSHIFT, %g3 /* g3 = ctx */ ;\
1197 cmp %g3, INVALID_CONTEXT ;\
1205 mov -1, %g3 /* set 4M TSB ptr to -1 */ ;\
1245 brnz,pt %g3, sfmmu_uprot_trap /* user trap */ ;\
1282 TRACE_PTR(%g3, %g6) ;\
1284 stxa %g6, [%g3 + TRAP_ENT_TICK]%asi ;\
1285 stxa %g2, [%g3 + TRAP_ENT_SP]%asi /* tag access */ ;\
1286 stxa %g5, [%g3 + TRAP_ENT_F1]%asi /* tsb data */ ;\
1288 stxa %g6, [%g3 + TRAP_ENT_F2]%asi ;\
1289 stxa %g1, [%g3 + TRAP_ENT_F3]%asi /* tsb pointer */ ;\
1290 stxa %g0, [%g3 + TRAP_ENT_F4]%asi ;\
1292 stxa %g6, [%g3 + TRAP_ENT_TPC]%asi ;\
1294 stha %g6, [%g3 + TRAP_ENT_TL]%asi ;\
1297 stha %g6, [%g3 + TRAP_ENT_TT]%asi ;\
1302 stxa %g1, [%g3 + TRAP_ENT_TSTATE]%asi /* tsb tag */ ;\
1303 stxa %g0, [%g3 + TRAP_ENT_TR]%asi ;\
1304 TRACE_NEXT(%g3, %g4, %g6)
1585 mov T_INSTR_MMU_MISS, %g3 ! arg2 = traptype
1651 andcc %g3, %g4, %g0 ! bit for something else which
1666 sllx %g3, 32, %g3
1667 or %g3, %g1, %g3
1739 mov T_FLUSH_PCB, %g3 ! through sys_trap on
1782 cmp %g3, T_SOFTWARE_TRAP
1787 rdpr %tt, %g3 ! delay - get actual hw trap type
1789 sub %g3, 254, %g1 ! UT_TRAP_INSTRUCTION_16 = p_utraps[18]
1796 cmp %g3, T_UNIMP_INSTR
1826 mov T_FLUSH_PCB, %g3 ! through sys_trap on
2088 mov T_FLUSH_PCB, %g3
2358 ld [%g7 + %lo(fpu_exists)], %g3
2359 brz,a,pn %g3, 4f
2416 mov %l0, %g1 ; mov %l1, %g2 ; mov %l2, %g3 ; mov %l4, %g4
2418 mov %g4, %l4 ; mov %g3, %l2 ; mov %g2, %l1 ; mov %g1, %l0
2427 mov %l0, %g1 ; mov %l1, %g2 ; mov %l2, %g3 ; mov %l4, %g4
2429 mov %g4, %l4 ; mov %g3, %l2 ; mov %g2, %l1 ; mov %g1, %l0
2438 rdpr %tstate, %g3 ! get tstate
2439 srlx %g3, PSR_TSTATE_CC_SHIFT, %o0 ! shift ccr to V8 psr
2460 set PSR_ICC, %g3
2461 and %g2, %g3, %g2 ! mask out rest
2463 rdpr %tstate, %g3 ! get tstate
2464 srl %g3, 0, %g3 ! clear upper word
2465 or %g3, %g2, %g3 ! or in new bits
2466 wrpr %g3, %tstate
2505 or %g0, CCR_ICC, %g3
2506 sllx %g3, TSTATE_CCR_SHIFT, %g2
2511 sllx %g2, PSR_TSTATE_CC_SHIFT, %g3 ! shift to tstate.ccr.icc
2512 wrpr %g1, %g3, %tstate ! write tstate
2521 ldn [%g2 + T_LWP], %g3 ! load klwp pointer
2522 ldn [%g3 + LWP_FPU], %g2 ! get lwp_fpu pointer
2661 mov %g5, %g3
2769 srlx %g1, CTXREG_NEXT_SHIFT, %g3
2770 brz,pt %g3, 3f ! nucleus pgsz is 0, no problem
2771 sllx %g3, CTXREG_NEXT_SHIFT, %g3
2775 clr %g3 ! kernel: PCONTEXT=0
2776 xor %g3, %g1, %g3 ! user: clr N_pgsz0/1 bits
2782 stxa %g3, [%g1]ASI_DMMU
2800 TRACE_PTR(%g3, %g6)
2802 stxa %g6, [%g3 + TRAP_ENT_TICK]%asi
2804 stha %g6, [%g3 + TRAP_ENT_TL]%asi
2806 stha %g6, [%g3 + TRAP_ENT_TT]%asi
2808 stxa %g6, [%g3 + TRAP_ENT_TSTATE]%asi
2809 stna %sp, [%g3 + TRAP_ENT_SP]%asi
2811 stna %g6, [%g3 + TRAP_ENT_TPC]%asi
2812 TRACE_NEXT(%g3, %g4, %g5)
2877 stxa %g3, [%g5 + TRAP_ENT_TR]%asi ! tsb4m pointer
3014 ldn [%g2 + CPU_THREAD], %g3 /* load thread pointer */ ;\
3015 ldn [%g3 + T_PROCP], %g3 /* get proc pointer */ ;\
3016 ldn [%g3 + P_BRAND], %g3 /* get brand pointer */ ;\
3017 brz %g3, 1f /* No brand? No callback. */ ;\
3019 ldn [%g3 + B_MACHOPS], %g3 /* get machops list */ ;\
3020 ldn [%g3 + (callback_id << 3)], %g3 ;\
3021 brz %g3, 1f ;\
3034 jmp %g3 ;\