Lines Matching refs:g6

1036 	ldxa	[%g5]ASI_DMMU, %g6		/* g6 = primary ctx */	;\
1037 and %g6, %g4, %g6 /* &= CTXREG_CTX_MASK */ ;\
1038 cmp %g3, %g6 ;\
1042 ldxa [%g5]ASI_DMMU, %g6 /* g6 = secondary ctx */ ;\
1043 and %g6, %g4, %g6 /* &= CTXREG_CTX_MASK */ ;\
1044 cmp %g3, %g6 ;\
1075 mov MMU_TAG_ACCESS, %g6 /* select tag acc */ ;\
1077 ldxa [%g6]ASI_DMMU, %g2 /* g2 = tag access */ ;\
1082 srax %g2, PREDISM_BASESHIFT, %g6 /* g6 > 0 ISM predicted */ ;\
1083 brgz,pn %g6, sfmmu_udtlb_slowpath_ismpred ;\
1112 mov MMU_TAG_ACCESS, %g6 /* select tag acc */ ;\
1114 ldxa [%g6]ASI_DMMU, %g2 /* g2 = tag access */ ;\
1168 mov MMU_TAG_ACCESS, %g6 /* select tag acc */ ;\
1170 ldxa [%g6]ASI_IMMU, %g2 /* g2 = tag access */ ;\
1205 mov MMU_TAG_ACCESS, %g6 /* select tag acc */ ;\
1207 ldxa [%g6]ASI_IMMU, %g2 /* g2 = tag access */ ;\
1256 /* clobbers g1 and g6 */ ;\
1286 * g6 = scratch (clobbered)
1293 sethi %hi(FLUSH_ADDR), %g6 ;\
1294 flush %g6 ;\
1295 TRACE_PTR(%g3, %g6) ;\
1296 GET_TRACE_TICK(%g6, %g4) ;\
1297 stxa %g6, [%g3 + TRAP_ENT_TICK]%asi ;\
1300 rdpr %tnpc, %g6 ;\
1301 stxa %g6, [%g3 + TRAP_ENT_F2]%asi ;\
1304 rdpr %tpc, %g6 ;\
1305 stxa %g6, [%g3 + TRAP_ENT_TPC]%asi ;\
1306 rdpr %tl, %g6 ;\
1307 stha %g6, [%g3 + TRAP_ENT_TL]%asi ;\
1308 rdpr %tt, %g6 ;\
1309 or %g6, (ttextra), %g6 ;\
1310 stha %g6, [%g3 + TRAP_ENT_TT]%asi ;\
1313 cmp %g6, FAST_IMMU_MISS_TT ;\
1317 TRACE_NEXT(%g3, %g4, %g6)
1598 * g6 = scratch (clobbered)
1918 * %g6 user instruction
1945 lda [%g5]ASI_USER, %g6 ! get user's instruction
1949 and %g6, %g7, %g7
1973 srl %g6, FITOS_RS2_SHIFT, %g7
2019 srl %g6, FITOS_RD_SHIFT, %g7
2071 add %g5, 1, %g6
2073 casxa [%g7] ASI_N, %g5, %g6
2074 cmp %g5, %g6
2076 or %g0, %g6, %g5
2084 add %g5, 1, %g6
2086 casxa [%g7] ASI_N, %g5, %g6
2087 cmp %g5, %g6
2089 or %g0, %g6, %g5
2133 rdpr %cwp, %g6 ! %g6 = %cwp
2134 deccc %g6 ! %g6--
2135 movneg %xcc, %g5, %g6 ! if (%g6<0) %g6 = nwin-1
2136 wrpr %g6, %cwp
2317 lda [%g2]ASI_AIUP, %g6 ! get the user's lddf instruction
2318 srl %g6, 23, %g1 ! using ldda or not?
2322 srl %g6, 13, %g1 ! check immflag
2327 srl %g6, 5, %g1 ! get asi from instruction
2352 srl %g6, 25, %g3 ! %g6 has the instruction
2387 lda [%g2]ASI_AIUP, %g6 ! get the user's stdf instruction
2389 srl %g6, 23, %g1 ! using stda or not?
2393 srl %g6, 13, %g1 ! check immflag
2398 srl %g6, 5, %g1 ! get asi from instruction
2408 srl %g6, 25, %g6
2409 and %g6, 0x1F, %g6 ! %g6 has rd
2411 STDF_REG(%g6, %g7, %g4) ! STDF_REG(REG, ADDR, TMP)
2413 ldx [%g7 + CPU_TMP1], %g6
2414 srlx %g6, 32, %g7
2417 stuwa %g6, [%g5]ASI_USER ! second half
2580 mov %l1, %g6 ! pass tnpc to user code in %g6
2636 TRACE_PTR(%g5, %g6)
2637 GET_TRACE_TICK(%g6, %g7)
2638 stxa %g6, [%g5 + TRAP_ENT_TICK]%asi
2639 rdpr %tl, %g6
2640 stha %g6, [%g5 + TRAP_ENT_TL]%asi
2641 rdpr %tt, %g6
2642 stha %g6, [%g5 + TRAP_ENT_TT]%asi
2643 rdpr %tstate, %g6
2644 stxa %g6, [%g5 + TRAP_ENT_TSTATE]%asi
2647 rdpr %tpc, %g6
2648 stna %g6, [%g5 + TRAP_ENT_TPC]%asi
2649 set MMU_SFAR, %g6
2650 ldxa [%g6]ASI_DMMU, %g6
2651 stxa %g6, [%g5 + TRAP_ENT_F1]%asi
2652 CPU_PADDR(%g7, %g6);
2654 lda [%g7]ASI_MEM, %g6
2655 stxa %g6, [%g5 + TRAP_ENT_F2]%asi
2656 set 0xdeadbeef, %g6
2657 stna %g6, [%g5 + TRAP_ENT_F3]%asi
2658 stna %g6, [%g5 + TRAP_ENT_F4]%asi
2659 TRACE_NEXT(%g5, %g6, %g7)
2672 mov 1, %g6
2673 sllx %g6, PN_SFSR_PARITY_SHIFT, %g6
2674 andcc %g5, %g6, %g0
2686 CPU_PADDR(%g7, %g6);
2691 lda [%g7]ASI_MEM, %g6
2692 brz,a,pt %g6, 1f
2698 CPU_ADDR(%g6, %g5)
2699 add %g6, CPU_TL1_HDLR, %g6 ! %g6 = &cpu_m.tl1_hdlr (VA)
2712 and %g6, %g5, %g5
2722 sub %g7, 1, %g6
2723 wrpr %g6, %tl
2724 rdpr %tt, %g6
2726 and %g6, WTRAP_TTMASK, %g6
2727 cmp %g6, WTRAP_TYPE
2732 set trap_table, %g6
2733 cmp %g7, %g6
2736 set etrap_table, %g6
2737 cmp %g7, %g6
2741 move %icc, MMU_SFAR, %g6
2742 movne %icc, MMU_TAG_ACCESS, %g6
2743 ldxa [%g6]ASI_DMMU, %g6
2820 TRACE_PTR(%g3, %g6)
2821 GET_TRACE_TICK(%g6, %g4)
2822 stxa %g6, [%g3 + TRAP_ENT_TICK]%asi
2823 rdpr %tl, %g6
2824 stha %g6, [%g3 + TRAP_ENT_TL]%asi
2825 rdpr %tt, %g6
2826 stha %g6, [%g3 + TRAP_ENT_TT]%asi
2827 rdpr %tstate, %g6
2828 stxa %g6, [%g3 + TRAP_ENT_TSTATE]%asi
2830 rdpr %tpc, %g6
2831 stna %g6, [%g3 + TRAP_ENT_TPC]%asi
2850 * g6 = scratch (clobbered)
2867 * g5 - g6 = scratch (clobbered)
2873 sethi %hi(FLUSH_ADDR), %g6
2874 flush %g6
2875 TRACE_PTR(%g5, %g6)
2878 GET_TRACE_TICK(%g6, %g4)
2879 stxa %g6, [%g5 + TRAP_ENT_TICK]%asi
2880 rdpr %tnpc, %g6
2881 stxa %g6, [%g5 + TRAP_ENT_F2]%asi
2883 srlx %g1, 32, %g6
2884 stna %g6, [%g5 + TRAP_ENT_F4]%asi ! huh?
2885 rdpr %tpc, %g6
2886 stna %g6, [%g5 + TRAP_ENT_TPC]%asi
2887 rdpr %tl, %g6
2888 stha %g6, [%g5 + TRAP_ENT_TL]%asi
2889 rdpr %tt, %g6
2890 or %g6, TT_MMU_MISS, %g4
2892 cmp %g6, FAST_IMMU_MISS_TT
2894 ldxa [%g0]ASI_IMMU, %g6
2895 ldxa [%g0]ASI_DMMU, %g6
2896 1: stxa %g6, [%g5 + TRAP_ENT_TSTATE]%asi ! tag target
2898 TRACE_NEXT(%g5, %g4, %g6)
2908 sethi %hi(FLUSH_ADDR), %g6
2909 flush %g6
2910 TRACE_PTR(%g1, %g6)
2911 GET_TRACE_TICK(%g6, %g5)
2912 stxa %g6, [%g1 + TRAP_ENT_TICK]%asi
2913 rdpr %tpc, %g6
2914 stna %g6, [%g1 + TRAP_ENT_TPC]%asi
2915 rdpr %tstate, %g6
2916 stxa %g6, [%g1 + TRAP_ENT_TSTATE]%asi
2923 rdpr %tl, %g6
2924 stha %g6, [%g1 + TRAP_ENT_TL]%asi
2925 rdpr %tt, %g6
2926 stha %g6, [%g1 + TRAP_ENT_TT]%asi
2983 sethi %hi(0xffffc000), %g6 ! 1's complement of 0x3fff
2984 andncc %g5, %g6, %g0 ! check lower 14 bits of %tpc
2993 1: rd SOFTINT, %g6
2995 orcc %g5, %g6, %g0