/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | strncmp.S | 65 ldub [%i0], %i4 ! else cmp one byte 68 cmp %i4, %i5 71 tst %i4 ! terminating zero 101 ld [%i0 + %i1], %i4 105 cmp %i4, %i5 108 add %i4, %l6, %l3 110 1: xor %l3, %i4, %l3 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 [all …]
|
H A D | strncpy.S | 82 ldub [%i3 + %i4], %i1 ! src[] 83 stb %i1, [%i2 + %i4] ! dst[] = src[] 84 inccc %i4 ! src++, dst++, n-- 88 add %i2, %i4, %l0 ! need single dest pointer for fill 94 add %i2, %i4, %l0 ! dst 103 lduw [%i3 + %i4], %i1 ! src dword 104 addcc %i4, 4, %i4 ! n += 4, src += 4, dst += 4 110 stw %i1, [%i2 + %i4] ! store word to dst (address pre-incremented) 116 add %i2, %i4, %l0 ! pointer to dest string 135 addcc %i4, 8, %g0 ! number of pad bytes < 8 ? [all …]
|
H A D | strlcpy.S | 62 andcc %i1, 3, %i4 ! word aligned? 65 sub %i4, 4, %i4 ! bytes until src aligned 75 addcc %i4, 1, %i4 ! incr, check align 80 sethi %hi(0x01010101), %i4 82 or %i4, %lo(0x01010101), %i4 86 sll %i4, 7, %i5 ! Mycroft part deux 93 sub %l1, %i4, %l0 ! word - 0x01010101 159 sub %l1, %i4, %l0 ! word - 0x01010101 187 sub %l1, %i4, %l0 ! x - 0x01010101 204 sub %l1, %i4, %l0 ! x - 0x01010101 [all …]
|
H A D | ascii_strcasecmp.S | 132 sethi %hi(0x80808080), %i4 ! start loading Mycroft's magic1 174 or %i4, %lo(0x80808080),%i4! finish loading Mycroft's magic1 204 or %i4, %lo(0x80808080),%i4! finish loading Mycroft's magic1 231 andn %i4, %i0, %l4 ! ~word & 0x80808080 240 andn %i3, %i4, %l0 ! q1 = x1 & ~m1 241 andn %g1, %i4, %l4 ! q2 = x2 & ~m1 248 andn %i4, %i3, %l0 ! q1 = m1 & ~x1 249 andn %i4, %g1, %l4 ! q2 = m1 & ~x2 259 andn %i4, %i3, %l4 ! ~word & 0x80808080 279 andn %i3, %i4, %l0 ! q1 = x1 & ~m1 [all …]
|
H A D | memmove.S | 45 sub %i0, %i1, %i4 ! get difference of two addresses 46 cmp %i2, %i4 ! compare size and difference of addresses 69 srl %i3, 8, %i4 70 stb %i4, [%i0] ! have to do bytes,
|
H A D | smt_pause.S | 52 and %i5, 0x3, %i4 ! save last 2 bits 53 sll %i4, 0x6, %i2 ! pick a slot
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | strncmp.S | 65 ldub [%i0], %i4 ! else cmp one byte 68 cmp %i4, %i5 71 tst %i4 ! terminating zero 101 lduw [%i0 + %i1], %i4 105 cmp %i4, %i5 108 add %i4, %l6, %l3 110 1: xor %l3, %i4, %l3 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 [all …]
|
H A D | ascii_strcasecmp.S | 132 sethi %hi(0x80808080), %i4 ! start loading Mycroft's magic1 174 or %i4, %lo(0x80808080),%i4! finish loading Mycroft's magic1 204 or %i4, %lo(0x80808080),%i4! finish loading Mycroft's magic1 231 andn %i4, %i0, %l4 ! ~word & 0x80808080 240 andn %i3, %i4, %l0 ! q1 = x1 & ~m1 241 andn %g1, %i4, %l4 ! q2 = x2 & ~m1 248 andn %i4, %i3, %l0 ! q1 = m1 & ~x1 249 andn %i4, %g1, %l4 ! q2 = m1 & ~x2 259 andn %i4, %i3, %l4 ! ~word & 0x80808080 280 andn %i3, %i4, %l0 ! q1 = x1 & ~m1 [all …]
|
H A D | memmove.S | 45 sub %i0, %i1, %i4 ! get difference of two addresses 46 cmp %i2, %i4 ! compare size and difference of addresses 69 srl %i3, 8, %i4 70 stb %i4, [%i0] ! have to do bytes,
|
H A D | strlcpy.S | 65 andcc %i1, 7, %i4 ! src dword aligned ? 68 sub %i4, 8, %i4 ! bytes until src aligned 78 addcc %i4, 1, %i4 ! src aligned now? 83 sethi %hi(0x01010101), %i4 ! Alan Mycroft's magic1 107 sub %l1, %i4, %l0 ! dword - 0x0101010101010101 239 sub %l1, %i4, %l0 ! dword - 0x0101010101010101 263 sub %l1, %i4, %l0 ! x - 0x0101010101010101 281 sub %l1, %i4, %l0 ! x - 0x0101010101010101 299 sub %l1, %i4, %l0 ! x - 0x0101010101010101 317 sub %l1, %i4, %l0 ! x - 0x0101010101010101 [all …]
|
/illumos-gate/usr/src/lib/libc/capabilities/sun4u/common/ |
H A D | memcpy.S | 307 ! %i4 = doubles remaining (length - blocks) 310 sub %i2, %i3, %i4 311 andn %i4, 7, %i4 312 sub %i4, 16, %i4 313 sub %i2, %i4, %i2 321 add %i1, %i4, %i1 1088 subcc %i4, 8, %i4 1094 subcc %i4, 8, %i4 1100 subcc %i4, 8, %i4 1106 subcc %i4, 8, %i4 [all …]
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | spitfire_copy.S | 798 ! %i4 = doubles remaining (length - blocks) 801 sub %i2, %i3, %i4 802 andn %i4, 7, %i4 803 sub %i4, 16, %i4 804 sub %i2, %i4, %i2 812 add %i1, %i4, %i1 1317 subcc %i4, 8, %i4 1323 subcc %i4, 8, %i4 1329 subcc %i4, 8, %i4 1335 subcc %i4, 8, %i4 [all …]
|
/illumos-gate/usr/src/uts/sun4u/sunfire/ml/ |
H A D | ac_asm.S | 51 ! i4 = cache of fpu state 59 rd %fprs, %i4 60 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 93 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 104 wr %g0, %i4, %fprs ! fpu back to the way it was
|
/illumos-gate/usr/src/common/bignum/sun4u/ |
H A D | mont_mulf_kernel_v9.S | 332 /* 0x0014 */ or %g0,0,%i4 338 /* 0x0024 */ sethi %hi(0xfff00000),%i4 339 /* 0x0028 */ sllx %i4,32,%o2 352 /* 0x0050 117 */ srlx %g4,%l1,%i4 409 /* 0x00f0 121 */ and %i4,%l6,%g4 428 /* 0x0130 122 */ srax %i4,32,%g3 438 /* 0x0150 */ and %i3,%l7,%i4 442 /* 0x0160 */ or %i4,%l3,%i3 465 /* 0x0188 128 */ or %g0,%l1,%i4 481 /* 0x01a8 */ add %o3,%i4,%l2 [all …]
|
/illumos-gate/usr/src/lib/libc/sparcv9/fp/ |
H A D | __quad_mag64.S | 264 ld [%i3],%i4 ! get the rounding mode 265 srl %i4,30,%l3 ! l3 = rm 276 or %i4,1,%i4 314 srl %i4,23,%i5 317 or %i4,%i5,%i4 322 or %i4,9,%i4 ! overflow 339 st %i4,[%i3] 598 ld [%i3],%i4 ! get the rounding mode 599 srl %i4,30,%l3 ! l3 = rm 673 srl %i4,23,%i5 [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/vis/ |
H A D | __vexpf.S | 201 ! i4 stridey 301 sll %i4,2,%i4 607 add %i3,%i4,%o4 ! py += stridey 611 add %o4,%i4,%i3 ! py += stridey 615 add %i3,%i4,%o4 ! py += stridey 619 add %o4,%i4,%i3 ! py += stridey 624 add %i3,%i4,%o4 ! py += stridey 628 add %o4,%i4,%o5 ! py += stridey 629 add %i4,%i4,%o7 633 add %o5,%i4,%o4 ! py += stridey [all …]
|
H A D | __vrhypot.S | 287 sll %i4,3,stridey 308 ldx [%fp+tmp_px],%i4 315 lda [%i4]0x82,%o1 ! (7_0) hx0 = *(int*)px; 316 add %i4,stridex,%i1 381 lda [%i4]%asi,%f10 ! (7_1) ((float*)&x0)[0] = ((float*)px)[0]; 383 lda [%i4+4]%asi,%f11 ! (7_1) ((float*)&x0)[1] = ((float*)px)[1]; 387 add %i1,stridex,%i4 ! px += stridex 391 add %i4,stridex,%i1 ! px += stridex 395 lda [%i4]0x82,%o1 ! (1_0) hx0 = *(int*)px; 510 lda [%i4]%asi,%f10 ! (1_0) ((float*)&x0)[0] = ((float*)px)[0]; [all …]
|
H A D | __vpow.S | 1078 sra %i4,0,stridey 1169 and MASK_0x000fffff,%l0,%i4 ! (Y1_2) hx &= 0xfffff; 1172 or MASK_0x3ff00000,%i4,%i4 ! (Y1_2) hx |= 0x3ff00000; 1174 st %i4,[%fp+tmp0_hi] ! (Y1_2) *(int*)&x = hx; 1175 add %i4,2048,%i4 ! (Y1_2) hx += 0x800; 1178 and %i4,-4096,%i4 ! (Y1_2) hx &= 0xfffff000; 1180 st %i4,[%fp+tmp1_hi] ! (Y1_2) *(int*)&ax = hx; 1274 sra %i4,20,%l0 ! (Y1_1) itmp0 = (hx >> 20); 1311 sra %i4,8,%o0 ! (Y1_1) i = (hx >> 8); 1337 and MASK_0x000fffff,%l0,%i4 ! (Y1_2) hx &= 0xfffff; [all …]
|
H A D | __vlog.S | 140 ! i4 stridey 219 sll %i4,3,%i4 239 sub %i3,%i4,%i3 259 add %i3,%i4,%i3 ! y += stridey 338 add %i3,%i4,%i3 ! y += stridey 417 add %i3,%i4,%i3 ! y += stridey 533 add %i3,%i4,%i3 ! y += stridey 552 add %i3,%i4,%i3 ! y += stridey 583 add %i3,%i4,%i3 ! y += stridey 602 add %i3,%i4,%i3 ! y += stridey [all …]
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic_copy.S | 128 ! i3, i4 - tmps for used generating complete word 140 clr %i4 ! clear registers used in either case 149 or %i4, %i3, %i4 ! or in with previous bytes (if any) 153 sll %i4, 8, %i4 ! make room for next byte 156 sll %i4, %l1, %i4 ! prepare to get rest 160 or %i4, %i5, %i5 ! merge 163 srl %i5, %l3, %i4 ! prepare to write a single byte 164 stb %i4, [%i1] ! write a byte 183 srl %i3, %l0, %i4 184 or %i5, %i4, %i5 [all …]
|
/illumos-gate/usr/src/test/util-tests/tests/dis/sparc/ |
H A D | tst.regs.s | 51 add %i2, %i3, %i4 52 add %i3, %i4, %i5 53 add %i4, %i5, %fp
|
H A D | tst.regs.out | 27 libdis_test+0x68: b8 06 80 1b add %i2, %i3, %i4 28 libdis_test+0x6c: ba 06 c0 1c add %i3, %i4, %i5 29 libdis_test+0x70: bc 07 00 1d add %i4, %i5, %fp
|
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp_asm.S | 209 ! i4 = cache of fpu state 217 rd %fprs, %i4 218 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 251 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 262 wr %g0, %i4, %fprs ! fpu back to the way it was
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vlogf.c | 151 int i0, i1, i2, i3, i4; in __vlogf() local 204 i4 = ival4 >> 17; in __vlogf() 216 ty4 = LN2 * (double) exp4 + __TBL_logf[i4]; in __vlogf() 222 yy4 = (double) iy4 * __TBL_logf[i4 + 1]; in __vlogf()
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/ |
H A D | tst.InlineKinds.d | 48 inline int i4[int x, int y] = x + y; /* associative array */ 58 printf("i4[10, 20] = %d\n", i4[10, 20]);
|