/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_jalapeno_asm.s | 342 sll %o0, IDCR_PID_SHIFT, %g1 ! IDCR<18:14> = agent id 343 or %g1, IDCR_OFFSET, %g1 ! IDCR<13:0> = 0x70 344 stxa %g0, [%g1]ASI_INTR_DISPATCH ! interrupt vector dispatch 370 CHK_JP_ERRATA85_ENABLED(%g1, flush_ecache_1); 371 JP_FORCE_FULL_SPEED(%o3, %g1, %g2, %g3); /* %o3: saved speed */ 381 CHK_JP_ERRATA85_ENABLED(%g1, flush_ecache_2); 382 JP_RESTORE_SPEED(%o3, %g1, %g2, %g3); /* %o3: saved speed */ 485 stxa %g1, [%g0]ASI_DCU 507 mov PTL1_BAD_ECC, %g1 [all...] |
H A D | common_asm.s | 301 mov 1, %g1 302 sllx %g1, TICKINT_DIS_SHFT, %o0 334 rdpr %pstate, %g1 336 andcc %g1, PSTATE_IE, %g0 ! If DEBUG, check that interrupts 343 0: wrpr %g1, PSTATE_IE, %pstate ! Disable interrupts 352 wrpr %g0, %g1, %pstate ! delay: Re-enable interrupts 367 RD_TICKCMPR(%g1, %o0) 369 srlx %g1, TICKINT_DIS_SHFT, %o0 485 GET_HRTIME(%g1, %o0, %o1, %o2, %o3, %o4, %o5, %g2) 486 ! %g1 [all...] |
H A D | us3_cheetah_asm.s | 84 * this routine with %g1 and %g2 already saved in %tpc, %tnpc and %tstate. 105 * the %tpc in ch_err_tl1_tpc. At the end of this macro, %g1 will 107 * will be saved in ch_err_tl1_tmp. All %g registers except for %g1 120 add %g1, CH_ERR_TL1_LOGOUT, %g5 167 ldxa [%g1 + CH_ERR_TL1_TMP]%asi, %g3 190 ldxa [%g1 + CH_ERR_TL1_TMP]%asi, %g3 245 ldxa [%g1 + CH_ERR_TL1_SDW_AFAR]%asi, %g3 246 ldxa [%g1 + CH_ERR_TL1_SDW_AFSR]%asi, %g4 251 ldxa [%g1 + CH_ERR_TL1_AFAR]%asi, %g3 252 ldxa [%g1 [all...] |
H A D | us3_cheetahplus_asm.s | 155 * this routine with %g1 and %g2 already saved in %tpc, %tnpc and %tstate. 176 * the %tpc in ch_err_tl1_tpc. At the end of this macro, %g1 will 178 * will be saved in ch_err_tl1_tmp. All %g registers except for %g1 191 add %g1, CH_ERR_TL1_LOGOUT, %g5 239 ldxa [%g1 + CH_ERR_TL1_TMP]%asi, %g3 262 ldxa [%g1 + CH_ERR_TL1_TMP]%asi, %g3 324 ldxa [%g1 + CH_ERR_TL1_SDW_AFAR]%asi, %g3 325 ldxa [%g1 + CH_ERR_TL1_SDW_AFSR]%asi, %g4 330 ldxa [%g1 + CH_ERR_TL1_AFAR]%asi, %g3 331 ldxa [%g1 [all...] |
/illumos-gate/usr/src/uts/sun4u/cherrystone/ml/ |
H A D | cherrystone_asm.s | 92 ldxa [%o0]ASI_SAFARI_CONFIG, %g1 93 srlx %g1, 32, %o0 ! put the high 32 bits in low part of o0 94 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits 116 ldxa [%o0]ASI_MC_DECODE, %g1 117 srlx %g1, 32, %o0 ! put the high 32 bits in low part of o0 118 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
|
/illumos-gate/usr/src/uts/sun4u/daktari/ml/ |
H A D | daktari_asm.s | 86 ldxa [%o0]ASI_SAFARI_CONFIG, %g1 87 srlx %g1, 32, %o0 ! put the high 32 bits in low part of o0 88 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits 110 ldxa [%o0]ASI_MC_DECODE, %g1 111 srlx %g1, 32, %o0 ! put the high 32 bits in low part of o0 112 srl %g1, 0, %o1 ! put lower 32 bits in o1, clear upper 32 bits
|
/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/ |
H A D | kaif_invoke.s | 109 add %i1, STACK_ALIGN/2, %g1 110 and %g1, -STACK_ALIGN, %g1 111 sub %sp, %g1, %sp
|
H A D | kaif_resume.s | 94 GET_NWIN(%g1, %g4); ! %g1 is scratch, %g4 set to nwin-1 97 sub %g4, 1, %g1 98 wrpr %g1, %cansave 168 ldx [%g5 + KREG_OFF(KREG_G1)], %g1
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | cerror.s | 40 ld [%o5 + errno], %g1 41 st %o0, [%g1] 43 sethi %hi(errno), %g1 44 st %o0, [%g1 + %lo(errno)]
|
H A D | sbrk.s | 49 ld [%o5 + .curbrk], %g1 50 ld [%g1], %o3 59 mov SYS_brk, %g1 64 ld [%o5 + .curbrk], %g1 65 st %o4, [%g1]
|
/illumos-gate/usr/src/lib/brand/shared/brand/sparc/ |
H A D | handler.s | 37 mov %o7, %g1; \ 42 mov %g1, %o7 64 * When we get here, %g1 should contain the system call and 80 * Note that this state isn't exact, %g1 and %g5 have been 84 stn %g0, [%sp + EH_LOCALS_GREG(REG_G1)] /* %g1 is lost */ 114 mov %g1, %l5 /* save syscall number */ 116 mov %l5, %g1 /* restore syscall number */ 117 sll %g1, (1 + CLONGSHIFT), %l2 /* Each entry has 2 longs */ 127 mov %g1, %l3 /* %g1 [all...] |
/illumos-gate/usr/src/psm/stand/bootlst/sparc/ |
H A D | srt0.s | 105 mov %o7, %g1 109 mov %g1, %o7
|
/illumos-gate/usr/src/uts/sun4/ml/ |
H A D | copy.s | 92 stb %g1, [%o1] ! store byte 93 tst %g1 102 ldub [%o0 + %o1], %g1 ! delay slot, get source byte 155 stb %g1, [%g4] ! store byte 156 tst %g1 165 lduba [%g2+%g4]ASI_USER, %g1 ! delay slot, get source byte 181 ldn [%o4 + CP_COPYINSTR], %g1 182 jmp %g1 225 stb %g1, [%o1] ! store byte 226 tst %g1 ! nul [all...] |
H A D | ip_ocsum.s | 114 ! %g1 32bit mask 121 clruw %g5, %g1 ! 32 1's at low end 160 9: and %o3, %g1, %o3 ! lo32 181 and %o3, %g1, %o3 ! lo32 191 and %o2, %g1, %o2 ! lo32 240 ! %g1 32bit mask 283 9: and %l0, %g1, %l0 ! lo32 314 and %l0, %g1, %l0 ! lo32 to %l0 317 and %l1, %g1, %l1 ! lo32 to %l1 320 and %l2, %g1, [all...] |
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | cpr_resume_setup.s | 132 ld [%l5 + CPR_MD_PRI], %g1 ! mdp->mmu_ctx_pri 134 stxa %g1, [%g2]ASI_DMMU 142 ld [%l5 + CPR_MD_SEC], %g1 ! mdp->mmu_ctx_sec 144 stxa %g1, [%g2]ASI_DMMU 168 set i_cpr_tmp_cif, %g1 169 stn %l4, [%g1] 174 set prom_tba, %g1 176 stx %g2, [%g1]
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strlen.s | 100 sub %o1, %o4, %g1 101 andcc %o3, %g1, %g0 111 sub %o1, %o4, %g1 ! %g1 = word - 0x01010101 112 andcc %o3, %g1, %g0
|
H A D | memchr.s | 75 sll %o1, 8, %g1 ! start spreading c across word 94 sll %o1, 8, %g1 ! spread c -------------+ 98 or %o1, %g1, %o1 ! across all <---------+ 100 sll %o1, 16, %g1 ! four bytes <--------+ 102 or %o1, %g1, %o1 ! of a word <--------+ 109 xor %o3, %o1, %g1 ! tword = word ^ c 110 andn %o5, %g1, %o3 ! ~tword & 0x80808080 111 sub %g1, %o4, %g1 ! (tword - 0x01010101) 112 andcc %o3, %g1, [all...] |
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strlen.s | 100 sub %o1, %o4, %g1 101 andcc %o3, %g1, %g0 111 sub %o1, %o4, %g1 ! %g1 = word - 0x01010101 112 andcc %o3, %g1, %g0
|
H A D | memchr.s | 75 sllx %o1, 8, %g1 ! start spreading c across word 94 sllx %o1, 8, %g1 ! spread c -------------+ 98 or %o1, %g1, %o1 ! across all <---------+ 100 sllx %o1, 16, %g1 ! four bytes <--------+ 102 or %o1, %g1, %o1 ! of a word <--------+ 109 xor %o3, %o1, %g1 ! tword = word ^ c 110 andn %o5, %g1, %o3 ! ~tword & 0x80808080 111 sub %g1, %o4, %g4 ! (tword - 0x01010101) 119 ! restoring "tword" from "(tword - 0x01010101)" in %g1, examine "tword" 123 andcc %g1, [all...] |
H A D | alloca.s | 42 add %sp, STACK_BIAS, %g1 ! save current sp + STACK_BIAS 49 ldx [%g1 + %o1], %o4 ! load from old temp area
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | cheetahasm.h | 1043 * temporarily save the values of %g1 and %g2. 1061 * We save the values of %g1 and %g2 in %tpc, %tnpc and %tstate (since 1063 * we need to put the low-order two bits of %g1 and %g2 in %tstate). 1065 * low-order two bits of %g1 in bits 0-1 and the low-order two bits of 1073 wrpr %g1, %tpc; \ 1074 and %g1, 3, %g1; \ 1077 or %g1, %g2, %g2; \ 1078 sethi %hi(label), %g1; \ 1079 jmp %g1 [all...] |
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtboot.s | 182 mov SYS_openat, %g1 185 sethi %hi(0x80000000), %g1 ! MAP_NEW 186 or %g1, %o3, %o3 188 mov SYS_mmap, %g1 192 mov SYS_munmap, %g1 196 mov SYS_read, %g1 200 mov SYS_write, %g1 204 mov SYS_lseek, %g1 208 mov SYS_close, %g1 212 mov SYS_fstatat, %g1 [all...] |
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vsincosf.S | 106 ! g1 154 mov %o0,%g1 172 ldd [%g1+S0],%f40 ! load constants 173 ldd [%g1+S1],%f42 174 ldd [%g1+S2],%f44 175 ldd [%g1+one],%f46 176 ldd [%g1+mhalf],%f48 177 ldd [%g1+C0],%f50 178 ldd [%g1+C1],%f52 179 ldd [%g1 [all...] |
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu_asm.s | 89 * %g1 = sfmmup whose ctx is being stolen (victim) 90 * when called from sfmmu_wrap_around, %g1 == INVALID_CONTEXT. 91 * Note %g1 is the only input argument used by this xcall handler. 115 cmp %g1, %g3 117 mov PTL1_BAD_RAISE_TSBEXCP, %g1 121 cmp %g1, INVALID_CONTEXT 156 mov PTL1_BAD_RAISE_TSBEXCP, %g1 167 * %g1 = sfmmup 174 cmp %g5, %g1 /* is it the victim? */ 204 mov PTL1_BAD_HCALL, %g1 [all...] |
/illumos-gate/usr/src/cmd/sgs/rtld/sparc/ |
H A D | boot_a.out.s | 51 * to the offset to the plt entry in %g1 to calculate the plt entry address 58 * sethi %hi(entry_pt), %g1 59 * jmpl %g1 + %lo(entry_pt), %g0 79 mov %o0, %g1 ! save address of routine binded 81 jmp %g1 ! jump to it 96 * sethi %hi(function address), %g1 ! patched first 97 * jmpl %g1 + %lo(function address, %g0 ! patched second
|