Home
last modified time | relevance | path

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

/arch/mips/math-emu/
Ddp_sqrt.c80 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()
Dieee754int.h60 (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) {\
Dieee754dp.c107 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()
Dieee754sp.c108 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()
Dsp_fdp.c58 if ((ieee754_csr.rm == IEEE754_RU && !xs) || in ieee754sp_fdp()
59 (ieee754_csr.rm == IEEE754_RD && xs)) in ieee754sp_fdp()
Dieee754.h331 #define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.fcr31)) macro
335 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()
Dcp1emu.c610 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 …]
Dsp_sub.c97 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_sub()
170 if (ieee754_csr.rm == IEEE754_RD) in ieee754sp_sub()
Dsp_add.c97 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
165 return ieee754sp_zero(ieee754_csr.rm == in ieee754sp_add()
Ddp_sub.c97 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_sub()
176 if (ieee754_csr.rm == IEEE754_RD) in ieee754dp_sub()
Ddp_add.c98 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
171 return ieee754dp_zero(ieee754_csr.rm == in ieee754dp_add()
Dsp_sqrt.c103 switch (ieee754_csr.rm) { in ieee754sp_sqrt()
Dsp_tint.c85 switch (ieee754_csr.rm) { in ieee754sp_tint()
Ddp_tint.c80 switch (ieee754_csr.rm) { in ieee754dp_tint()
Dsp_tlong.c80 switch (ieee754_csr.rm) { in ieee754sp_tlong()
Ddp_tlong.c84 switch (ieee754_csr.rm) { in ieee754dp_tlong()