Searched refs:i0 (Results 1 - 25 of 26) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/gen/
H A D_ftoll.c48 int i0, i1; /* bitslam */ local
64 i0 = u.i[0];
67 exp = ((i0 >> 20) & 0x7ff) - 0x3ff;
72 * fp_invalid NOT raised if <i0,i1> == LLONG_MIN
74 if (i0 >= 0 || exp != 63 || (i0 & 0xfffff) != 0 || i1 != 0) {
82 if (i0 < 0)
90 m0 = 0x40000000 | ((i0 << 10) & 0x3ffffc00) | ((i1 >> 22) & 0x3ff);
116 if (i0 < 0) {
133 int i0; local
216 int i0; local
[all...]
H A D_ftoull.c51 int i0; /* bitslam */ local
68 i0 = u.i[0];
71 exp = ((i0 >> 20) & 0x7ff) - 0x3ff;
82 if (i0 < 0)
90 m0 = 0x80000000 | ((i0 << 11) & 0x7ffff800) | ((i1 >> 21) & 0x7ff);
115 if (i0 < 0) {
140 int i0; /* bitslam */ local
156 i0 = u.i;
158 exp = ((i0 >> 23) & 0xff) - 0x7f;
169 if (i0 <
227 int i0; local
[all...]
/osnet-11/usr/src/lib/libc/capabilities/sun4u/common/
H A Dmemcpy.s290 std %d8, [%i0]
293 add %i0, 8, %i0
298 std %d8, [%i0]
301 add %i0, 8, %i0
416 stda %d48, [%i0]ASI_BLK_P
420 add %i0, 64, %i0
424 stda %d48, [%i0]ASI_BLK_
[all...]
H A Dmemcmp.s182 ldd [%i0], %d6
189 sub %i1, %i0, %i1 ! i1 gets the difference
191 add %i0, 8, %i0
227 ldda [%i0]ASI_BLK_P, %d32
298 add %l4, %i0, %i0
301 sub %i1, %i0, %i1
328 add %i0, 64, %i0
[all...]
/osnet-11/usr/src/lib/libc/sparc/gen/
H A Dmemmove.s40 mov %i0, %l6 ! Save pointer to destination
41 cmp %i1, %i0 ! if from address is >= to use forward copy
45 sub %i0, %i1, %i4 ! get difference of two addresses
60 stb %i3, [%i0] ! move a byte to align src
61 inc 1, %i0
65 andcc %i0, 3, %i5
70 stb %i4, [%i0] ! have to do bytes,
71 stb %i3, [%i0 + 1] ! don't know dst alingment
72 inc 2, %i0
75 aldst: andcc %i0,
[all...]
H A Dascii_strcasecmp.s128 subcc %i0, %i1, %i2 ! s1 == s2 ?
130 andcc %i0, 3, %i3 ! s1 word-aligned ?
134 ldub [%i1 + %i2], %i0 ! s1[0]
136 sub %i0, 'A', %l0 ! transform for faster uppercase check
140 add %i0, ('a' - 'A'), %i0 ! s1[0] = tolower(s1[0])
146 subcc %i0, %g1, %i0 ! tolower(s1[0]) != tolower(s2[0]) ?
149 addcc %i0, %g1, %i0 ! s
[all...]
H A Dstrncmp.s56 sub %i0, %i1, %i0 ! delay slot, get diff from s1 - s2
57 andcc %i0, 3, %g0 ! is s1 aligned
65 ldub [%i0], %i4 ! else cmp one byte
67 inc %i0
73 andcc %i0, 3, %g0
91 sub %i0, %i1, %i0
97 inc %i0 ! reset s1 diff
101 ld [%i0
[all...]
H A Dstrlcpy.s64 add %i0, %i2, %i2 ! n = dst + n
118 sub %i2, %i0, %i0 ! len = dst - orig dst
120 restore %i0, %g0, %o0
173 sub %i3, %i1, %i0 ! len = src - orig src
175 restore %i0, %g0, %o0
230 sub %i3, %i1, %i0 ! len = src - orig src
232 restore %i0, %g0, %o0
/osnet-11/usr/src/lib/libc/sparcv9/gen/
H A Dmemmove.s40 mov %i0, %l6 ! Save pointer to destination
41 cmp %i1, %i0 ! if from address is >= to use forward copy
45 sub %i0, %i1, %i4 ! get difference of two addresses
60 stb %i3, [%i0] ! move a byte to align src
61 inc 1, %i0
65 andcc %i0, 3, %i5
70 stb %i4, [%i0] ! have to do bytes,
71 stb %i3, [%i0 + 1] ! don't know dst alingment
72 inc 2, %i0
75 aldst: andcc %i0,
[all...]
H A Dsmt_pause.s46 add %fp, STACK_BIAS-BANKS, %i0
49 add %i1, %i0, %o0
H A Dascii_strcasecmp.s128 subcc %i0, %i1, %i2 ! s1 == s2 ?
130 andcc %i0, 3, %i3 ! s1 word-aligned ?
134 ldub [%i1 + %i2], %i0 ! s1[0]
136 sub %i0, 'A', %l0 ! transform for faster uppercase check
140 add %i0, ('a' - 'A'), %i0 ! s1[0] = tolower(s1[0])
146 subcc %i0, %g1, %i0 ! tolower(s1[0]) != tolower(s2[0]) ?
149 addcc %i0, %g1, %i0 ! s
[all...]
H A Dstrncmp.s56 sub %i0, %i1, %i0 ! delay slot, get diff from s1 - s2
57 andcc %i0, 3, %g0 ! is s1 aligned
65 ldub [%i0], %i4 ! else cmp one byte
67 inc %i0
73 andcc %i0, 3, %g0
91 sub %i0, %i1, %i0
97 inc %i0 ! reset s1 diff
101 lduw [%i0
[all...]
H A Dstrlcpy.s67 add %i0, %i2, %i2 ! dst = dst + n
157 sub %i2, %i0, %i0 ! len = dst - orig dst
159 restore %i0, %g0, %o0 ! restore register window, return len
253 sub %i3, %i1, %i0 ! len = src - orig src
255 restore %i0, %g0, %o0 ! restore register window, return len
354 sub %i3, %i1, %i0 ! len = src - orig src
356 restore %i0, %g0, %o0 ! restore register window, return len
/osnet-11/usr/src/lib/libc/sparc/crt/
H A Dcerror.s50 st %i0, [%o0]
H A Dcerror64.s45 st %i0, [%o0]
H A Dstret.s34 #define TO %i0
H A D_rtboot.s154 mov %l0, %i0 ! set up parameter
160 mov %i0, %o1 ! set up pointer
163 ldub [%i0 + %o2], %o0 ! get byte
/osnet-11/usr/src/lib/libc/sparcv9/crt/
H A Dcerror.s48 st %i0, [%o0]
/osnet-11/usr/src/lib/libc/sparc/sys/
H A Dsyscall.s64 mov %i0, %g1 ! sysnum
67 sra %o0, 0, %i0 ! (int) cast
111 stn %g1, [%i0] /* error */
113 stn %g1, [%i0 + CLONGSIZE]
115 stn %o0, [%i0] /* no error */
117 stn %o1, [%i0 + CLONGSIZE]
/osnet-11/usr/src/lib/libc/capabilities/sun4v/common/
H A Dsmt_pause.s58 add %fp, STACK_BIAS-BANKS, %i0
61 add %i1, %i0, %o0
/osnet-11/usr/src/lib/libpp/common/
H A Dppcontrol.c285 static int i0; local
522 i0 = *p0;
545 *p0 = i0;
551 if (!(i0 = regexec(&edit->re, p, elementsof(match), match, 0)))
554 if (i0 = regsubexec(&edit->re, p, elementsof(match), match))
555 regfatal(&edit->re, 4, i0);
560 else if (i0 != REG_NOMATCH)
561 regfatal(&edit->re, 4, i0);
581 *p0 = i0;
661 i0
[all...]
/osnet-11/usr/src/lib/brand/shared/brand/sparc/
H A Dhandler.s91 stn %i0, [%sp + EH_LOCALS_GREG(REG_O0)]
136 mov %i0, %l3 /* %i0 == syscall number */
152 mov %i0, %o1
198 mov %o0, %i0 /* return, %o0 == errno */
202 ldn [%sp + EH_LOCALS_SYSRET1], %i0 /* %i0 == sys_rval1 */
/osnet-11/usr/src/lib/libc/sparc/threads/
H A Dasm_subr.s141 mov %i0, %o0
/osnet-11/usr/src/lib/libc/sparcv9/fp/
H A D__quad_mag64.s182 ldx [%i0],%o0
236 ldx [%i0+8],%o3
256 ldx [%i0+8],%o2 ! (full prenormalization shift case)
503 ldx [%i0],%o0
590 ldx [%i0+8],%o3 ! subtract, propagating borrows
/osnet-11/usr/src/lib/libc/capabilities/sun4v-fjathena/common/
H A Dmemcmp.s292 or %o0, %o3, %o0 ! %i0 <-- dw0
306 or %o0, %o3, %o0 ! %i0 <-- dw0
318 subcc %i2, %g0, %i0
369 or %g0, -4, %i0
382 subcc %i2, %g0, %i0

Completed in 67 milliseconds

12