/titanic_41/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 60 ey = (y->l.msw & 0x7fffffff) >> 16; in __quad_mag_add() 62 if (ey == 0) in __quad_mag_add() 63 ey = 1; in __quad_mag_add() 68 e = (int) ex - (int) ey; in __quad_mag_add() 208 unsigned int lx, ly, ex, ey, frac2, frac3, frac4; in __quad_mag_sub() local 220 ey = (y->l.msw & 0x7fffffff) >> 16; in __quad_mag_sub() 222 if (ey == 0) in __quad_mag_sub() 223 ey = 1; in __quad_mag_sub() 228 e = (int) ex - (int) ey; in __quad_mag_sub()
|
H A D | _Q_mul.c | 92 int ibit, ex, ey, ez, sign; in _Qp_mul() local 241 ey = (int)(ym >> 16); in _Qp_mul() 243 if (ey) { in _Qp_mul() 253 ey = 1; in _Qp_mul() 259 ey = -31; in _Qp_mul() 264 ey = -63; in _Qp_mul() 268 ey = -95; in _Qp_mul() 275 ey--; in _Qp_mul() 278 ez += ey; in _Qp_mul()
|
H A D | _Q_div.c | 110 int ibit, ex, ey, ez, sign; in _Qp_div() local 273 ey = (int)(ym >> 16); in _Qp_div() 275 if (ey) { in _Qp_div() 285 ey = 1; in _Qp_div() 291 ey = -31; in _Qp_div() 296 ey = -63; in _Qp_div() 300 ey = -95; in _Qp_div() 307 ey--; in _Qp_div() 310 ez -= ey - 0x3fff; in _Qp_div()
|
/titanic_41/usr/src/lib/libm/common/m9x/ |
H A D | fma.c | 78 int hx, hy, hz, ex, ey, ez, exy, sxy, sz, e, ibit; in __fma() local 120 ey = hy >> 20; in __fma() 121 if (!ey) { in __fma() 123 ey = ((yy.i[0] & ~0x80000000) >> 20) - 52; in __fma() 132 exy = ex + ey - 0x3ff; in __fma() 408 int ex, ey, ez; in __fma() local 418 ey = yy.i[2] & 0x7fff; in __fma() 422 if (ex == 0x7fff || ey == 0x7fff || ex == 0 || ey == 0) in __fma()
|
H A D | fmal.c | 97 int hx, hy, hz, ex, ey, ez, exy, sxy, sz, e, ibit; in __fmal() local 292 ey = hy >> 16; in __fmal() 294 if (!ey) { in __fmal() 296 ey = 1; in __fmal() 302 ey = -31; in __fmal() 307 ey = -63; in __fmal() 311 ey = -95; in __fmal() 318 ey--; in __fmal() 322 exy = ex + ey - 0x3fff; in __fmal() 882 int ex, ey, ez, exy, sxy, sz, e, tinyafter; in __fmal() local [all …]
|
/titanic_41/usr/src/lib/libc/sparcv9/fp/ |
H A D | __quad_mag64.s | 65 ! unsigned int ex, ey, round, rm; 76 ! ey = (y->ll.msll >> 48) & 0x7fff; 78 ! if (ey == 0) 79 ! ey = 1; 84 ! e = (int) ex - (int) ey; 195 andcc %l1,%l7,%l1 ! l1 = ey 204 sub %l0,%l1,%l1 ! l1 = e = ex - ey 358 ! unsigned int ex, ey, gr, borrow, rm; 369 ! ey = (y->ll.msll >> 48) & 0x7fff; 371 ! if (ey == 0) [all …]
|