Lines Matching refs:g1
8 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
9 andn %g1, DCU_DC | DCU_IC, %g1
10 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
14 mov 0, %g1
21 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
22 andn %g1, DCU_DC | DCU_IC, %g1
23 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
27 mov 1, %g1
34 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
35 andn %g1, DCU_IC, %g1
36 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
40 mov 0, %g1
47 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
48 andn %g1, DCU_IC, %g1
49 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
53 mov 1, %g1
60 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
61 andn %g1, DCU_DC | DCU_IC, %g1;
62 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
66 mov 0, %g1
73 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
74 andn %g1, DCU_DC | DCU_IC, %g1;
75 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
79 mov 1, %g1
181 rdpr %tl, %g1 ! Save original trap level
188 wrpr %g1, %tl ! Restore original trap level
190 cmp %g2, %g1 ! Hit them all yet?
193 wrpr %g1, %tl ! Restore original trap level
196 lduw [%g2 + %lo(dcache_parity_tl1_occurred)], %g1
197 add %g1, 1, %g1
198 stw %g1, [%g2 + %lo(dcache_parity_tl1_occurred)]
200 sethi %hi(1 << 16), %g1 ! D-cache size
202 sub %g1, %g2, %g1 ! Move down 1 cacheline
203 1: srl %g1, 14, %g3 ! Compute UTAG
205 stxa %g3, [%g1] ASI_DCACHE_UTAG
209 stxa %g0, [%g1 + %g3] ASI_DCACHE_DATA
214 subcc %g1, %g2, %g1 ! Next cacheline
234 rdpr %tl, %g1 ! Save original trap level
241 wrpr %g1, %tl ! Restore original trap level
243 cmp %g2, %g1 ! Hit them all yet?
246 wrpr %g1, %tl ! Restore original trap level
249 lduw [%g2 + %lo(icache_parity_tl1_occurred)], %g1
250 add %g1, 1, %g1
251 stw %g1, [%g2 + %lo(icache_parity_tl1_occurred)]
253 sethi %hi(1 << 15), %g1 ! I-cache size
255 sub %g1, %g2, %g1
256 1: or %g1, (2 << 3), %g3
259 subcc %g1, %g2, %g1
281 sethi %hi(1 << 16), %g1 ! D-cache size
283 sub %g1, %g2, %g1
284 1: stxa %g0, [%g1] ASI_DCACHE_TAG
286 subcc %g1, %g2, %g1
289 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
290 or %g1, (DCU_DC | DCU_IC), %g1
291 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
309 and %g1, 0x1, %g1
310 sllx %g1, 63, %g2
331 sllx %g1, 8, %g1
332 add %g3, %g1, %g1
335 ldx [%g1 + 0x0], %g7
340 stx %g4, [%g1 + 0x0]
341 stx %g5, [%g1 + 0x8]
342 add %g1, 0x10, %g1
356 stx %g2, [%g1 + 0x20]
357 stx %g7, [%g1 + 0x28]
363 stx %g7, [%g1 + 0x30]
365 stx %g7, [%g1 + 0x38]
369 stx %g7, [%g1]
373 add %g1, 0x8, %g1
376 add %g1, 0x20, %g1
385 add %g1, 0x40, %g1
401 stx %g2, [%g1 + 0x40]
402 stx %g7, [%g1 + 0x48]
406 stx %g7, [%g1 + 0x50]
409 stx %g7, [%g1 + 0x60]
411 stx %g7, [%g1 + 0x68]
414 stx %g7, [%g1 + 0x58]
419 stx %g7, [%g1]
423 add %g1, 0x8, %g1
426 add %g1, 0x30, %g1
435 add %g1, 0x70, %g1
439 stx %g2, [%g1 + 0x20]
441 stx %g7, [%g1 + 0x28]
446 stx %g7, [%g1 + %g3]