MIPS: math-emu: Inline ieee754dp_finite and ieee754dp_finite().
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
@@ -44,6 +44,11 @@
|
||||
#define SPBEXP(sp) (sp.parts.bexp)
|
||||
#define SPMANT(sp) (sp.parts.mant)
|
||||
|
||||
static inline int ieee754sp_finite(union ieee754sp x)
|
||||
{
|
||||
return SPBEXP(x) != SP_EMAX + 1 + SP_EBIAS;
|
||||
}
|
||||
|
||||
/* 3bit extended single precision sticky right shift */
|
||||
#define SPXSRSXn(rs) \
|
||||
(xe += rs, \
|
||||
|
Reference in New Issue
Block a user