Lines Matching refs:g2
49 ldxa [%g0] ASI_SCRATCHPAD, %g2
55 LOAD_ITLB_INFO(%g2, %g4, %g5)
60 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
61 cmp %g2, %g6
77 mov %o1, %g2 ! save %o1
86 mov %g2, %o1 ! restore %o1
95 ldxa [%g0] ASI_SCRATCHPAD, %g2
101 LOAD_DTLB_INFO(%g2, %g4, %g5)
106 ldda [%g1] ASI_QUAD_LDD_PHYS_4V, %g2
107 cmp %g2, %g6
120 mov %o1, %g2 ! save %o1
129 mov %g2, %o1 ! restore %o1
178 sub %g2, TRAP_PER_CPU_FAULT_INFO, %g2
186 COMPUTE_TSB_PTR(%g5, %g4, REAL_HPAGE_SHIFT, %g2, %g7)
189 ldxa [%g0] ASI_SCRATCHPAD, %g2
190 sub %g2, TRAP_PER_CPU_FAULT_INFO, %g2
192 80: stx %g5, [%g2 + TRAP_PER_CPU_TSB_HUGE_TEMP]
196 ldx [%g2 + TRAP_PER_CPU_PGD_PADDR], %g7
261 ldxa [%g0] ASI_SCRATCHPAD, %g2
262 ldx [%g2 + HV_FAULT_I_TYPE_OFFSET], %g3
263 ldx [%g2 + HV_FAULT_I_ADDR_OFFSET], %g4
264 ldx [%g2 + HV_FAULT_I_CTX_OFFSET], %g5
277 ldxa [%g0] ASI_SCRATCHPAD, %g2
278 ldx [%g2 + HV_FAULT_I_TYPE_OFFSET], %g3
279 ldx [%g2 + HV_FAULT_I_ADDR_OFFSET], %g4
280 ldx [%g2 + HV_FAULT_I_CTX_OFFSET], %g5
293 ldxa [%g0] ASI_SCRATCHPAD, %g2
294 ldx [%g2 + HV_FAULT_D_TYPE_OFFSET], %g3
295 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4
296 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5
309 ldxa [%g0] ASI_SCRATCHPAD, %g2
310 ldx [%g2 + HV_FAULT_D_TYPE_OFFSET], %g3
311 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4
312 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5
326 rdpr %tl, %g2
327 cmp %g2, 1
332 ldxa [%g0] ASI_SCRATCHPAD, %g2
333 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g5
335 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g4
342 1: ldxa [%g0] ASI_SCRATCHPAD, %g2
344 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4
345 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5
368 ldxa [%g0] ASI_SCRATCHPAD, %g2
369 ldx [%g2 + HV_FAULT_D_TYPE_OFFSET], %g3
370 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4
371 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5
384 ldxa [%g0] ASI_SCRATCHPAD, %g2
385 ldx [%g2 + HV_FAULT_D_TYPE_OFFSET], %g3
386 ldx [%g2 + HV_FAULT_D_ADDR_OFFSET], %g4
387 ldx [%g2 + HV_FAULT_D_CTX_OFFSET], %g5
403 sethi %hi(OLD), %g2; \
404 or %g2, %lo(OLD), %g2; \
405 sub %g1, %g2, %g1; \
411 stw %g3, [%g2]; \
414 stw %g3, [%g2 + 0x4]; \
415 flush %g2;