Searched refs:ieee754_csr (Results 1 – 16 of 16) sorted by relevance
80 oldcsr = ieee754_csr; in ieee754dp_sqrt()81 ieee754_csr.mx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()82 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()83 ieee754_csr.rm = IEEE754_RN; in ieee754dp_sqrt()125 ieee754_csr.rm = IEEE754_RZ; in ieee754dp_sqrt()126 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt()131 if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { in ieee754dp_sqrt()133 if (!(ieee754_csr.sx & IEEE754_INEXACT)) in ieee754dp_sqrt()161 ieee754_csr = oldcsr; in ieee754dp_sqrt()
60 (ieee754_csr.cx = 0)63 (ieee754_csr.cx |= (x), ieee754_csr.sx |= (x))66 (SETCX(x), ieee754_csr.mx & (x))69 (ieee754_csr.cx & ieee754_csr.mx)141 if(ieee754_csr.nod) {\152 if(ieee754_csr.nod) {\
107 switch (ieee754_csr.rm) { in get_rounding()144 if (ieee754_csr.nod) { in ieee754dp_format()148 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()
108 switch (ieee754_csr.rm) { in get_rounding()145 if (ieee754_csr.nod) { in ieee754sp_format()149 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()
58 if ((ieee754_csr.rm == IEEE754_RU && !xs) || in ieee754sp_fdp()59 (ieee754_csr.rm == IEEE754_RD && xs)) in ieee754sp_fdp()
331 #define ieee754_csr (*(struct _ieee754_csr *)(¤t->thread.fpu.fcr31)) macro335 return (ieee754_csr.rm); in ieee754_getrm()339 return (ieee754_csr.rm = rm); in ieee754_setrm()347 return (ieee754_csr.cx); in ieee754_getcx()354 return (ieee754_csr.cx & n); in ieee754_cxtest()362 return (ieee754_csr.sx); in ieee754_getsx()369 return (ieee754_csr.sx = 0); in ieee754_clrsx()376 return (ieee754_csr.sx & n); in ieee754_sxtest()
610 ieee754_csr_save = ieee754_csr; \612 ieee754_csr_save.cx |= ieee754_csr.cx; \613 ieee754_csr_save.sx |= ieee754_csr.sx; \615 ieee754_csr.cx |= ieee754_csr_save.cx; \616 ieee754_csr.sx |= ieee754_csr_save.sx; \976 unsigned int oldrm = ieee754_csr.rm; in fpu_emu()980 ieee754_csr.rm = ieee_rm[modeindex(MIPSInst_FUNC(ir))]; in fpu_emu()982 ieee754_csr.rm = oldrm; in fpu_emu()1002 unsigned int oldrm = ieee754_csr.rm; in fpu_emu()1006 ieee754_csr.rm = ieee_rm[modeindex(MIPSInst_FUNC(ir))]; in fpu_emu()[all …]
97 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_sub()170 if (ieee754_csr.rm == IEEE754_RD) in ieee754sp_sub()
97 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()165 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
97 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_sub()176 if (ieee754_csr.rm == IEEE754_RD) in ieee754dp_sub()
98 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()171 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
103 switch (ieee754_csr.rm) { in ieee754sp_sqrt()
85 switch (ieee754_csr.rm) { in ieee754sp_tint()
80 switch (ieee754_csr.rm) { in ieee754dp_tint()
80 switch (ieee754_csr.rm) { in ieee754sp_tlong()
84 switch (ieee754_csr.rm) { in ieee754dp_tlong()