Home
last modified time | relevance | path

Searched refs:cwsw (Results 1 – 8 of 8) sorted by relevance

/titanic_50/usr/src/lib/libm/common/m9x/
H A Dfmaf.c133 unsigned u, s, cwsw, oldcwsw; in __fmaf() local
138 cwsw = (oldcwsw & 0xfcffffff) | 0x03000000; in __fmaf()
139 __fenv_setcwsw(&cwsw); in __fmaf()
204 __fenv_getcwsw(&cwsw); in __fmaf()
205 cwsw = (cwsw & 0xfcffffff) | (oldcwsw & 0x03000000); in __fmaf()
206 __fenv_setcwsw(&cwsw); in __fmaf()
H A Dnearbyintf.c158 unsigned oldcwsw, cwsw;
162 cwsw = oldcwsw | 0x00200000;
163 __fenv_setcwsw(&cwsw);
171 __fenv_getcwsw(&cwsw);
172 oldcwsw |= (cwsw & 0x1f);
H A D__fex_i386.c93 unsigned int cwsw, mxcsr; in __fenv_getfsr() local
95 __fenv_getcwsw(&cwsw); in __fenv_getfsr()
97 cwsw &= ~0xe0c00000u; in __fenv_getfsr()
102 cwsw |= (mxcsr & 0x3d); in __fenv_getfsr()
104 cwsw |= *__fex_accrued(); in __fenv_getfsr()
105 *fsr = cwsw ^ 0x003f0000u; in __fenv_getfsr()
111 unsigned int cwsw, mxcsr; in __fenv_setfsr() local
115 cwsw = (unsigned int)*fsr; in __fenv_setfsr()
116 te = __fenv_get_te(cwsw); in __fenv_setfsr()
117 *__fex_accrued() = cwsw & te; in __fenv_setfsr()
[all …]
H A Dnearbyintl.c162 unsigned oldcwsw, cwsw; in __nearbyintl() local
166 cwsw = oldcwsw | 0x00200000; in __nearbyintl()
167 __fenv_setcwsw(&cwsw); in __nearbyintl()
175 __fenv_getcwsw(&cwsw); in __nearbyintl()
176 oldcwsw |= (cwsw & 0x1f); in __nearbyintl()
H A Dfenv_inlines.h35 uint32_t cwsw; member
56 union fp_cwsw cwsw; in __fenv_setcwsw() local
59 cwsw.cwsw = *value; in __fenv_setcwsw()
68 : "r" (cwsw.words.cw), "r" (cwsw.words.sw) in __fenv_setcwsw()
H A D__fex_hdlr.c394 unsigned int cwsw, oldcwsw, mxcsr, oldmxcsr; in __fex_hdlr() local
409 cwsw = (oldcwsw & ~0x3f) | 0x003f0000; in __fex_hdlr()
410 __fenv_setcwsw(&cwsw); in __fex_hdlr()
498 __fenv_setcwsw(&cwsw); in __fex_hdlr()
573 __fenv_setcwsw(&cwsw); in __fex_hdlr()
661 __fenv_getcwsw(&cwsw); in __fex_hdlr()
662 cwsw = (cwsw & ~0x3f) | 0x003f0000; in __fex_hdlr()
663 __fenv_setcwsw(&cwsw); in __fex_hdlr()
687 __fenv_setcwsw(&cwsw); in __fex_hdlr()
H A Dfma.c409 unsigned cwsw, oldcwsw, rm; in __fma() local
435 cwsw = (oldcwsw & 0xf0c0ffff) | 0x033f0000; in __fma()
436 __fenv_setcwsw(&cwsw); in __fma()
H A Dfmal.c881 unsigned oldcwsw, cwsw, rm, sticky, carry; in __fmal() local
933 cwsw = (oldcwsw & 0xf0c0ffff) | 0x0f3f0000; in __fmal()
934 __fenv_setcwsw(&cwsw); in __fmal()