Lines Matching refs:g1
91 BRANCH_IF_CHEETAH_BASE(g1,g5,cheetah_boot)
92 BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(g1,g5,cheetah_plus_boot)
102 mov DCR_BPE | DCR_RPE | DCR_SI | DCR_IFPOE | DCR_MS, %g1
103 wr %g1, %asr18
153 1: ldxa [%l0] ASI_ITLB_TAG_READ, %g1
155 andn %g1, %l2, %g1
156 cmp %g1, %g2
159 and %l0, (127 << 3), %g1
160 cmp %g1, (127 << 3)
169 1: ldxa [%l0] ASI_ITLB_TAG_READ, %g1
171 andn %g1, %l2, %g1
172 cmp %g1, %g2
184 ldxa [%l0] ASI_ITLB_DATA_ACCESS, %g1
186 and %g1, %g3, %g1
188 andn %g1, %l0, %g1
189 or %g5, %g1, %g5
198 1: ldxa [%l0] ASI_ITLB_TAG_READ, %g1
200 andn %g1, %l2, %g1
201 cmp %g1, %g3
203 cmp %g1, %g7
211 2: and %l0, (127 << 3), %g1
212 cmp %g1, (127 << 3)
218 1: ldxa [%l0] ASI_DTLB_TAG_READ, %g1
220 andn %g1, %l2, %g1
221 cmp %g1, %g3
223 cmp %g1, %g7
231 2: and %l0, (511 << 3), %g1
232 cmp %g1, (511 << 3)
237 BRANCH_IF_CHEETAH_PLUS_OR_FOLLOWON(g1,l0,2f)
242 1: ldxa [%l0] ASI_DTLB_TAG_READ, %g1
244 andn %g1, %l2, %g1
245 cmp %g1, %g3
247 cmp %g1, %g7
255 2: and %l0, (511 << 3), %g1
256 cmp %g1, (511 << 3)
311 mov (LSU_CONTROL_IC|LSU_CONTROL_DC|LSU_CONTROL_IM|LSU_CONTROL_DM), %g1
312 stxa %g1, [%g0] ASI_LSU_CONTROL
353 ldxa [%l0] ASI_ITLB_TAG_READ, %g1
357 andn %g1, %l2, %g1 /* Get vaddr */
358 cmp %g1, %g2
360 ldxa [%l0] ASI_ITLB_DATA_ACCESS, %g1
373 and %g1, %g3, %g1 /* Mask to just get paddr bits. */
375 andn %g1, %l3, %g1
381 or %g5, %g1, %g5 /* Or it into TAG being built. */
389 ldxa [%l0] ASI_ITLB_TAG_READ, %g1
393 andn %g1, %l2, %g1 /* Get vaddr */
394 cmp %g1, %g3
396 cmp %g1, %g7
412 ldxa [%l0] ASI_DTLB_TAG_READ, %g1
416 andn %g1, %l2, %g1 /* Get vaddr */
417 cmp %g1, %g3
419 cmp %g1, %g7
497 BRANCH_IF_ANY_CHEETAH(g1,g5,cheetah_tlb_fixup)
505 ldxa [%g7] ASI_ITLB_DATA_ACCESS, %g1
506 andn %g1, (_PAGE_G), %g1
507 stxa %g1, [%g7] ASI_ITLB_DATA_ACCESS
511 ldxa [%g7] ASI_DTLB_DATA_ACCESS, %g1
512 andn %g1, (_PAGE_G), %g1
513 stxa %g1, [%g7] ASI_DTLB_DATA_ACCESS
541 ldxa [%g7] ASI_ITLB_DATA_ACCESS, %g1
542 andn %g1, (_PAGE_G), %g1
543 stxa %g1, [%g7] ASI_ITLB_DATA_ACCESS
546 ldxa [%g7] ASI_DTLB_DATA_ACCESS, %g1
547 andn %g1, (_PAGE_G), %g1
548 stxa %g1, [%g7] ASI_DTLB_DATA_ACCESS
637 mov TSB_REG, %g1
638 stxa %g0, [%g1] ASI_DMMU
640 mov TLB_SFSR, %g1
674 sethi %hi(0x1fff4000), %g1
675 or %g1, %lo(0x1fff4000), %g1
676 sllx %g1, 12, %g1
677 or %g1, 0xd0, %g1
678 lduwa [%g1] ASI_PHYS_BYPASS_EC_E, %g1
683 BRANCH_IF_JALAPENO(g1,g5,is_jalapeno)
684 BRANCH_IF_ANY_CHEETAH(g1,g5,is_cheetah)
690 ldxa [%g0] ASI_JBUS_CONFIG, %g1
691 srlx %g1, 17, %g1
693 and %g1, 0x1f, %g1 ! 5bit JBUS ID
696 ldxa [%g0] ASI_SAFARI_CONFIG, %g1
697 srlx %g1, 17, %g1
699 and %g1, 0x3ff, %g1 ! 10bit Safari Agent ID
702 ldxa [%g0] ASI_UPA_CONFIG, %g1
703 srlx %g1, 17, %g1
704 and %g1, 0x1f, %g1
710 sllx %g1, 7, %g1
711 add %g5, %g1, %g5
716 sethi %hi(0x80000000), %g1
717 sllx %g1, 32, %g1
718 wr %g1, 0, %tick_cmpr
720 BRANCH_IF_ANY_CHEETAH(g1,g5,1f)
727 sethi %hi(0x80000000), %g1
728 sllx %g1, 32, %g1
729 wr %g1, %asr25