MIPS: math-emu: Inline ieee754dp_finite and ieee754dp_finite().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle
2014-04-22 16:52:01 +02:00
parent b3a7ad2b0c
commit 3a33db2321
5 changed files with 10 additions and 12 deletions

View File

@@ -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, \