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.c125 xm = x->l.msw; in _Q_flt()
136 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_flt()
140 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_flt()
169 xm = x->l.msw; in _Q_fle()
180 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_fle()
184 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_fle()
212 xm = x->l.msw; in _Q_fgt()
223 return (xm < ym || xm == ym && (x->l.frac2 < y->l.frac2 || in _Q_fgt()
227 return (xm > ym || xm == ym && (x->l.frac2 > y->l.frac2 || in _Q_fgt()
256 xm = x->l.msw; in _Q_fge()
[all …]
H A D_Q_qtou.c42 unsigned int xm, fsr; in _Q_qtou() local
45 xm = x->l.msw & 0x7fffffff; in _Q_qtou()
50 if (xm >= 0x401e0000) { in _Q_qtou()
52 i = 0x80000000 | ((xm & 0xffff) << 15) | in _Q_qtou()
58 if (xm & 0xffff || in _Q_qtou()
60 z.l.msw = xm & 0xffff; in _Q_qtou()
80 xm = 0x401e; in _Q_qtou()
89 xm--; in _Q_qtou()
91 z.l.msw |= (xm << 16); in _Q_qtou()
126 if (xm < 0x3fff0000) { in _Q_qtou()
[all …]
H A D_Q_qtos.c45 unsigned int xm, round, sticky, fsr, rm; in _Q_qtos() local
48 xm = x->l.msw & 0x7fffffff; in _Q_qtos()
58 if (xm >= 0x407f0000) { in _Q_qtos()
59 if (xm >= 0x7fff0000) { in _Q_qtos()
60 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtos()
64 u.l |= ((xm & 0x7fff) << 7) | in _Q_qtos()
66 if (!(xm & 0x8000)) { in _Q_qtos()
99 if (xm < 0x3f810000) { in _Q_qtos()
100 if (xm < 0x3f690000) { in _Q_qtos()
121 e = 0x3f80 - (xm >> 16); in _Q_qtos()
[all …]
H A D_Q_cmpe.c42 unsigned int xm, ym, fsr; in _Q_cmpe() local
58 xm = x->l.msw; in _Q_cmpe()
60 xm &= 0x7fffffff; in _Q_cmpe()
65 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmpe()
68 if (xm & 0x80000000) { in _Q_cmpe()
69 if (xm > ym) in _Q_cmpe()
71 if (xm < ym) in _Q_cmpe()
87 if (xm < ym) in _Q_cmpe()
89 if (xm > ym) in _Q_cmpe()
H A D_Q_add.c53 unsigned int xm, ym, tm, fsr; in _Qp_add() local
56 xm = ox->l.msw & 0x7fffffff; in _Qp_add()
58 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_add()
63 tm = xm; in _Qp_add()
64 xm = ym; in _Qp_add()
75 if (xm >= 0x7fff0000) { in _Qp_add()
88 Z = (xm & 0x8000)? *y : *oy; in _Qp_add()
100 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_add()
122 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_add()
124 if (!(xm & 0x8000)) { in _Qp_add()
H A D_Q_cmp.c42 unsigned int xm, ym, fsr; in _Q_cmp() local
61 xm = x->l.msw; in _Q_cmp()
63 xm &= 0x7fffffff; in _Q_cmp()
68 if ((xm ^ ym) & 0x80000000) /* x and y have opposite signs */ in _Q_cmp()
71 if (xm & 0x80000000) { in _Q_cmp()
72 if (xm > ym) in _Q_cmp()
74 if (xm < ym) in _Q_cmp()
90 if (xm < ym) in _Q_cmp()
92 if (xm > ym) in _Q_cmp()
H A D_Q_sub.c53 unsigned int xm, ym, tm, fsr; in _Qp_sub() local
57 xm = ox->l.msw & 0x7fffffff; in _Qp_sub()
59 if (ym > xm || ym == xm && (oy->l.frac2 > ox->l.frac2 || in _Qp_sub()
64 tm = xm; in _Qp_sub()
65 xm = ym; in _Qp_sub()
78 if (xm >= 0x7fff0000) { in _Qp_sub()
91 Z = (xm & 0x8000)? *y : *oy; in _Qp_sub()
103 if (!((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Qp_sub()
126 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_sub()
128 if (!(xm & 0x8000)) { in _Qp_sub()
H A D_Q_qtoi.c41 unsigned int xm, fsr; in _Q_qtoi() local
44 xm = x->l.msw & 0x7fffffff; in _Q_qtoi()
49 if (xm >= 0x401e0000) { in _Q_qtoi()
74 if (xm < 0x3fff0000) { 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()
90 round = i & ((1 << (0x401d - (xm >> 16))) - 1); in _Q_qtoi()
91 i >>= (0x401d - (xm >> 16)); in _Q_qtoi()
H A D_Q_qtod.c42 unsigned int xm, round, sticky, fsr, rm; in _Q_qtod() local
45 xm = x->l.msw & 0x7fffffff; in _Q_qtod()
55 if (xm >= 0x43ff0000) { in _Q_qtod()
56 if (xm >= 0x7fff0000) { in _Q_qtod()
57 if ((xm & 0xffff) | x->l.frac2 | x->l.frac3 | in _Q_qtod()
61 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
65 if (!(xm & 0x8000)) { in _Q_qtod()
102 if (xm < 0x3c010000) { in _Q_qtod()
103 if (xm < 0x3bcc0000) { in _Q_qtod()
128 e = 0x3c00 - (xm >> 16); in _Q_qtod()
[all …]
H A D_Q_sqrt.c99 unsigned int xm, fsr, lx, wx[3]; in _Qp_sqrt() local
108 xm = x->l.msw; in _Qp_sqrt()
113 if ((xm & 0x7fffffff) >= 0x7fff0000) { in _Qp_sqrt()
150 if (xm & 0x80000000) { in _Qp_sqrt()
166 ex = (int)(xm >> 16); in _Qp_sqrt()
167 lx = xm & 0xffff; in _Qp_sqrt()
H A D_Q_mul.c90 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_mul() local
94 xm = x->l.msw & 0x7fffffff; in _Qp_mul()
101 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_mul()
149 if (xm == 0x7fff0000) { in _Qp_mul()
190 if (xm == 0 || ym == 0) { in _Qp_mul()
202 ex = (int)(xm >> 16); in _Qp_mul()
203 lx = xm & 0xffff; in _Qp_mul()
H A D_Q_div.c108 unsigned int xm, ym, fsr, lx, ly, wx[3], wy[3]; in _Qp_div() local
112 xm = x->l.msw & 0x7fffffff; in _Qp_div()
119 if (xm >= 0x7fff0000 || ym >= 0x7fff0000) { in _Qp_div()
167 if (xm == 0x7fff0000) { in _Qp_div()
195 if (xm == 0 || ym == 0) { in _Qp_div()
234 ex = (int)(xm >> 16); in _Qp_div()
235 lx = xm & 0xffff; in _Qp_div()
/illumos-gate/usr/src/lib/libc/sparcv9/fp/
H A D_Qp_qtoux.c39 unsigned int xm, fsr; in _Qp_qtoux() local
41 xm = x->l.msw & 0x7fffffff; in _Qp_qtoux()
46 if (xm >= 0x403e0000) { in _Qp_qtoux()
49 ((long) (xm & 0xffff) << 47) | in _Qp_qtoux()
55 if (xm & 0xffff || in _Qp_qtoux()
57 z.l.msw = xm & 0xffff; in _Qp_qtoux()
77 xm = 0x403e; in _Qp_qtoux()
86 xm--; in _Qp_qtoux()
88 z.l.msw |= (xm << 16); in _Qp_qtoux()
124 if (xm < 0x3fff0000) { in _Qp_qtoux()
[all …]
H A D_Qp_qtox.c38 unsigned int xm, fsr; in _Qp_qtox() local
40 xm = x->l.msw & 0x7fffffff; in _Qp_qtox()
45 if (xm >= 0x403e0000) { in _Qp_qtox()
72 if (xm < 0x3fff0000) { in _Qp_qtox()
74 if (xm | x->l.frac2 | x->l.frac3 | x->l.frac4) { in _Qp_qtox()
87 i = 0x4000000000000000l | ((long) (xm & 0xffff) << 46) | in _Qp_qtox()
89 round = i & ((1l << (0x403d - (xm >> 16))) - 1); in _Qp_qtox()
90 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()