Lines Matching refs:g1
61 add %g1, %g1, %g1 ! Finish PMD offset adjustment
64 mov TLB_SFSR, %g1 ! Restore %g1 value
65 stxa %g4, [%g1 + %g1] ASI_DMMU ! Restore previous TAG_ACCESS
78 mov TLB_SFSR, %g1 ! Restore %g1 value
79 stxa %g4, [%g1 + %g1] ASI_IMMU ! Restore previous TAG_ACCESS
199 add %g6, AOFF_task_fpregs + 0x80, %g1
208 ldda [%g1] ASI_BLK_S, %f32 ! grrr, where is ASI_BLK_NUCLEUS 8-(
228 add %g6, AOFF_task_fpregs, %g1
234 ldda [%g1] ASI_BLK_S, %f0 ! grrr, where is ASI_BLK_NUCLEUS 8-(
251 add %g6, AOFF_task_fpregs, %g1
256 ldda [%g1] ASI_BLK_S, %f0 ! grrr, where is ASI_BLK_NUCLEUS 8-(
257 ldda [%g1 + %g2] ASI_BLK_S, %f16
258 add %g1, 0x80, %g1
259 ldda [%g1] ASI_BLK_S, %f32
260 ldda [%g1 + %g2] ASI_BLK_S, %f48
296 srlx %g3, 14, %g1
297 and %g1, 7, %g1
298 cmp %g1, 2 ! Unfinished FP-OP
300 sethi %hi(1 << 23), %g1 ! Inexact
301 andcc %g3, %g1, %g0
303 rdpr %tpc, %g1
304 lduwa [%g1] ASI_AIUP, %g3 ! This cannot ever fail
307 sethi %hi(FITOS_MASK), %g1
308 or %g1, %lo(FITOS_MASK), %g1
309 and %g3, %g1, %g1
312 cmp %g1, %g2
316 sethi %hi(fitos_table_1), %g1
318 or %g1, %lo(fitos_table_1), %g1
320 jmpl %g1 + %g2, %g0
358 sethi %hi(fitos_table_2), %g1
360 or %g1, %lo(fitos_table_2), %g1
363 jmpl %g1 + %g2, %g0
410 rd %fprs, %g1
411 or %g3, %g1, %g3
420 andcc %g1, FPRS_DL, %g0
425 andcc %g1, FPRS_DU, %g0
430 5: mov SECONDARY_CONTEXT, %g1
432 stxa %g5, [%g1] ASI_DMMU
480 mov 0x50, %g1
482 ldxa [%g1 + %g0] ASI_INTR_R, %g1
514 stx %g1, [%o0 + 0x08]
523 stx %g1, [%o0 + 0x48]
532 stx %g1, [%o0 + 0x88]
549 ldx [%o0 + 0x08], %g1
558 ldx [%o0 + 0x48], %g1
567 ldx [%o0 + 0x88], %g1
598 utrap: brz,pn %g1, etrap
607 wrpr %g1, 0, %tnpc
619 sethi %hi(doing_pdma), %g1
620 ld [%g1 + %lo(doing_pdma)], %g2
660 sethi %hi(pdma_vaddr), %g1
661 stx %g4, [%g1 + %lo(pdma_vaddr)]
662 sethi %hi(pdma_size), %g1
663 stx %g5, [%g1 + %lo(pdma_size)]
664 sethi %hi(auxio_register), %g1
665 ldx [%g1 + %lo(auxio_register)], %g7
677 sethi %hi(doing_pdma), %g1
679 st %g0, [%g1 + %lo(doing_pdma)]
682 sethi %hi(pdma_vaddr), %g1
683 stx %g4, [%g1 + %lo(pdma_vaddr)]
684 sethi %hi(pdma_size), %g1
685 stx %g5, [%g1 + %lo(pdma_size)]
686 sethi %hi(irq_action), %g1
687 or %g1, %lo(irq_action), %g1
688 ldx [%g1 + (11 << 3)], %g3 ! irqaction[floppy_irq]
701 sethi %hi(pdma_vaddr), %g1
702 stx %g4, [%g1 + %lo(pdma_vaddr)]
703 sethi %hi(pdma_size), %g1
704 stx %g5, [%g1 + %lo(pdma_size)]
705 sethi %hi(doing_pdma), %g1
706 st %g0, [%g1 + %lo(doing_pdma)]
746 mov UDBE_UE, %g1
785 andcc %g3, %g1, %g3 ! UDBE_UE or UDBE_CE
796 andcc %g3, %g1, %g3 ! UDBE_UE or UDBE_CE
879 mov UDBE_CE, %g1
979 and %g1, 0x1, %g1; \
980 sllx %g1, 63, %g2; \
997 sllx %g1, 8, %g1; \
998 add %g3, %g1, %g1; \
1000 ldx [%g1 + 0x0], %g7; \
1004 stx %g4, [%g1 + 0x0]; \
1005 stx %g5, [%g1 + 0x8]; \
1006 add %g1, 0x10, %g1; \
1017 stx %g2, [%g1 + 0x20]; \
1018 stx %g7, [%g1 + 0x28]; \
1023 stx %g7, [%g1 + 0x30]; \
1025 stx %g7, [%g1 + 0x38]; \
1028 stx %g7, [%g1]; \
1032 add %g1, 0x8, %g1; \
1034 add %g1, 0x20, %g1; \
1041 add %g1, 0x40, %g1; \
1054 stx %g2, [%g1 + 0x40]; \
1055 stx %g7, [%g1 + 0x48]; \
1059 stx %g7, [%g1 + 0x50]; \
1062 stx %g7, [%g1 + 0x60]; \
1064 stx %g7, [%g1 + 0x68]; \
1067 stx %g7, [%g1 + 0x58]; \
1071 stx %g7, [%g1]; \
1075 add %g1, 0x8, %g1; \
1077 add %g1, 0x30, %g1; \
1084 add %g1, 0x70, %g1; \
1087 stx %g2, [%g1 + 0x20]; \
1089 stx %g7, [%g1 + 0x28]; \
1093 stx %g7, [%g1 + %g3]; \
1106 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
1107 andn %g1, DCU_DC | DCU_IC, %g1
1108 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
1112 mov 0, %g1
1115 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
1116 andn %g1, DCU_DC | DCU_IC, %g1
1117 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
1121 mov 1, %g1
1125 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
1126 andn %g1, DCU_IC, %g1
1127 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
1131 mov 0, %g1
1134 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
1135 andn %g1, DCU_IC, %g1
1136 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
1140 mov 1, %g1
1144 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
1145 andn %g1, DCU_DC | DCU_IC, %g1;
1146 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
1150 mov 0, %g1
1153 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1;
1154 andn %g1, DCU_DC | DCU_IC, %g1;
1155 stxa %g1, [%g0] ASI_DCU_CONTROL_REG;
1159 mov 1, %g1
1235 rdpr %tl, %g1 ! Save original trap level
1242 wrpr %g1, %tl ! Restore original trap level
1244 cmp %g2, %g1 ! Hit them all yet?
1247 wrpr %g1, %tl ! Restore original trap level
1250 sethi %hi(1 << 16), %g1 ! D-cache size
1252 sub %g1, %g2, %g1 ! Move down 1 cacheline
1253 1: srl %g1, 14, %g3 ! Compute UTAG
1255 stxa %g3, [%g1] ASI_DCACHE_UTAG
1259 stxa %g0, [%g1 + %g3] ASI_DCACHE_DATA
1264 subcc %g1, %g2, %g1 ! Next cacheline
1281 rdpr %tl, %g1 ! Save original trap level
1288 wrpr %g1, %tl ! Restore original trap level
1290 cmp %g2, %g1 ! Hit them all yet?
1293 wrpr %g1, %tl ! Restore original trap level
1296 sethi %hi(1 << 15), %g1 ! I-cache size
1298 sub %g1, %g2, %g1
1299 1: or %g1, (2 << 3), %g3
1302 subcc %g1, %g2, %g1
1322 sethi %hi(1 << 16), %g1 ! D-cache size
1324 sub %g1, %g2, %g1
1325 1: stxa %g0, [%g1] ASI_DCACHE_TAG
1327 subcc %g1, %g2, %g1
1330 ldxa [%g0] ASI_DCU_CONTROL_REG, %g1
1331 or %g1, (DCU_DC | DCU_IC), %g1
1332 stxa %g1, [%g0] ASI_DCU_CONTROL_REG
1570 sethi %hi(sparc_execve), %g1
1572 or %g1, %lo(sparc_execve), %g1
1576 sethi %hi(sparc32_execve), %g1
1577 or %g1, %lo(sparc32_execve), %g1
1580 jmpl %g1, %g0
1720 rdpr %otherwin, %g1
1722 add %g3, %g1, %g3
1760 cmp %g1, NR_SYSCALLS ! IEU1 Group
1763 sll %g1, 2, %l4 ! IEU0 Group
1788 cmp %g1, NR_SYSCALLS ! IEU1 Group
1791 sll %g1, 2, %l4 ! IEU0 Group
1873 rdpr %otherwin, %g1
1874 brz,pn %g1, 2f
1877 rdpr %otherwin, %g1
1878 brnz,pt %g1, 1b