Searched refs:ieee754_csr (Results 1 – 17 of 17) sorted by relevance
40 struct ieee754_csr oldcsr; in ieee754dp_sqrt()81 oldcsr = ieee754_csr; in ieee754dp_sqrt()82 ieee754_csr.mx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()83 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()84 ieee754_csr.rm = IEEE754_RN; in ieee754dp_sqrt()126 ieee754_csr.rm = IEEE754_RZ; in ieee754dp_sqrt()127 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()132 if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { in ieee754dp_sqrt()134 if (!(ieee754_csr.sx & IEEE754_INEXACT)) in ieee754dp_sqrt()162 ieee754_csr = oldcsr; in ieee754dp_sqrt()
61 (ieee754_csr.cx = 0)64 (ieee754_csr.cx |= (x),ieee754_csr.sx |= (x))67 (SETCX(x),ieee754_csr.mx & (x))70 (ieee754_csr.cx & ieee754_csr.mx)142 if(ieee754_csr.nod) {\153 if(ieee754_csr.nod) {\
408 ieee754_csr.nod = (ctx->sr & 0x1000000) != 0; in cop1Emulate()409 ieee754_csr.rm = ieee_rm[value & 0x3]; in cop1Emulate()574 struct ieee754_csr ieee754_csr_save; \576 ieee754_csr_save = ieee754_csr; \578 ieee754_csr_save.cx |= ieee754_csr.cx; \579 ieee754_csr_save.sx |= ieee754_csr.sx; \581 ieee754_csr.cx |= ieee754_csr_save.cx; \582 ieee754_csr.sx |= ieee754_csr_save.sx; \703 if (ieee754_csr.nod) in fpux_emu()942 unsigned int oldrm = ieee754_csr.rm; in fpu_emu()[all …]
326 struct ieee754_csr { struct334 extern struct ieee754_csr ieee754_csr; argument338 return (ieee754_csr.rm); in ieee754_getrm()342 return (ieee754_csr.rm = rm); in ieee754_setrm()350 return (ieee754_csr.cx); in ieee754_getcx()357 return (ieee754_csr.cx & n); in ieee754_cxtest()365 return (ieee754_csr.sx); in ieee754_getsx()372 return (ieee754_csr.sx = 0); in ieee754_clrsx()379 return (ieee754_csr.sx & n); in ieee754_sxtest()
107 switch (ieee754_csr.rm) { in get_rounding()144 if (ieee754_csr.nod) { in ieee754sp_format()148 switch(ieee754_csr.rm) { in ieee754sp_format()212 switch (ieee754_csr.rm) { in ieee754sp_format()234 if (ieee754_csr.mx & IEEE754_UNDERFLOW) in ieee754sp_format()
106 switch (ieee754_csr.rm) { in get_rounding()143 if (ieee754_csr.nod) { in ieee754dp_format()147 switch(ieee754_csr.rm) { in ieee754dp_format()212 switch (ieee754_csr.rm) { in ieee754dp_format()234 if (ieee754_csr.mx & IEEE754_UNDERFLOW) in ieee754dp_format()
59 if ((ieee754_csr.rm == IEEE754_RU && !xs) || in ieee754sp_fdp()60 (ieee754_csr.rm == IEEE754_RD && xs)) in ieee754sp_fdp()
55 struct ieee754_csr ieee754_csr; variable
98 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()166 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
98 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_sub()171 if (ieee754_csr.rm == IEEE754_RD) in ieee754sp_sub()
99 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()172 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
98 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_sub()177 if (ieee754_csr.rm == IEEE754_RD) in ieee754dp_sub()
104 switch (ieee754_csr.rm) { in ieee754sp_sqrt()
82 switch (ieee754_csr.rm) { in ieee754dp_tint()
82 switch (ieee754_csr.rm) { in ieee754sp_tlong()
87 switch (ieee754_csr.rm) { in ieee754sp_tint()
86 switch (ieee754_csr.rm) { in ieee754dp_tlong()