Lines Matching refs:g5

485 	add	%sp, 32, %g5					;\
486 stxa %l4, [%g5 + %g1]asi_num ;\
487 stxa %l5, [%g5 + %g2]asi_num ;\
488 stxa %l6, [%g5 + %g3]asi_num ;\
489 stxa %l7, [%g5 + %g4]asi_num ;\
490 add %g5, 32, %g5 ;\
491 stxa %i0, [%g5 + %g1]asi_num ;\
492 stxa %i1, [%g5 + %g2]asi_num ;\
493 stxa %i2, [%g5 + %g3]asi_num ;\
494 stxa %i3, [%g5 + %g4]asi_num ;\
495 add %g5, 32, %g5 ;\
496 stxa %i4, [%g5 + %g1]asi_num ;\
497 stxa %i5, [%g5 + %g2]asi_num ;\
498 stxa %i6, [%g5 + %g3]asi_num ;\
499 stxa %i7, [%g5 + %g4]asi_num ;\
557 add %sp, 32, %g5 ;\
558 ldxa [%g5 + %g1]asi_num, %l4 ;\
559 ldxa [%g5 + %g2]asi_num, %l5 ;\
560 ldxa [%g5 + %g3]asi_num, %l6 ;\
561 ldxa [%g5 + %g4]asi_num, %l7 ;\
562 add %g5, 32, %g5 ;\
563 ldxa [%g5 + %g1]asi_num, %i0 ;\
564 ldxa [%g5 + %g2]asi_num, %i1 ;\
565 ldxa [%g5 + %g3]asi_num, %i2 ;\
566 ldxa [%g5 + %g4]asi_num, %i3 ;\
567 add %g5, 32, %g5 ;\
568 ldxa [%g5 + %g1]asi_num, %i4 ;\
569 ldxa [%g5 + %g2]asi_num, %i5 ;\
570 ldxa [%g5 + %g3]asi_num, %i6 ;\
571 ldxa [%g5 + %g4]asi_num, %i7 ;\
671 add %sp, 32, %g5 ;\
672 stxa %l4, [%g5 + %g1]asi_num ;\
673 stxa %l5, [%g5 + %g2]asi_num ;\
674 stxa %l6, [%g5 + %g3]asi_num ;\
675 stxa %l7, [%g5 + %g4]asi_num ;\
676 add %g5, 32, %g5 ;\
677 stxa %i0, [%g5 + %g1]asi_num ;\
678 stxa %i1, [%g5 + %g2]asi_num ;\
679 stxa %i2, [%g5 + %g3]asi_num ;\
680 stxa %i3, [%g5 + %g4]asi_num ;\
681 add %g5, 32, %g5 ;\
682 stxa %i4, [%g5 + %g1]asi_num ;\
683 stxa %i5, [%g5 + %g2]asi_num ;\
684 stxa %i6, [%g5 + %g3]asi_num ;\
685 stxa %i7, [%g5 + %g4]asi_num ;\
939 GET_1ST_TSBE_PTR(%g2, %g1, %g4, %g5) /* 11 instr */ ;\
983 GET_1ST_TSBE_PTR(%g2, %g1, %g4, %g5) /* 11 instr */ ;\
1044 stna %g5, [%g3 + TRAP_ENT_F1]%asi /* tsb data */ ;\
1401 ldn [%g1 + P_UTRAPS], %g5 ! are there utraps?
1402 brz,pt %g5, 2f
1404 ldn [%g5 + P_UTRAP15], %g5 ! unaligned utrap?
1405 brz,pn %g5, 2f
1427 ldn [%g1 + P_UTRAPS], %g5 ! are there utraps?
1428 brz,pt %g5, 1f
1430 ldn [%g5 + P_UTRAP16], %g5
1431 brnz,pt %g5, .setup_v9utrap
1437 CPU_INDEX(%g4, %g5)
1438 set cpu_core, %g5
1440 add %g4, %g5, %g4
1441 lduh [%g4 + CPUC_DTRACE_FLAGS], %g5
1442 andcc %g5, CPU_DTRACE_NOFAULT, %g0
1444 or %g5, CPU_DTRACE_BADADDR, %g5
1445 stuh %g5, [%g4 + CPUC_DTRACE_FLAGS]
1464 ldn [%g1 + P_UTRAPS], %g5 ! are there utraps?
1465 brz,a,pt %g5, 2f
1467 ldn [%g5 + P_UTRAP7], %g5 ! fp_disabled utrap?
1468 brz,a,pn %g5, 2f
1493 ldn [%g1 + P_UTRAPS], %g5 ! are there utraps?
1494 brz,a,pt %g5, 1f
1496 ldn [%g5 + P_UTRAP8], %g5
1497 brnz,a,pt %g5, .setup_v9utrap
1540 wrpr %g0, %g5, %tnpc ! trap handler address
1550 ldn [%g4 + CPU_THREAD], %g5 ! load thread pointer
1551 ldn [%g5 + T_PROCP], %g5 ! load proc pointer
1552 ldn [%g5 + P_UTRAPS], %g5 ! are there utraps?
1558 brz,pt %g5, 3f ! if p_utraps == NULL goto trap()
1565 brz,a,pt %g5, 3f ! if p_utraps == NULL goto trap()
1583 ldn [%g5 + %g2], %g5
1584 brnz,a,pt %g5, .setup_v9utrap
1637 stn %g5, [%g1 + PCB_TRACEPC] ! save trap handler addr in pcb
1646 wrpr %g0, %g5, %tnpc ! trap handler address
1689 set FSR_TEM_NX, %g5
1691 andcc %g2, %g5, %g0
1693 rdpr %tpc, %g5 ! get faulting PC
1697 lda [%g5]ASI_USER, %g6 ! get user's instruction
1821 ldx [%g7], %g5
1823 add %g5, 1, %g6
1825 casxa [%g7] ASI_N, %g5, %g6
1826 cmp %g5, %g6
1828 or %g0, %g6, %g5
1834 ldx [%g7], %g5
1836 add %g5, 1, %g6
1838 casxa [%g7] ASI_N, %g5, %g6
1839 cmp %g5, %g6
1841 or %g0, %g6, %g5
1878 sethi %hi(nwin_minus_one), %g5
1879 ld [%g5 + %lo(nwin_minus_one)], %g5 ! %g5 = nwin - 1
1882 movneg %xcc, %g5, %g6 ! if (%g6<0) %g6 = nwin-1
2049 mov %g2, %g5 ! stash sfar
2116 mov %g2, %g5
2373 TRACE_PTR(%g5, %g6)
2375 stxa %g6, [%g5 + TRAP_ENT_TICK]%asi
2376 TRACE_SAVE_TL_GL_REGS(%g5, %g6)
2378 stha %g6, [%g5 + TRAP_ENT_TT]%asi
2380 stxa %g6, [%g5 + TRAP_ENT_TSTATE]%asi
2381 stna %sp, [%g5 + TRAP_ENT_SP]%asi
2382 stna %g0, [%g5 + TRAP_ENT_TR]%asi
2384 stna %g6, [%g5 + TRAP_ENT_TPC]%asi
2387 stna %g6, [%g5 + TRAP_ENT_F1]%asi ! MMU fault address
2391 stna %g6, [%g5 + TRAP_ENT_F2]%asi
2397 stna %g6, [%g5 + TRAP_ENT_F3]%asi ! MMU context/type
2399 stna %g6, [%g5 + TRAP_ENT_F4]%asi
2400 TRACE_NEXT(%g5, %g6, %g7)
2452 rdpr %tt, %g5
2454 cmp %g5, T_ALIGNMENT
2506 GET_TRACE_TICK(%g6, %g5)
2525 TRACE_NEXT(%g3, %g4, %g5)
2531 GET_TRACE_TICK(%g6, %g5)
2550 TRACE_NEXT(%g3, %g4, %g5)
2556 GET_TRACE_TICK(%g6, %g5)
2571 TRACE_NEXT(%g3, %g4, %g5)
2593 ! Do not disturb %g5, it will be used after the trace
2614 TRACE_PTR(%g5, %g6)
2615 stna %g2, [%g5 + TRAP_ENT_SP]%asi ! tag access
2616 stna %g4, [%g5 + TRAP_ENT_F1]%asi ! XXX? tsb tag
2618 stxa %g6, [%g5 + TRAP_ENT_TICK]%asi
2620 stna %g6, [%g5 + TRAP_ENT_F2]%asi
2621 stna %g1, [%g5 + TRAP_ENT_F3]%asi ! tsb8k pointer
2623 stna %g6, [%g5 + TRAP_ENT_TPC]%asi
2624 TRACE_SAVE_TL_GL_REGS(%g5, %g6)
2627 stha %g4, [%g5 + TRAP_ENT_TT]%asi
2635 stxa %g6, [%g5 + TRAP_ENT_TSTATE]%asi ! tag target
2641 stxa %g6, [%g5 + TRAP_ENT_F4]%asi ! context ID
2642 stna %g3, [%g5 + TRAP_ENT_TR]%asi ! tsb4m pointer
2643 TRACE_NEXT(%g5, %g4, %g6)
2678 TRACE_NEXT(%g1, %g4, %g5)
2798 rdpr %tpc, %g5
2817 rdpr %tnpc, %g5
2818 wrpr %g0, %g5, %tpc
2819 add %g5, 4, %g5
2820 wrpr %g0, %g5, %tnpc