Home
last modified time | relevance | path

Searched refs:xm (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_fcc.c107 unsigned int xm, ym, fsr; in _Q_flt() local
123 xm = x->l.msw; in _Q_flt()
125 xm &= 0x7fffffff; in _Q_flt()
130 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_flt()
133 if (xm & 0x80000000) { in _Q_flt()
134 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_flt()
138 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_flt()
150 unsigned int xm, ym, fsr; in _Q_fle() local
167 xm = x->l.msw; in _Q_fle()
169 xm &= 0x7fffffff; in _Q_fle()
[all …]
H A D_Q_qtou.c40 unsigned int xm, fsr; in _Q_qtou() local
43 xm = x->l.msw & 0x7fffffff; in _Q_qtou()
48 if (xm >= 0x401e0000) { in _Q_qtou()
50 i = 0x80000000 | ((xm & 0xffff) << 15) | in _Q_qtou()
56 if (xm & 0xffff || in _Q_qtou()
58 z.l.msw = xm & 0xffff; in _Q_qtou()
78 xm = 0x401e; in _Q_qtou()
87 xm--; in _Q_qtou()
89 z.l.msw |= (xm << 16); in _Q_qtou()
124 if (xm < 0x3fff0000) { in _Q_qtou()
[all …]
H A D_Q_qtos.c43 unsigned int xm, round, sticky, fsr, rm; in _Q_qtos() local
46 xm = x->l.msw & 0x7fffffff; in _Q_qtos()
56 if (xm >= 0x407f0000) { in _Q_qtos()
57 if (xm >= 0x7fff0000) { in _Q_qtos()
58 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtos()
62 u.l |= ((xm & 0x7fff) << 7) | in _Q_qtos()
64 if (!(xm & 0x8000)) { in _Q_qtos()
97 if (xm < 0x3f810000) { in _Q_qtos()
98 if (xm < 0x3f690000) { in _Q_qtos()
118 u.l = 0x800000 | ((xm & 0xffff) << 7) | (x->l.frac2 >> 25); in _Q_qtos()
[all …]
H A D_Q_add.c51 unsigned int xm, ym, tm, fsr; in _Qp_add() local
54 xm = ox->l.msw & 0x7fffffff; in _Qp_add()
56 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_add()
61 tm = xm; in _Qp_add()
62 xm = ym; in _Qp_add()
73 if (xm >= 0x7fff0000) { in _Qp_add()
86 Z = (xm & 0x8000)? *y : *oy; in _Qp_add()
98 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_add()
120 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_add()
122 if (!(xm & 0x8000)) { in _Qp_add()
H A D_Q_cmpe.c40 unsigned int xm, ym, fsr; in _Q_cmpe() local
56 xm = x->l.msw; in _Q_cmpe()
58 xm &= 0x7fffffff; in _Q_cmpe()
63 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmpe()
66 if (xm & 0x80000000) { in _Q_cmpe()
67 if (xm > ym) in _Q_cmpe()
69 if (xm < ym) in _Q_cmpe()
85 if (xm < ym) in _Q_cmpe()
87 if (xm > ym) in _Q_cmpe()
H A D_Q_cmp.c40 unsigned int xm, ym, fsr; in _Q_cmp() local
59 xm = x->l.msw; in _Q_cmp()
61 xm &= 0x7fffffff; in _Q_cmp()
66 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmp()
69 if (xm & 0x80000000) { in _Q_cmp()
70 if (xm > ym) in _Q_cmp()
72 if (xm < ym) in _Q_cmp()
88 if (xm < ym) in _Q_cmp()
90 if (xm > ym) in _Q_cmp()
H A D_Q_sub.c51 unsigned int xm, ym, tm, fsr; in _Qp_sub() local
55 xm = ox->l.msw & 0x7fffffff; in _Qp_sub()
57 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_sub()
62 tm = xm; in _Qp_sub()
63 xm = ym; in _Qp_sub()
76 if (xm >= 0x7fff0000) { in _Qp_sub()
89 Z = (xm & 0x8000)? *y : *oy; in _Qp_sub()
101 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_sub()
124 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_sub()
126 if (!(xm & 0x8000)) { in _Qp_sub()
H A D_Q_qtoi.c39 unsigned int xm, fsr; in _Q_qtoi() local
42 xm = x->l.msw & 0x7fffffff; in _Q_qtoi()
47 if (xm >= 0x401e0000) { in _Q_qtoi()
72 if (xm < 0x3fff0000) { in _Q_qtoi()
74 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Q_qtoi()
87 i = (int) (0x40000000 | ((xm & 0xffff) << 14) | (x->l.frac2 >> 18)); in _Q_qtoi()
88 round = i & ((1 << (0x401d - (xm >> 16))) - 1); in _Q_qtoi()
89 i >>= (0x401d - (xm >> 16)); in _Q_qtoi()
H A D_Q_qtod.c40 unsigned int xm, round, sticky, fsr, rm; in _Q_qtod() local
43 xm = x->l.msw & 0x7fffffff; in _Q_qtod()
53 if (xm >= 0x43ff0000) { in _Q_qtod()
54 if (xm >= 0x7fff0000) { in _Q_qtod()
55 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtod()
59 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
63 if (!(xm & 0x8000)) { in _Q_qtod()
100 if (xm < 0x3c010000) { in _Q_qtod()
101 if (xm < 0x3bcc0000) { in _Q_qtod()
122 u.l.hi = 0x80000 | ((xm & 0xffff) << 3) | (x->l.frac2 >> 29); in _Q_qtod()
[all …]
H A D_Q_sqrt.c97 unsigned int xm, fsr, lx, wx[3]; in _Qp_sqrt() local
106 xm = x->l.msw; in _Qp_sqrt()
111 if ((xm & 0x7fffffff) >= 0x7fff0000) { in _Qp_sqrt()
148 if (xm & 0x80000000) { in _Qp_sqrt()
164 ex = (int)(xm >> 16); in _Qp_sqrt()
165 lx = xm & 0xffff; in _Qp_sqrt()
H A D_Q_mul.c88 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_mul() local
92 xm = x->l.msw & 0x7fffffff; in _Qp_mul()
99 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_mul()
147 if (xm == 0x7fff0000) { in _Qp_mul()
188 if (xm == 0 || ym == 0) { in _Qp_mul()
200 ex = (int)(xm >> 16); in _Qp_mul()
201 lx = xm & 0xffff; in _Qp_mul()
H A D_Q_div.c106 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_div() local
110 xm = x->l.msw & 0x7fffffff; in _Qp_div()
117 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_div()
165 if (xm == 0x7fff0000) { in _Qp_div()
193 if (xm == 0 || ym == 0) { in _Qp_div()
232 ex = (int)(xm >> 16); in _Qp_div()
233 lx = xm & 0xffff; in _Qp_div()
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c37 unsigned int xm, fsr; in _Qp_qtoux() local
39 xm = x->l.msw & 0x7fffffff; in _Qp_qtoux()
44 if (xm >= 0x403e0000) { in _Qp_qtoux()
47 ((long) (xm & 0xffff) << 47) | in _Qp_qtoux()
53 if (xm & 0xffff || in _Qp_qtoux()
55 z.l.msw = xm & 0xffff; in _Qp_qtoux()
75 xm = 0x403e; in _Qp_qtoux()
84 xm--; in _Qp_qtoux()
86 z.l.msw |= (xm << 16); in _Qp_qtoux()
122 if (xm < 0x3fff0000) { in _Qp_qtoux()
[all …]
H A D_Qp_qtox.c36 unsigned int xm, fsr; in _Qp_qtox() local
38 xm = x->l.msw & 0x7fffffff; in _Qp_qtox()
43 if (xm >= 0x403e0000) { in _Qp_qtox()
70 if (xm < 0x3fff0000) { in _Qp_qtox()
72 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_qtox()
85 i = 0x4000000000000000l | ((long) (xm & 0xffff) << 46) | in _Qp_qtox()
87 round = i & ((1l << (0x403d - (xm >> 16))) - 1); in _Qp_qtox()
88 i >>= (0x403d - (xm >> 16)); in _Qp_qtox()
/illumos-gate/usr/src/cmd/mdb/intel/modules/xhci/
H A Dxhci.c556 xhci_mdb_walk_endpoint_t *xm; in xhci_mdb_walk_xhci_endpoint_init() local
564 xm = mdb_alloc(sizeof (xhci_mdb_walk_endpoint_t), UM_SLEEP | UM_GC); in xhci_mdb_walk_xhci_endpoint_init()
565 xm->xmwe_ep = 0; in xhci_mdb_walk_xhci_endpoint_init()
566 xd = &xm->xmwe_device; in xhci_mdb_walk_xhci_endpoint_init()
572 wsp->walk_data = xm; in xhci_mdb_walk_xhci_endpoint_init()
582 xhci_mdb_walk_endpoint_t *xm = wsp->walk_data; in xhci_mdb_walk_xhci_endpoint_step() local
584 if (xm->xmwe_ep >= XHCI_NUM_ENDPOINTS) in xhci_mdb_walk_xhci_endpoint_step()
587 addr = (uintptr_t)xm->xmwe_device.xd_endpoints[xm->xmwe_ep]; in xhci_mdb_walk_xhci_endpoint_step()
593 xm->xmwe_device.xd_endpoints[xm->xmwe_ep]); in xhci_mdb_walk_xhci_endpoint_step()
601 xm->xmwe_ep++; in xhci_mdb_walk_xhci_endpoint_step()