/titanic_41/usr/src/lib/libc/capabilities/sun4u/common/ |
H A D | memcpy.s | 290 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_P 428 add %i0, 64, %i0 432 stda %d48, [%i0]ASI_BLK_P 436 add %i0, 64, %i0 [all …]
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | _ftoll.c | 48 int i0, i1; /* bitslam */ in __dtoll() local 64 i0 = u.i[0]; in __dtoll() 67 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; in __dtoll() 74 if (i0 >= 0 || exp != 63 || (i0 & 0xfffff) != 0 || i1 != 0) { in __dtoll() 82 if (i0 < 0) in __dtoll() 90 m0 = 0x40000000 | ((i0 << 10) & 0x3ffffc00) | ((i1 >> 22) & 0x3ff); in __dtoll() 116 if (i0 < 0) { in __dtoll() 133 int i0; in __ftoll() local 149 i0 = u.i; in __ftoll() 151 exp = ((i0 >> 23) & 0xff) - 0x7f; in __ftoll() [all …]
|
H A D | _ftoull.c | 51 int i0; /* bitslam */ in __dtoull() local 68 i0 = u.i[0]; in __dtoull() 71 exp = ((i0 >> 20) & 0x7ff) - 0x3ff; in __dtoull() 82 if (i0 < 0) in __dtoull() 90 m0 = 0x80000000 | ((i0 << 11) & 0x7ffff800) | ((i1 >> 21) & 0x7ff); in __dtoull() 115 if (i0 < 0) { in __dtoull() 140 int i0; /* bitslam */ in __ftoull() local 156 i0 = u.i; in __ftoull() 158 exp = ((i0 >> 23) & 0xff) - 0x7f; in __ftoull() 169 if (i0 < 0) in __ftoull() [all …]
|
/titanic_41/usr/src/uts/sun4u/cpu/ |
H A D | spitfire_copy.s | 676 subcc %i1, %i0, %i3 764 mov %i0, %i1 765 mov %i5, %i0 771 andcc %i0, 7, %o3 781 inc %i0 784 stb %o4, [%i0 - 1] 786 andcc %i0, 63, %i3 803 std %d8, [%i0] 806 add %i0, 8, %i0 811 std %d8, [%i0] [all …]
|
/titanic_41/usr/src/uts/sun4v/cpu/ |
H A D | niagara_copy.s | 1164 prefetch [%i0 + (1 * CACHE_LINE)], #one_read 1180 andcc %i0, 7, %o3 ! is src long word aligned 1182 prefetch [%i0 + (2 * CACHE_LINE)], #one_read 1195 ldx [%i0], %o4 1196 add %i0, 8, %i0 ! increment src ptr 1206 ldx [%i0], %o4 1208 ldx [%i0+8], %o4 1209 add %i0, 16, %i0 ! increment src ptr 1218 andcc %i0, 32, %o3 1220 andcc %i0, 16, %o3 [all …]
|
H A D | generic_copy.s | 132 xor %i0, %i1, %o4 ! xor from and to address 137 xor %i0, %i1, %o4 ! xor from and to address 140 btst 3, %i0 ! delay slot, from address unaligned? 147 ! i0 - src address, i1 - dest address, i2 - count 167 ldub [%i0], %i3 ! read a byte from source address 168 add %i0, 1, %i0 ! increment source address 170 btst 3, %i0 ! is source aligned? 177 ld [%i0], %i3 ! read a word 178 add %i0, 4, %i0 ! increment source address 224 ld [%i0], %i4 ! read a word [all …]
|
/titanic_41/usr/src/lib/libbc/libc/crt/sparc/ |
H A D | misalign.s | 87 andcc %i0,1,%g0 ! test for short alignment 89 lduh [%i0],%o0 ! short aligned case: 2 loads, 2 stores 91 ldub [%i0],%o0 ! byte aligned case: 4 loads, 4 stores 92 ldub [%i0+1],%o1 93 ldub [%i0+2],%o2 94 ldub [%i0+3],%o3 101 lduh [%i0+2],%o1 ! rest of short aligned case 121 andcc %i0,3,%g0 ! test for long alignment 123 ld [%i0],%f0 125 andcc %i0,1,%g0 ! test for short alignment [all …]
|
/titanic_41/usr/src/uts/sun4/ml/ |
H A D | ip_ocsum.s | 300 ldx [%i0+0], %l0 301 ldx [%i0+8], %l1 302 ldx [%i0+16], %l2 ! %l0 could be used here if Dcache hit 303 ldx [%i0+24], %l3 ! but US-II prefetch only loads Ecache 304 ldx [%i0+32], %l4 ! check on US-III: could mix preloads & splits? 305 ldx [%i0+40], %l5 306 ldx [%i0+48], %l6 307 ldx [%i0+56], %l7 308 inc 64, %i0 309 prefetch [%i0], #n_reads [all …]
|
/titanic_41/usr/src/lib/libmvec/common/ |
H A D | __vpowf.c | 432 int exp, i0, ind0, exp0, yisint0, n_n; in __vpowf() local 488 i0 = ay >> ((0x7f + 23) - exp); in __vpowf() 489 if ((i0 << ((0x7f + 23) - exp)) == ay) in __vpowf() 490 yisint0 = 2 - (i0 & 1); in __vpowf() 518 i0 = ay >> ((0x7f + 23) - exp); in __vpowf() 519 if ((i0 << ((0x7f + 23) - exp)) == ay) in __vpowf() 520 yisint0 = 2 - (i0 & 1); in __vpowf() 538 i0 = (ax0 + 0x8000) & 0xffff0000; in __vpowf() 539 ind0 = i0 >> 15; in __vpowf() 540 i0 = ax0 - i0; in __vpowf() [all …]
|
H A D | __vpow.c | 584 i0 = ly >> (52 - (exp - 0x3ff)); \ 585 if ((i0 << (52 - (exp - 0x3ff))) == ly) \ 586 yisint##I = 2 - (i0 & 1); \ 590 i0 = hy >> (20 - (exp - 0x3ff)); \ 591 if ((i0 << (20 - (exp - 0x3ff))) == hy) \ 592 yisint##I = 2 - (i0 & 1); \ 632 i0 = ly >> (52 - (exp - 0x3ff)); \ 633 if ((i0 << (52 - (exp - 0x3ff))) == ly) \ 634 yisint##I = 2 - (i0 & 1); \ 638 i0 = hy >> (20 - (exp - 0x3ff)); \ [all …]
|
H A D | __vlog.c | 669 int i0, i1, i2, i3, e; in __vlog() local 703 i0 = (i0 + 0x800) & ~0xfff; in __vlog() 704 e = (i0 & 0x7ff00000) - 0x3ff00000; in __vlog() 706 w0.i[HIWORD] = i0 - e; in __vlog() 708 i0 = (i0 >> 10) & 0x3fc; in __vlog() 736 h0 = d0 * TBL[i0]; in __vlog() 741 l0 = d0 * TBL[i0+1]; in __vlog() 760 *y = (n0 * ln2hi + TBL[i0+2]) + (h0 + (l0 + in __vlog() 761 (n0 * ln2lo + TBL[i0+3]) + b0)); in __vlog()
|
/titanic_41/usr/src/lib/libm/sparc/src/ |
H A D | nextafter.S | 55 std %i0,[%fp+x] 56 or %g0,%i0,%o0 ! save original arguments 66 andn %i0,%l1,%l4 73 tst %i0 75 and %i2,%l1,%i0 91 subx %i0,0,%i0 94 addx %i0,0,%i0 97 std %i0,[%fp+x] 98 andcc %i0,%l3,%i2
|
/titanic_41/usr/src/lib/libc/sparc/gen/ |
H A D | strncmp.s | 56 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 + %i1], %i4 141 sub %i0, %i1, %i0 147 inc 3, %i0 ! reset s1 diff [all …]
|
H A D | ascii_strcasecmp.s | 128 subcc %i0, %i1, %i2 ! s1 == s2 ? 130 andcc %i0, 3, %i3 ! s1 word-aligned ? 155 ldub [%i1 + %i2], %i0 ! s1[1] 157 sub %i0, 'A', %l0 ! transform for faster uppercase check 161 add %i0, ('a' - 'A'), %i0 ! s1[1] = tolower(s1[1]) 167 subcc %i0, %g1, %i0 ! tolower(s1[1]) != tolower(s2[1]) ? 170 addcc %i0, %g1, %i0 ! s1[1] == 0 ? 220 lduw [%i1], %i0 ! new lower word from s2 222 sll %i0, %l6, %g1 ! partial unaligned word from s2 223 orn %i0, %i3, %i0 ! force start bytes to non-zero [all …]
|
H A D | memmove.s | 40 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
|
/titanic_41/usr/src/lib/libc/sparcv9/gen/ |
H A D | strncmp.s | 56 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 + %i1], %i4 141 sub %i0, %i1, %i0 147 inc 3, %i0 ! reset s1 diff [all …]
|
H A D | ascii_strcasecmp.s | 128 subcc %i0, %i1, %i2 ! s1 == s2 ? 130 andcc %i0, 3, %i3 ! s1 word-aligned ? 155 ldub [%i1 + %i2], %i0 ! s1[1] 157 sub %i0, 'A', %l0 ! transform for faster uppercase check 161 add %i0, ('a' - 'A'), %i0 ! s1[1] = tolower(s1[1]) 167 subcc %i0, %g1, %i0 ! tolower(s1[1]) != tolower(s2[1]) ? 170 addcc %i0, %g1, %i0 ! s1[1] == 0 ? 220 lduw [%i1], %i0 ! new lower word from s2 222 sll %i0, %l6, %g1 ! partial unaligned word from s2 223 orn %i0, %i3, %i0 ! force start bytes to non-zero [all …]
|
H A D | memmove.s | 40 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
|
/titanic_41/usr/src/lib/libm/common/Q/ |
H A D | logl.c | 111 int i, j, ix, i0, i1, n; in logl() local 115 i0 = 3; in logl() 118 i0 = 0; in logl() 123 ix = px[i0]; in logl() 145 px[i0] |= 0x80000000; in logl() 156 ix = px[i0]; in logl() 160 px[i0] = ix; in logl() 162 pz[i0] = i & 0xfffffc00; in logl()
|
H A D | atanl.c | 108 #define i0 0 macro 117 ix = px[i0]; in atanl() 126 *(3 - i0 + (int *) &s) = -1; /* s = 1-ulp */ in atanl() 129 *(i0 + (int *) &s) -= 1; in atanl() 148 px[i0] = ix; in atanl() 186 px[i0] = ix; in atanl() 188 py[i0] = iy; in atanl()
|
/titanic_41/usr/src/lib/libpp/common/ |
H A D | ppcontrol.c | 285 static int i0; in ppcontrol() local 522 i0 = *p0; in ppcontrol() 545 *p0 = i0; in ppcontrol() 551 if (!(i0 = regexec(&edit->re, p, elementsof(match), match, 0))) in ppcontrol() 554 if (i0 = regsubexec(&edit->re, p, elementsof(match), match)) in ppcontrol() 555 regfatal(&edit->re, 3, i0); in ppcontrol() 560 else if (i0 != REG_NOMATCH) in ppcontrol() 561 regfatal(&edit->re, 3, i0); in ppcontrol() 581 *p0 = i0; in ppcontrol() 661 i0 = sym->flags; in ppcontrol() [all …]
|
/titanic_41/usr/src/common/crypto/sha1/sparc/sun4u/ |
H A D | sha1_asm.s | 337 st %f8, [%i0 + (16*4) + (0)] 342 st %f0, [%i0 + (16*4) + (4)] 347 st %f1, [%i0 + (16*4) + (8)] 427 st %f1, [%i0 + (19*4) + (4)] 432 st %f8, [%i0 + (19*4) + (8)] 437 st %f0, [%i0 + (19*4) + (0)] 517 st %f8, [%i0 + (22*4) + (0)] 522 st %f0, [%i0 + (22*4) + (4)] 527 st %f1, [%i0 + (22*4) + (8)] 607 st %f1, [%i0 + (25*4) + (4)] [all …]
|
/titanic_41/usr/src/lib/libmvec/common/vis/ |
H A D | __vpowf.S | 535 #define stridex %i0 571 ! i0 = ay >> ((0x7f + 23) - exp); 572 ! if ((i0 << ((0x7f + 23) - exp)) == ay) yisint0 = 2 - (i0 & 1); 593 ! i0 = ay >> ((0x7f + 23) - exp); 594 ! if ((i0 << ((0x7f + 23) - exp)) == ay) yisint0 = 2 - (i0 & 1); 617 ! i0 = ax0 + 0x8000; 618 ! i0 &= 0xffff0000; 619 ! ind0 = i0 >> 12; 621 ! i0 = ax0 - i0; 622 ! dtmp0 = (double) i0; [all …]
|
/titanic_41/usr/src/cmd/sgs/rtld/sparc/ |
H A D | boot_elf.s | 100 mov %i0, %o2 ! Callers address is arg 3 172 st %o0, [%i0] ! Store in plt[0] 173 iflush %i0 176 inc 4, %i0 ! Bump plt to point to plt[1] 177 sub %l7, %i0, %o0 ! Determine -pc so as to produce 182 st %o4, [%i0] ! Store instruction in plt 183 iflush %i0 185 st %o0, [%i0 + 4] ! Store instruction in plt[2] 186 iflush %i0 + 4 187 st %i1, [%i0 + 8] ! Store instruction in plt[3] [all …]
|
/titanic_41/usr/src/lib/libbc/libc/gen/common/ |
H A D | _Qfunpack.c | 214 double t=1.0; int i0,i1; local 215 if((*(int*)&t)!=0) {i0=0;i1=1;} else {i0=1;i1=0;} 216 *(int*)&x = n[i0]; 223 double t=1.0; int i0,i1,i2,i3; local 224 if((*(int*)&t)!=0) {i0=0;i1=1;i2=2;i3=3;} 225 else {i0=3;i1=2;i2=1;i3=0;} 226 *(int*)&x = n[i0];
|