/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, [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, [all...] |
H A D | smt_pause.s | 52 and %i5, 0x3, %i4 ! save last 2 bits 53 sll %i4, 0x6, %i2 ! pick a slot
|
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, [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, 80 w3cp: ld [%i1], %i4 82 srl %i4, 24, %i5 91 1: sll %i4, 8, %g1 ! save residual bytes 92 ld [%i1+%i0], %i4 94 srl %i4, 24, %i5 ! merge with residual 104 w1cp: srl %i4, [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, [all...] |
/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, [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, 80 w3cp: lduw [%i1], %i4 82 srl %i4, 24, %i5 91 1: sll %i4, 8, %g1 ! save residual bytes 92 lduw [%i1+%i0], %i4 94 srl %i4, 24, %i5 ! merge with residual 104 w1cp: srl %i4, [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, [all...] |
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 85 or %i4, %lo(0x01010101),%i4! finish loading magic1 87 sllx %i4, 32, %l1 ! spread magic1 89 or %i4, [all...] |
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/inline/ |
H A D | tst.InlineKinds.d | 50 inline int i4[int x, int y] = x + y; /* associative array */ 60 printf("i4[10, 20] = %d\n", i4[10, 20]);
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/sparc/ |
H A D | sendsig.s | 48 jmpl %i4, %o7 ! call the signal handler
|
/illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
H A D | sun4u_srt0.s | 109 stx %i4, [%o1 + %lo(_local_p1275cif)] 111 mov %i4, %o0 ! SPARCV9/CIF
|
/illumos-gate/usr/src/psm/stand/bootlst/sparc/ |
H A D | srt0.s | 81 stx %i4, [%g2] 83 mov %i4, %o0 ! SPARCV9/CIF
|
/illumos-gate/usr/src/uts/sun4u/sunfire/ml/ |
H A D | ac_asm.s | 63 ! i4 = cache of fpu state 71 rd %fprs, %i4 72 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 105 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 116 wr %g0, %i4, %fprs ! fpu back to the way it was
|
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/ |
H A D | cb_srt0.s | 99 stx %i4, [%g2] 100 mov %i4, %o0 ! SPARCV9/CIF
|
/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 [all...] |
/illumos-gate/usr/src/lib/libbc/sparc/inc/sparc/ |
H A D | asm_linkage.h | 259 std %i4, [RP + O4*4]; \ 265 ldd [RP + O4*4], %i4; \ 275 std %i4, [SBP + (12*4)]; \ 285 ldd [SBP + (12*4)], %i4; \ 303 st %i4, [SBP + (12*4)]; \ 321 ld [SBP + (12*4)], %i4; \
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | spitfire_copy.s | 820 ! %i4 = doubles remaining (length - blocks) 823 sub %i2, %i3, %i4 824 andn %i4, 7, %i4 825 sub %i4, 16, %i4 826 sub %i2, %i4, %i2 834 add %i1, %i4, %i1 1339 subcc %i4, 8, %i4 [all...] |
/illumos-gate/usr/src/common/bignum/sun4u/ |
H A D | mont_mulf_kernel_v9.s | 369 /* 0x0014 */ or %g0,0,%i4 375 /* 0x0024 */ sethi %hi(0xfff00000),%i4 376 /* 0x0028 */ sllx %i4,32,%o2 389 /* 0x0050 117 */ srlx %g4,%l1,%i4 446 /* 0x00f0 121 */ and %i4,%l6,%g4 465 /* 0x0130 122 */ srax %i4,32,%g3 475 /* 0x0150 */ and %i3,%l7,%i4 479 /* 0x0160 */ or %i4,%l3,%i3 502 /* 0x0188 128 */ or %g0,%l1,%i4 518 /* 0x01a8 */ add %o3,%i4, [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,[ [all...] |
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vlogf.c | 151 int i0, i1, i2, i3, i4; local 204 i4 = ival4 >> 17; 216 ty4 = LN2 * (double) exp4 + __TBL_logf[i4]; 222 yy4 = (double) iy4 * __TBL_logf[i4 + 1];
|
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/ |
H A D | sbdp_asm.s | 250 ! i4 = cache of fpu state 258 rd %fprs, %i4 259 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 292 btst (FPRS_DU|FPRS_DL|FPRS_FEF), %i4 303 wr %g0, %i4, %fprs ! fpu back to the way it was
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | generic_copy.s | 148 ! i3, i4 - tmps for used generating complete word 160 clr %i4 ! clear registers used in either case 169 or %i4, %i3, %i4 ! or in with previous bytes (if any) 173 sll %i4, 8, %i4 ! make room for next byte 176 sll %i4, %l1, %i4 ! prepare to get rest 180 or %i4, %i5, %i5 ! merge 183 srl %i5, %l3, %i4 ! prepar [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, [all...] |