Lines Matching full:g1

9 	ldxa		[%g0] ASI_DCU_CONTROL_REG, %g1
10 andn %g1, DCU_DC | DCU_IC, %g1
11 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
15 mov 0, %g1
22 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
23 andn %g1, DCU_DC | DCU_IC, %g1
24 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
28 mov 1, %g1
35 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
36 andn %g1, DCU_IC, %g1
37 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
41 mov 0, %g1
48 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
49 andn %g1, DCU_IC, %g1
50 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
54 mov 1, %g1
61 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
62 andn %g1, DCU_DC | DCU_IC, %g1;
63 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
67 mov 0, %g1
74 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
75 andn %g1, DCU_DC | DCU_IC, %g1;
76 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
80 mov 1, %g1
182 rdpr %tl, %g1 ! Save original trap level
189 wrpr %g1, %tl ! Restore original trap level
191 cmp %g2, %g1 ! Hit them all yet?
194 wrpr %g1, %tl ! Restore original trap level
197 lduw [%g2 + %lo(dcache_parity_tl1_occurred)], %g1
198 add %g1, 1, %g1
199 stw %g1, [%g2 + %lo(dcache_parity_tl1_occurred)]
201 sethi %hi(1 << 16), %g1 ! D-cache size
203 sub %g1, %g2, %g1 ! Move down 1 cacheline
204 1: srl %g1, 14, %g3 ! Compute UTAG
206 stxa %g3, [%g1] ASI_DCACHE_UTAG
210 stxa %g0, [%g1 + %g3] ASI_DCACHE_DATA
215 subcc %g1, %g2, %g1 ! Next cacheline
233 rdpr %tl, %g1 ! Save original trap level
240 wrpr %g1, %tl ! Restore original trap level
242 cmp %g2, %g1 ! Hit them all yet?
245 wrpr %g1, %tl ! Restore original trap level
248 lduw [%g2 + %lo(icache_parity_tl1_occurred)], %g1
249 add %g1, 1, %g1
250 stw %g1, [%g2 + %lo(icache_parity_tl1_occurred)]
252 sethi %hi(1 << 15), %g1 ! I-cache size
254 sub %g1, %g2, %g1
255 1: or %g1, (2 << 3), %g3
258 subcc %g1, %g2, %g1
278 sethi %hi(1 << 16), %g1 ! D-cache size
280 sub %g1, %g2, %g1
281 1: stxa %g0, [%g1] ASI_DCACHE_TAG
283 subcc %g1, %g2, %g1
286 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
287 or %g1, (DCU_DC | DCU_IC), %g1
288 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
295 * %g1: (TL>=0) ? 1 : 0
306 and %g1, 0x1, %g1
307 sllx %g1, 63, %g2
328 sllx %g1, 8, %g1
329 add %g3, %g1, %g1
331 /* %g1 holds pointer to the top of the logging scoreboard */
332 ldx [%g1 + 0x0], %g7
337 stx %g4, [%g1 + 0x0]
338 stx %g5, [%g1 + 0x8]
339 add %g1, 0x10, %g1
341 /* %g1 now points to D-cache logging area */
353 stx %g2, [%g1 + 0x20]
354 stx %g7, [%g1 + 0x28]
360 stx %g7, [%g1 + 0x30]
362 stx %g7, [%g1 + 0x38]
366 stx %g7, [%g1]
370 add %g1, 0x8, %g1
373 add %g1, 0x20, %g1
382 add %g1, 0x40, %g1
384 /* %g1 now points to I-cache logging area */
398 stx %g2, [%g1 + 0x40]
399 stx %g7, [%g1 + 0x48]
403 stx %g7, [%g1 + 0x50]
406 stx %g7, [%g1 + 0x60]
408 stx %g7, [%g1 + 0x68]
411 stx %g7, [%g1 + 0x58]
416 stx %g7, [%g1]
420 add %g1, 0x8, %g1
423 add %g1, 0x30, %g1
432 add %g1, 0x70, %g1
434 /* %g1 now points to E-cache logging area */
436 stx %g2, [%g1 + 0x20]
438 stx %g7, [%g1 + 0x28]
443 stx %g7, [%g1 + %g3]
467 * %g1 is one if this trap occurred at %tl >= 1.