Home
last modified time | relevance | path

Searched refs:ieee754_csr (Results 1 – 17 of 17) sorted by relevance

/linux-2.4.37.9/arch/mips/math-emu/
Ddp_sqrt.c40 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()
Dieee754int.h61 (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) {\
Dcp1emu.c408 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 …]
Dieee754.h326 struct ieee754_csr { struct
334 extern struct ieee754_csr ieee754_csr; argument
338 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()
Dieee754sp.c107 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()
Dieee754dp.c106 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()
Dsp_fdp.c59 if ((ieee754_csr.rm == IEEE754_RU && !xs) || in ieee754sp_fdp()
60 (ieee754_csr.rm == IEEE754_RD && xs)) in ieee754sp_fdp()
Dieee754.c55 struct ieee754_csr ieee754_csr; variable
Dsp_add.c98 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
166 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
Dsp_sub.c98 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_sub()
171 if (ieee754_csr.rm == IEEE754_RD) in ieee754sp_sub()
Ddp_add.c99 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
172 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
Ddp_sub.c98 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_sub()
177 if (ieee754_csr.rm == IEEE754_RD) in ieee754dp_sub()
Dsp_sqrt.c104 switch (ieee754_csr.rm) { in ieee754sp_sqrt()
Ddp_tint.c82 switch (ieee754_csr.rm) { in ieee754dp_tint()
Dsp_tlong.c82 switch (ieee754_csr.rm) { in ieee754sp_tlong()
Dsp_tint.c87 switch (ieee754_csr.rm) { in ieee754sp_tint()
Ddp_tlong.c86 switch (ieee754_csr.rm) { in ieee754dp_tlong()