/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | mach_copy.S | 64 wr %g0, ASI_USER, %asi 78 wr %g0, ASI_P, %asi 99 wr %g0, ASI_P, %asi 107 wr %g0, %g0, %fprs ! clear fprs 348 1: stba %g0,[%o0]%asi 361 sta %g0, [%o0]%asi ! clr to double boundry 366 !stxa %g0, [%o0+0xf8]%asi 368 stxa %g0, [%o0+0xf0]%asi 369 stxa %g0, [%o0+0xe8]%asi 370 stxa %g0, [%o0+0xe0]%asi [all …]
|
H A D | mach_xc.S | 78 stna %g0, [%g4 + TRAP_ENT_F3]%asi 79 stna %g0, [%g4 + TRAP_ENT_F4]%asi 95 wrpr %g0, %g2, %pstate /* disable interrupts */ 99 stha %g0, [%g3 + TRAP_ENT_TL]%asi 109 stna %g0, [%g3 + TRAP_ENT_F3]%asi /* f3 = 0 */ 124 stha %g0, [%g3 + TRAP_ENT_TL]%asi 129 stna %g0, [%g3 + TRAP_ENT_TPC]%asi /* clr unused fields */ 130 stna %g0, [%g3 + TRAP_ENT_SP]%asi 131 stna %g0, [%g3 + TRAP_ENT_TR]%asi 132 stxa %g0, [%g3 + TRAP_ENT_TSTATE]%asi [all …]
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | spitfire_asm.S | 49 ldxa [%g0]ASI_LSU, tmp1 ;\ 71 stxa %g0, [tmp2]ASI_DC_TAG ;\ 73 cmp %g0, tmp2 ;\ 98 stxa %g0, [arg2 + tmp3]ASI_DC_TAG ;\ 101 cmp %g0, tmp3 ;\ 124 stxa %g0, [arg2]ASI_DC_TAG ;\ 127 cmp %g0, arg2 ;\ 136 ldxa [%g0]ASI_LSU, tmp1; \ 150 stxa %g0, [arg + tmp2]ASI_DC_TAG; \ 152 cmp %g0, tmp2; \ [all …]
|
H A D | opl_olympus_asm.S | 98 stxa %g0, [%o0]ASI_DTLB_DEMAP /* dmmu flush for KCONTEXT */ 99 stxa %g0, [%o0]ASI_ITLB_DEMAP /* immu flush for KCONTEXT */ 102 wrpr %g0, %o5, %pstate /* enable interrupts */ 117 wrpr %g0, 1, %tl 126 stxa %g0, [%o0]ASI_DTLB_DEMAP 127 stxa %g0, [%o0]ASI_ITLB_DEMAP 130 wrpr %g0, 0, %tl 133 wrpr %g0, %o5, %pstate /* enable interrupts */ 143 stxa %g0, [%g1]ASI_DTLB_DEMAP 144 stxa %g0, [%g1]ASI_ITLB_DEMAP [all …]
|
H A D | us3_cheetah_asm.S | 59 ldxa [alias_address]ASI_MEM, %g0 103 ldxa [%g0]ASI_ESTATE_ERR, %g4 120 ldxa [%g0]ASI_ESTATE_ERR, %g7 122 stxa %g5, [%g0]ASI_ESTATE_ERR 146 stxa %g7, [%g0]ASI_ESTATE_ERR 153 andcc %g3, CH_ERR_TSTATE_DC_ON, %g0 167 ldxa [%g0]ASI_DCU, %g3 169 stxa %g3, [%g0]ASI_DCU 176 andcc %g3, CH_ERR_TSTATE_IC_ON, %g0 190 ldxa [%g0]ASI_DCU, %g3 [all …]
|
H A D | us3_common_asm.S | 57 ldxa [%g0]ASI_DCU, tmp1 ;\ 77 stxa %g0, [tmp2]ASI_DC_TAG ;\ 79 cmp %g0, tmp2 ;\ 97 stxa %g0, [arg1 + tmp3]ASI_DC_INVAL ;\ 100 cmp %g0, tmp3 ;\ 123 stxa %g0, [arg2]ASI_DC_TAG ;\ 126 cmp %g0, arg2 ;\ 142 ldxa [%g0]ASI_DCU, tmp1; \ 161 stxa %g0, [tmp3 + tmp2]ASI_DC_TAG; \ 163 cmp %g0, tmp2; \ [all …]
|
H A D | us3_jalapeno_asm.S | 103 ldxa [%g0]ASI_JBUS_CONFIG, scr1; \ 108 stxa scr1, [%g0]ASI_JBUS_CONFIG; 130 ldxa [%g0]ASI_JBUS_CONFIG, scr2; \ 148 ldxa [%g0]ASI_MCU_CTRL, scr1; \ 153 stxa scr1, [%g0]ASI_MCU_CTRL; \ 178 ldxa [%g0]ASI_JBUS_CONFIG, old_lvl; \ 190 andcc old_lvl, scr4, %g0; \ 199 ldx [scr3], %g0; \ 238 andcc old_lvl, TOM_FULL_SPEED, %g0; \ 249 ldx [scr3], %g0; \ [all …]
|
H A D | us3_cheetahplus_asm.S | 67 ldxa [index]ASI_EC_DIAG, %g0; \ 68 ldxa [index + ec_set_size]ASI_EC_DIAG, %g0; 100 ldxa [l2_index + scr2]ASI_L2_TAG, %g0; \ 101 cmp scr2, %g0; \ 106 cmp scr2, %g0; \ 112 ldxa [l3_index + scr2]ASI_EC_DIAG, %g0; \ 113 cmp scr2, %g0; \ 174 ldxa [%g0]ASI_ESTATE_ERR, %g4 191 ldxa [%g0]ASI_ESTATE_ERR, %g7 193 stxa %g5, [%g0]ASI_ESTATE_ERR [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | panther_asm.S | 79 ldxa [l2_index + scr2]ASI_L2_TAG, %g0; \ 80 cmp scr2, %g0; \ 85 cmp scr2, %g0; \ 91 ldxa [l3_index + scr2]ASI_EC_DIAG, %g0; \ 92 cmp scr2, %g0; \ 163 stxa %g1, [%g0]ASI_DCU 164 flush %g0 165 wrpr %g0, %o2, %pstate !restore pstate 211 stxa %g0, [%o0]ASI_L2_TAG 238 wrpr %g0, %g1, %pstate ! disable interrupts [all …]
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | mach_proc_init.S | 60 wrpr %g0, 0, %tl 61 wrpr %g0, 0, %gl 62 wrpr %g0, MAXWIN - 2, %cansave 63 wrpr %g0, MAXWIN - 2, %cleanwin 64 wrpr %g0, 0, %canrestore 65 wrpr %g0, 0, %otherwin 66 wrpr %g0, 0, %cwp 67 wrpr %g0, 0, %wstate 68 wr %g0, %y 69 wrpr %g0, PIL_MAX, %pil [all …]
|
H A D | mach_xc.S | 80 stna %g0, [%g4 + TRAP_ENT_F3]%asi 81 stna %g0, [%g4 + TRAP_ENT_F4]%asi 97 wrpr %g0, %g2, %pstate /* disable interrupts */ 101 stha %g0, [%g3 + TRAP_ENT_TL]%asi 111 stna %g0, [%g3 + TRAP_ENT_F3]%asi /* f3 = 0 */ 126 stha %g0, [%g3 + TRAP_ENT_TL]%asi 131 stna %g0, [%g3 + TRAP_ENT_TPC]%asi /* clr unused fields */ 132 stna %g0, [%g3 + TRAP_ENT_SP]%asi 133 stna %g0, [%g3 + TRAP_ENT_TR]%asi 134 stxa %g0, [%g3 + TRAP_ENT_TSTATE]%asi [all …]
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4v/common/ |
H A D | smt_pause.S | 46 rd %ccr, %g0 47 rd %ccr, %g0 49 rd %ccr, %g0 60 casx [%o0], %g0, %g0 61 casx [%o0], %g0, %g0 62 casx [%o0], %g0, %g0
|
/illumos-gate/usr/src/common/crypto/arcfour/sun4u/ |
H A D | arcfour_crypt_asm.S | 67 orcc %l7, %g0, %g0 91 subcc %o2, %g1, %g0 130 subcc %o2, %g1, %g0 170 subcc %o2, %g1, %g0 212 subcc %o2, %g1, %g0 222 orcc %l7, %g0, %g0 255 subcc %o2, %g1, %g0 296 subcc %o2, %g1, %g0 338 subcc %o2, %g1, %g0 380 subcc %o2, %g1, %g0 [all …]
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | ddi_v9_asm.S | 74 jmpl %g1, %g0 /* jump to access handle routine */ 91 jmpl %g1, %g0 /* jump to access handle routine */ 110 jmpl %g1, %g0 /* jump to access handle routine */ 129 jmpl %g1, %g0 /* jump to access handle routine */ 148 jmpl %g1, %g0 /* jump to access handle routine */ 165 jmpl %g1, %g0 /* jump to access handle routine */ 184 jmpl %g1, %g0 /* jump to access handle routine */ 203 jmpl %g1, %g0 /* jump to access handle routine */ 235 mov %g0, %o4; \ 251 jmpl %g1, %g0 [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | machthread.h | 60 ldxa [%g0]ASI_EIDR, r; \ 88 ldxa [%g0]ASI_UPA_CONFIG, r; \ 196 wrpr %g0, 1, %tl; \ 199 wrpr %g0, scr2, %tstate; \ 201 wrpr %g0, scr1, %tpc; \ 203 wrpr %g0, scr1, %tnpc; \ 207 wrpr %g0, 2, %tl; \ 222 wrpr %g0, scr1, %cleanwin; \ 224 wrpr %g0, scr1, %otherwin; \ 225 wrpr %g0, 0, %canrestore; \ [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strncpy.S | 69 subcc %g0, %o2, %g4 ! n = -n, n == 0 ? 105 andcc %g5, 7, %g0 ! dst word aligned ? 115 andcc %g5, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) 126 andcc %g1, 0xff, %g0 ! end of string ? 127 movz %ncc, %g0, %o1 ! if so, start padding with null bytes 130 andcc %g1, 0xff, %g0 ! end of string ? 131 movz %ncc, %g0, %o1 ! if so, start padding with null bytes 134 andcc %g1, 0xff, %g0 ! end of string ? 135 movz %ncc, %g0, %o1 ! if so, start padding with null bytes 138 andcc %g1, 0xff, %g0 ! end of string ? [all …]
|
H A D | strncmp.S | 57 andcc %i0, 3, %g0 ! is s1 aligned 73 andcc %i0, 3, %g0 121 andcc %i4, %l0, %g0 ! check if first byte was zero 123 andcc %i4, %l1, %g0 ! check if second byte was zero 126 andcc %i4, %l2, %g0 ! check if third byte was zero 129 andcc %i4, 0xff, %g0 ! check if last byte is zero 166 andcc %i4, %l0, %g0 ! check if first byte was zero 168 andcc %i4, %l1, %g0 ! check if second byte was zero 171 andcc %i4, %l2, %g0 ! check if third byte was zero 174 andcc %i4, 0xff, %g0 ! check if last byte is zero [all …]
|
H A D | strcpy.S | 70 andcc %o1, 1, %g0 ! need to copy byte ? 72 sub %g0, %o1, %g1 ! %g1<2:0> = # of unaligned bytes 80 andcc %g1, 2, %g0 ! need to copy half-word ? 88 andcc %o5, 0xff, %g0 ! extract second byte 94 andcc %g1, 4, %g0 ! need to copy word ? 103 andcc %o4, 0xff, %g0 ! is second byte zero ? 107 andcc %o4, 0xff, %g0 ! third byte zero ? 110 andcc %o5, 0xff, %g0 ! fourth byte zero ? 128 andcc %o2, 7, %g0 ! dst word aligned ? 137 andcc %g4, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) [all …]
|
H A D | strlcpy.S | 62 subcc %g0, %i2, %g4 ! n = -n, n == 0 ? 72 andcc %l1, 0xff, %g0 ! end of src reached (null byte) ? 97 andcc %l0, 7, %g0 ! dst word aligned ? 108 andcc %l0, %g1, %g0 ! ((dword - 0x0101010101010101) & ~dword & 0x8080808080808080) 120 andcc %g1, 0xff, %g0 ! end of string ? 125 andcc %g1, 0xff, %g0 ! end of string ? 130 andcc %g1, 0xff, %g0 ! end of string ? 135 andcc %g1, 0xff, %g0 ! end of string ? 140 andcc %g1, 0xff, %g0 ! end of string ? 145 andcc %g1, 0xff, %g0 ! end of string ? [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strncmp.S | 57 andcc %i0, 3, %g0 ! is s1 aligned 73 andcc %i0, 3, %g0 121 andcc %i4, %l0, %g0 ! check if first byte was zero 123 andcc %i4, %l1, %g0 ! check if second byte was zero 126 andcc %i4, %l2, %g0 ! check if third byte was zero 129 andcc %i4, 0xff, %g0 ! check if last byte is zero 166 andcc %i4, %l0, %g0 ! check if first byte was zero 168 andcc %i4, %l1, %g0 ! check if second byte was zero 171 andcc %i4, %l2, %g0 ! check if third byte was zero 174 andcc %i4, 0xff, %g0 ! check if last byte is zero [all …]
|
H A D | strlcpy.S | 59 subcc %g0, %i2, %g4 ! n = -n or n == 0 ? 69 andcc %l1, 0xff, %g0 ! null byte reached? 94 andcc %l0, %g1, %g0 ! doit 101 andcc %g1, 0xff, %g0 ! test for end 106 andcc %g1, 0xff, %g0 ! zero byte ? 111 andcc %g1, 0xff, %g0 ! zero byte ? 120 restore %i0, %g0, %o0 128 andcc %g1, 0xff, %g0 ! zero byte? 135 andcc %g1, 0xff, %g0 ! zero? 142 andcc %g1, 0xff, %g0 ! zero? [all …]
|
/illumos-gate/usr/src/common/bignum/sun4u/ |
H A D | mont_mulf_v8plus.s | 161 /* 0x0008 67 */ or %g0,%i1,%o0 168 /* 0x0014 71 */ or %g0,0,%o4 171 /* 0x0020 74 */ or %g0,0,%o7 172 /* 0x0024 67 */ or %g0,%i3,%o1 178 /* 0x003c */ or %g0,%i0,%o5 185 /* 0x0058 67 */ or %g0,-1,%g2 189 /* 0x0068 */ or %g0,%o0,%g2 224 /* 0x00b8 85 */ or %g0,1,%o7 229 /* 0x00cc 84 */ or %g0,%g3,%g4 256 /* 0x0134 84 */ or %g0,%g5,%g4 [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp.il.cpp | 77 wrpr %g0, %g3, %pstate 95 stxa %g0, [%o1]ASI_DC_INVAL /* flush line from dcache */ 99 wrpr %g0, %o4, %pstate ! restore earlier pstate register value 116 wrpr %g0, %o4, %pstate ! clear AM to access 64 bit physaddr 130 wrpr %g0, %o3, %pstate ! restore earlier pstate 160 wrpr %g0, %o3, %pstate 163 wrpr %g0, %o2, %pstate /* restore the PSTATE */ 174 wrpr %g0, %o3, %pstate 177 wrpr %g0, %o2, %pstate /* restore pstate */ 191 wrpr %g0, %o4, %pstate /* restore earlier pstate register value */ [all …]
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/sparc/pid/ |
H A D | tst.br.S | 44 brlz %g0, 1f 48 brnz %g0, 1f 49 sub %g0, 2, %g1 52 brgz %g0, 1f 66 stb %g0, [%fp - 4] 78 restore %g0, %g0, %o0
|
/illumos-gate/usr/src/lib/brand/shared/brand/sparc/ |
H A D | handler.S | 84 stn %g0, [%sp + EH_LOCALS_GREG(REG_G1)] /* %g1 is lost */ 88 stn %g0, [%sp + EH_LOCALS_GREG(REG_G5)] /* %g5 is lost */ 105 stn %g0, [%sp + EH_LOCALS_GREG(REG_ASI)] 133 cmp %g1, %g0 /* saved syscall number */ 193 cmp %g0, %o0 196 subcc %g0, 1, %g0 /* failure, set carry flag */ 205 mov %g0, %i1 /* clear second rval */ 208 addcc %g0, %g0, %g0 /* success, clear carry flag */
|