/illumos-gate/usr/src/lib/libc/capabilities/sun4v/common/ |
H A D | memset.S | 79 and %o1, 0xff, %o1 ! o1 is (char)c 81 sll %o1, 8, %o3 82 or %o1, %o3, %o1 ! now o1 has 2 bytes of c 83 sll %o1, 16, %o3 87 or %o1, %o3, %o1 ! now o1 has 4 bytes of c 89 sllx %o1, 32, %o3 90 or %o1, %o3, %o1 ! now o1 has 8 bytes of c 121 stx %o1, [%o5] 135 stxa %o1, [%o5+0x0]%asi 140 stxa %o1, [%o5+0x8]%asi [all …]
|
H A D | memcpy.S | 252 srlx %o1, %g5, %o1 313 add %o1, %o0, %o1 ! restore %o1 390 add %o1, 8, %o1 435 add %o1, 16, %o1 483 add %o1, 24, %o1 533 add %o1, 32, %o1 584 add %o1, 40, %o1 638 add %o1, 48, %o1 694 add %o1, 56, %o1 1775 add %o1, 8, %o1 [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | hwmuldiv.S | 36 smul %o0, %o1, %o0 37 rd %y, %o1 45 rd %y, %o1 105 srl %o1, 0, %o1; \ 108 or %o0, %o1, %o1; \ 116 sdivx %o1, %o2, %o1 126 udivx %o1, %o2, %o1 139 sub %o1, %o0, %o1 ! %o1 = (a < b) ? a : b = min(a, b) 141 mulx %o1, %o2, %o1 ! min(a, b) in "rs1" for early exit 154 sub %o1, %o3, %o1 [all …]
|
/illumos-gate/usr/src/uts/sun4u/opl/ml/ |
H A D | drmach_asm.S | 76 sub %o1, 8, %o1 77 brnz %o1, 0b 126 set 1, %o1 127 sllx %o1, MCNTL_SPECULATIVE_SHIFT, %o1 179 sub %o1, 8, %o1 180 brnz %o1, 0b 202 st %l7, [%o1] 228 andn %o1, %o2, %o1 345 sub %o1, 2, %o1 462 sub %o1, 8, %o1 [all …]
|
/illumos-gate/usr/src/uts/sparc/v9/ml/ |
H A D | crt.S | 54 and %o1, MASK, %o4 63 subcc %o1, 4, %o1 88 subcc %o1, 2, %o1 102 srl %o1, 0, %o1; \ 105 or %o0, %o1, %o1; \ 113 sub %o1, %o0, %o1 ! %o1 = (a < b) ? a : b = min(a, b) 115 mulx %o1, %o2, %o1 ! min(a, b) in "rs1" for early exit 123 sdivx %o1, %o2, %o1 130 udivx %o1, %o2, %o1 139 sub %o1, %o3, %o1 [all …]
|
/illumos-gate/usr/src/common/atomic/sparc/ |
H A D | atomic.S | 96 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 97 and %o1, %o3, %o1 ! %o1 = single byte value 169 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 170 and %o1, %o3, %o1 ! %o1 = single short value 312 add %o2, %o1, %o1 ! return lower 32-bits in %o1 333 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 334 and %o1, %o3, %o1 ! %o1 = single byte value 369 and %o1, %o3, %o1 ! %o1 = single short value 434 or %o2, %o1, %o1 ! return lower 32-bits in %o1 570 and %o1, %o3, %o1 ! %o1 = single byte value [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/crt/ |
H A D | __align_cpy_4.S | 62 cmp %o0, %o1 78 add %o1, 4, %o1 96 add %o1, 16, %o1 112 add %o1, 8, %o1 148 add %o1, 4, %o1 150 cmp %o1, %g5 158 add %o1, 8, %o1 161 cmp %o1, %g5 170 add %o1, 12, %o1 174 cmp %o1, %g5 [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strcpy.S | 65 sub %o1, %o0, %o3 ! src - dst 72 ldub [%o2 + %o3], %o1 ! src[0] 73 tst %o1 ! byte zero? 74 stb %o1, [%o2] ! store first byte 81 lduh [%o2 + %o3], %o1 ! src[] 100 lduw [%o2 + %o3], %o1 ! src word 103 sub %o1, %o4, %o1 ! word - 0x01010101 105 add %o1, %o4, %o1 ! restore word 134 lduw [%o2 + %o3], %o1 ! src word 137 lduw [%o2 + %o3], %o1 ! src word [all …]
|
H A D | memcmp.S | 62 sub %o1, %o0, %o1 74 inc %o1 85 inc 1, %o1 92 1: inc %o1 156 inc 1, %o1 160 sub %o1, %o0, %o1 179 inc 2, %o1 183 sub %o1, %o0, %o1 202 inc 2, %o1 205 sub %o1, %o0, %o1 [all …]
|
H A D | strlen.S | 69 lduh [%o2], %o1 71 ldub [%o2], %o1 79 lduh [%o2], %o1 82 srl %o1, 8, %o4 93 ld [%o2], %o1 99 andn %o5, %o1, %o3 100 sub %o1, %o4, %g1 105 ld [%o2+4], %o1 114 ld [%o2], %o1 119 andcc %o1, %o4, %g0 [all …]
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-opl/common/ |
H A D | memcpy.S | 103 sub %o1, 4, %o1 195 sub %o1, 8, %o1 ! decrease src ptr by 8 220 sub %o1, %o4, %o1 ! 305 sub %o1, 4, %o1 350 add %o1, 4, %o1 ! advance SRC by 4 384 add %o1, 8, %o1 ! update SRC 396 add %o1, 4, %o1 674 add %o1, 8, %o1 ! update SRC 680 add %o1, 16, %o1 ! update SRC 699 sub %o1, 8, %o1 [all …]
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | hcall.S | 84 stx %o1, [%o2] 111 mov %o1, %o0 113 cmp %o1, H_HUP 115 mov %o1, %o0 251 mov %o1, %o2 280 mov %o1, %o2 309 mov %o1, %o2 378 mov %o1, %o2 448 mov %o1, %o4 463 mov %o1, %o2 [all …]
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4u-us3/common/ |
H A D | memcpy.S | 98 sub %o1, 4, %o1 219 sub %o1, 8, %o1 ! decrease src ptr by 8 244 sub %o1, %o4, %o1 ! 328 sub %o1, 4, %o1 371 add %o1, 4, %o1 ! advance SRC by 4 405 add %o1, 8, %o1 ! update SRC 417 add %o1, 4, %o1 691 add %o1, 8, %o1 ! update SRC 697 add %o1, 16, %o1 ! update SRC 716 sub %o1, 8, %o1 [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | memcmp.S | 61 sub %o1, %o0, %o1 73 inc %o1 84 inc 1, %o1 91 1: inc %o1 153 inc 1, %o1 157 sub %o1, %o0, %o1 176 inc 2, %o1 180 sub %o1, %o0, %o1 199 inc 2, %o1 201 sub %o1, %o0, %o1 [all …]
|
H A D | strncpy.S | 71 add %o1, %o2, %o3 ! src = src + n 78 ldub [%o3 + %g4], %o1 ! src[] 110 ldx [%o3 + %g4], %o1 ! src dword 124 srlx %o1, 56, %g1 ! first byte 128 srlx %o1, 48, %g1 ! second byte 132 srlx %o1, 40, %g1 ! third byte 136 srlx %o1, 32, %g1 ! fourth byte 140 srlx %o1, 24, %g1 ! fifth byte 144 srlx %o1, 16, %g1 ! sixth byte 148 srlx %o1, 8, %g1 ! seventh byte [all …]
|
H A D | strcpy.S | 64 sub %o1, %o0, %o3 ! src - dst 65 andcc %o1, 7, %o4 ! dword aligned ? 70 andcc %o1, 1, %g0 ! need to copy byte ? 133 ldx [%o2 + %o3], %o1 ! src dword 178 stb %o1, [%o2 - 1] ! store eigth byte 185 ldx [%o2 + %o3], %o1 ! x = src[] 198 stb %o1, [%o2 - 1] ! store eigth byte 204 ldx [%o2 + %o3], %o1 ! x = src[] 217 stb %o1, [%o2 - 1] ! store eigth byte 223 ldx [%o2 + %o3], %o1 ! x = src[] [all …]
|
H A D | memset.S | 81 and %o1, 0xff, %o1 83 sll %o1, 8, %o4 ! generate 4 bytes filled with char 84 or %o1, %o4, %o1 85 sll %o1, 16, %o4 88 or %o1, %o4, %o1 90 sllx %o1, 32, %o4 ! now fill the other 4 bytes with char 91 or %o1, %o4, %o1 99 stb %o1, [%o5] ! clear a byte 105 stx %o1, [%o5] ! write aligned 8 bytes 119 stb %o1, [%o5] ! clear a byte [all …]
|
H A D | strlen.S | 69 lduh [%o2], %o1 71 ldub [%o2], %o1 79 lduh [%o2], %o1 82 srl %o1, 8, %o4 93 ld [%o2], %o1 99 andn %o5, %o1, %o3 100 sub %o1, %o4, %g1 105 ld [%o2+4], %o1 114 ld [%o2], %o1 119 andcc %o1, %o4, %g0 [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | __quad.S | 55 ldd [%o1],%f4 66 ldd [%o1],%f4 77 ldd [%o1],%f4 88 ldd [%o1],%f4 100 std %f4,[%o1] 108 ldd [%o1],%f4 118 ldd [%o1],%f4 128 std %f4,[%o1] 136 std %f4,[%o1] 146 st %f4,[%o1] [all …]
|
/illumos-gate/usr/src/common/crypto/arcfour/sun4u/ |
H A D | arcfour_crypt_asm.S | 70 add %g1, 1, %o1 74 add %o1, 1, %g1 75 and %o1, 255, %o1 103 and %o1, 255, %o1 142 and %o1, 255, %o1 182 and %o1, 255, %o1 224 and %o1, 255, %o1 267 and %o1, 255, %o1 310 and %o1, 255, %o1 350 and %o1, 255, %o1 [all …]
|
/illumos-gate/usr/src/common/atomic/sparcv9/ |
H A D | atomic.S | 217 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 218 and %o1, %o3, %o1 ! %o1 = single byte value 290 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 291 and %o1, %o3, %o1 ! %o1 = single short value 458 sll %o1, %g1, %o1 ! %o1 = shifted to bit offset 459 and %o1, %o3, %o1 ! %o1 = single byte value 494 and %o1, %o3, %o1 ! %o1 = single short value 703 and %o1, %o3, %o1 ! %o1 = single byte value 734 and %o1, %o3, %o1 ! %o1 = single short value 783 and %o1, %o3, %o1 ! %o1 = single byte value [all …]
|
/illumos-gate/usr/src/common/bignum/sun4u/ |
H A D | mont_mulf_v8plus.s | 177 /* 0x0038 */ add %o1,1023,%o1 775 /* 0x02a4 143 */ srl %o1,16,%o1 889 /* 0x00bc 166 */ ld [%o1],%o1 1094 /* 0x0090 */ add %o1,8,%o1 1100 /* 0x00a4 */ add %o1,16,%o1 1113 /* 0x00cc */ add %o1,8,%o1 1194 /* 0x0200 */ add %o1,3,%o1 1252 /* 0x02dc */ add %o1,1,%o1 1281 /* 0x0348 218 */ add %g5,%o1,%o1 1300 /* 0x0390 */ add %o1,16,%o1 [all …]
|
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp.il.cpp | 88 add %o1, 8, %o1 90 add %o1, 8, %o1 92 add %o1, 8, %o1 203 wr %o1, 0, %asi 236 wrpr %g0, %o1, %pstate 241 ldx [%o2], %o1 242 ldx [%o2 + 16], %o1 243 cmp %g0, %o1 250 ldx [%o0], %o1 251 brz,pn %o1, 5f [all …]
|
/illumos-gate/usr/src/uts/sun4v/vm/ |
H A D | mach_sfmmu_asm.S | 112 mov %o1, %g4 127 mov %g4, %o1 165 mov %o1, %g4 168 clr %o1 174 mov %g4, %o1 230 mov 1, %o1 231 st %o1, [%o2] 233 mov %o1, %o0 286 ldx [%o0 + SFMMU_TSB], %o1 ! %o1 = first tsbinfo 309 ldx [%g3 + SFMMU_TSB], %o1 ! %o1 = first scd tsbinfo [all …]
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | mach_xc.S | 85 mov %o1, %g1 104 ldn [%o1], %g2 136 ldn [%o1], %g2 138 add %o1, CLONGSIZE, %o1 139 cmp %o1, %g5 143 add %o1, CLONGSIZE, %o1 144 cmp %o1, %g5 148 add %o1, CLONGSIZE, %o1 149 cmp %o1, %g5 153 add %o1, CLONGSIZE, %o1 [all …]
|