/titanic_50/usr/src/lib/libc/sparc/fp/ |
H A D | __quad_mag.c | 48 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; in __quad_mag_add() local 71 frac2 = x->l.frac2; in __quad_mag_add() 74 sticky = ly | y->l.frac2 | y->l.frac3 | y->l.frac4; in __quad_mag_add() 76 frac2 = y->l.frac2; in __quad_mag_add() 80 sticky = frac4 | frac3 | (frac2 & 0x7fffffff); in __quad_mag_add() 81 round = frac2 & 0x80000000; in __quad_mag_add() 83 frac3 = frac2 = ly = 0; in __quad_mag_add() 88 frac4 = frac2; in __quad_mag_add() 90 frac2 = ly = 0; in __quad_mag_add() 96 frac3 = frac2; in __quad_mag_add() [all …]
|
H A D | _Q_fcc.c | 67 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 | in _Q_feq() 98 return ((x->l.msw ^ y->l.msw | x->l.frac2 ^ y->l.frac2 | in _Q_fne() 136 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_flt() 137 x->l.frac2 == y->l.frac2 && (x->l.frac3 > y->l.frac3 || in _Q_flt() 140 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_flt() 141 x->l.frac2 == y->l.frac2 && (x->l.frac3 < y->l.frac3 || in _Q_flt() 180 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_fle() 181 x->l.frac2 == y->l.frac2 && (x->l.frac3 > y->l.frac3 || in _Q_fle() 184 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_fle() 185 x->l.frac2 == y->l.frac2 && (x->l.frac3 < y->l.frac3 || in _Q_fle() [all …]
|
H A D | _Q_qtou.c | 53 (x->l.frac2 >> 17); in _Q_qtou() 54 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtou() 59 x->l.frac2 & 0xffff0000) { in _Q_qtou() 61 z.l.frac2 = x->l.frac2; in _Q_qtou() 64 } else if (x->l.frac2 & 0xffff || in _Q_qtou() 66 z.l.msw = x->l.frac2; in _Q_qtou() 67 z.l.frac2 = x->l.frac3; in _Q_qtou() 73 z.l.frac2 = x->l.frac4; in _Q_qtou() 77 z.l.frac2 = z.l.frac3 = in _Q_qtou() 83 (z.l.frac2 >> 31); in _Q_qtou() [all …]
|
H A D | _Q_cmpe.c | 73 if (x->l.frac2 > y->l.frac2) in _Q_cmpe() 75 if (x->l.frac2 < y->l.frac2) in _Q_cmpe() 91 if (x->l.frac2 < y->l.frac2) in _Q_cmpe() 93 if (x->l.frac2 > y->l.frac2) in _Q_cmpe()
|
H A D | _Q_mul.c | 91 unsigned int msw, frac2, frac3, frac4, rm; in _Qp_mul() local 157 Z.l.frac2 = Z.l.frac3 = in _Qp_mul() 167 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul() 177 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0xffffffff; in _Qp_mul() 185 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul() 193 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_mul() 206 wx[0] = x->l.frac2; in _Qp_mul() 210 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_mul() 211 wx[0] = x->l.frac2; in _Qp_mul() 215 } else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) { in _Qp_mul() [all …]
|
H A D | _Q_cmp.c | 76 if (x->l.frac2 > y->l.frac2) in _Q_cmp() 78 if (x->l.frac2 < y->l.frac2) in _Q_cmp() 94 if (x->l.frac2 < y->l.frac2) in _Q_cmp() 96 if (x->l.frac2 > y->l.frac2) in _Q_cmp()
|
H A D | _Q_div.c | 109 unsigned int msw, frac2, frac3, frac4, rm; in _Qp_div() local 175 Z.l.frac2 = Z.l.frac3 = in _Qp_div() 185 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div() 190 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div() 203 Z.l.frac2 = Z.l.frac3 = in _Qp_div() 213 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div() 222 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_div() 238 wx[0] = x->l.frac2; in _Qp_div() 242 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_div() 243 wx[0] = x->l.frac2; in _Qp_div() [all …]
|
H A D | _Q_add.c | 58 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_add() 59 oy->l.frac2 == ox->l.frac2 && (oy->l.frac3 > ox->l.frac3 || in _Qp_add() 79 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_add() 100 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_add() 109 Z.l.frac2 = Z.l.frac3 = in _Qp_add() 122 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_add()
|
H A D | _Q_sub.c | 59 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_sub() 60 oy->l.frac2 == ox->l.frac2 && (oy->l.frac3 > ox->l.frac3 || in _Qp_sub() 82 if ((ym & 0xffff) | y->l.frac2 | y->l.frac3 | in _Qp_sub() 103 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_sub() 112 Z.l.frac2 = Z.l.frac3 = in _Qp_sub() 126 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_sub()
|
H A D | _Q_lltoq.c | 46 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Q_lltoq() 52 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Q_lltoq() 62 Z.l.frac2 = (unsigned long long) x >> (e - 48); in _Q_lltoq() 66 Z.l.frac2 = (unsigned long long) x << (48 - e); in _Q_lltoq() 70 Z.l.frac2 = Z.l.frac3 = 0; in _Q_lltoq()
|
H A D | _Q_sqrt.c | 100 unsigned int msw, frac2, frac3, frac4, rm; in _Qp_sqrt() local 114 if ((x->l.msw & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_sqrt() 138 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0xffffffff; in _Qp_sqrt() 155 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0xffffffff; in _Qp_sqrt() 170 wx[0] = x->l.frac2; in _Qp_sqrt() 174 if (lx | (x->l.frac2 & 0xfffe0000)) { in _Qp_sqrt() 175 wx[0] = x->l.frac2; in _Qp_sqrt() 179 } else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) { in _Qp_sqrt() 180 lx = x->l.frac2; in _Qp_sqrt() 306 frac2 = u.l.lo; in _Qp_sqrt() [all …]
|
H A D | _Q_qtos.c | 60 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtos() 65 (x->l.frac2 >> 25); in _Q_qtos() 120 u.l = 0x800000 | ((xm & 0xffff) << 7) | (x->l.frac2 >> 25); in _Q_qtos() 123 sticky = (u.l & ((1 << e) - 1)) | (x->l.frac2 & 0x1ffffff) | in _Q_qtos() 128 u.l = ((xm - 0x3f800000) << 7) | (x->l.frac2 >> 25); in _Q_qtos() 129 round = x->l.frac2 & 0x1000000; in _Q_qtos() 130 sticky = (x->l.frac2 & 0xffffff) | x->l.frac3 | x->l.frac4; in _Q_qtos()
|
H A D | _Q_qtoi.c | 50 if (x->l.msw == 0xc01e0000 && (x->l.frac2 & 0xfffe0000) == 0) { in _Q_qtoi() 53 if ((x->l.frac2 & 0x1ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtoi() 76 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Q_qtoi() 89 i = (int) (0x40000000 | ((xm & 0xffff) << 14) | (x->l.frac2 >> 18)); in _Q_qtoi() 94 if (round | (x->l.frac2 & 0x3ffff) | x->l.frac3 | x->l.frac4) { in _Q_qtoi()
|
H A D | _Q_ulltoq.c | 42 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Q_ulltoq() 52 Z.l.frac2 = x >> (e - 48); in _Q_ulltoq() 56 Z.l.frac2 = x << (48 - e); in _Q_ulltoq() 60 Z.l.frac2 = Z.l.frac3 = 0; in _Q_ulltoq()
|
H A D | _Q_itoq.c | 61 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_itoq() 67 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_itoq() 77 Z.l.frac2 = (unsigned) x << (48 - e); in _Qp_itoq() 80 Z.l.frac2 = 0; in _Qp_itoq()
|
H A D | _Q_qtod.c | 57 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtod() 62 (x->l.frac2 >> 28); in _Q_qtod() 63 u.l.lo = (x->l.frac2 << 4) | in _Q_qtod() 124 u.l.hi = 0x80000 | ((xm & 0xffff) << 3) | (x->l.frac2 >> 29); in _Q_qtod() 125 u.l.lo = (x->l.frac2 << 3) | (x->l.frac3 >> 29); in _Q_qtod() 144 u.l.hi = ((xm - 0x3c000000) << 4) | (x->l.frac2 >> 28); in _Q_qtod() 145 u.l.lo = (x->l.frac2 << 4) | (x->l.frac3 >> 28); in _Q_qtod()
|
H A D | _Q_utoq.c | 57 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_uitoq() 67 Z.l.frac2 = (unsigned) x << (48 - e); in _Qp_uitoq() 70 Z.l.frac2 = 0; in _Qp_uitoq()
|
H A D | quad.h | 95 unsigned int frac2; member 105 (((x).l.msw & 0xffff) | (x).l.frac2 | (x).l.frac3 | (x).l.frac4)) 108 (!(((x).l.msw & 0x7fffffff) | (x).l.frac2 | (x).l.frac3 | (x).l.frac4))
|
H A D | _Q_neg.c | 55 Z.l.frac2 = x->l.frac2; in _Qp_neg()
|
/titanic_50/usr/src/lib/libc/sparcv9/fp/ |
H A D | _Qp_qtoux.c | 50 ((long) x->l.frac2 << 15) | (x->l.frac3 >> 17); in _Qp_qtoux() 56 x->l.frac2 & 0xffff0000) { in _Qp_qtoux() 58 z.l.frac2 = x->l.frac2; in _Qp_qtoux() 61 } else if (x->l.frac2 & 0xffff || in _Qp_qtoux() 63 z.l.msw = x->l.frac2; in _Qp_qtoux() 64 z.l.frac2 = x->l.frac3; in _Qp_qtoux() 70 z.l.frac2 = x->l.frac4; in _Qp_qtoux() 74 z.l.frac2 = z.l.frac3 = in _Qp_qtoux() 80 (z.l.frac2 >> 31); in _Qp_qtoux() 81 z.l.frac2 = (z.l.frac2 << 1) | in _Qp_qtoux() [all …]
|
H A D | _Qp_xtoq.c | 45 Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_xtoq() 51 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_xtoq() 61 Z.l.frac2 = (unsigned long) x >> (e - 48); in _Qp_xtoq() 65 Z.l.frac2 = (unsigned long) x << (48 - e); in _Qp_xtoq() 69 Z.l.frac2 = Z.l.frac3 = 0; in _Qp_xtoq()
|
H A D | _Qp_uxtoq.c | 41 Z.l.msw = Z.l.frac2 = Z.l.frac3 = Z.l.frac4 = 0; in _Qp_uxtoq() 51 Z.l.frac2 = x >> (e - 48); in _Qp_uxtoq() 55 Z.l.frac2 = x << (48 - e); in _Qp_uxtoq() 59 Z.l.frac2 = Z.l.frac3 = 0; in _Qp_uxtoq()
|
H A D | _Qp_qtox.c | 46 if (x->l.msw == 0xc03e0000 && x->l.frac2 == 0 && in _Qp_qtox() 74 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_qtox() 88 ((long) x->l.frac2 << 14) | (x->l.frac3 >> 18); in _Qp_qtox()
|
H A D | __quad_mag64.s | 41 ! unsigned int frac2; 151 ! z->l.frac2 = 0; 155 ! z->l.frac2 = 0xffffffff; 163 ! z->l.frac2 = (lx & 0xffffffff); 425 ! z->l.frac2 = z->l.frac3 = z->l.frac4 = 0; 450 ! z->l.frac2 = (lx & 0xffffffff); 490 ! z->l.frac2 = (lx & 0xffffffff);
|
/titanic_50/usr/src/lib/libm/common/Q/ |
H A D | sqrtl.c | 57 unsigned int frac2; member 83 unsigned int frac2; member 145 w[0] = x->l.frac2; in __q_unpack() 151 if (lx | (x->l.frac2 & 0xfffe0000)) in __q_unpack() 153 w[0] = x->l.frac2; in __q_unpack() 158 else if (x->l.frac2 | (x->l.frac3 & 0xfffe0000)) in __q_unpack() 160 lx = x->l.frac2; in __q_unpack() 240 unsigned int msw, frac2, frac3, frac4; in __q_pack() local 261 frac2 = u.l[LOWORD]; in __q_pack() 296 if (++frac2 == 0) in __q_pack() [all …]
|