diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-22 19:11:01 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 17:11:13 +0400 |
commit | 1bc3320d954183031bd3dc1dac36858c3c96e0b3 (patch) | |
tree | 1098efba360217a18c5799b578933a714f736987 /arch/mips/math-emu/ieee754dp.c | |
parent | 3a33db2321759975dba3e6156459c3eeb3f6c1e2 (diff) | |
download | linux-1bc3320d954183031bd3dc1dac36858c3c96e0b3.tar.xz |
MIPS: math-emu: Remove unused ieee754sp_bestnan() and ieee754dp_bestnan().
Both are unused since lmo commit fdffbafbb38723618626c70ffdc6ff9175cdffa2
[Lots of FPU bug fixes from Kjeld Borch Egevang.]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754dp.c')
-rw-r--r-- | arch/mips/math-emu/ieee754dp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/math-emu/ieee754dp.c b/arch/mips/math-emu/ieee754dp.c index 9be2d7836f81..50b1fbf753f4 100644 --- a/arch/mips/math-emu/ieee754dp.c +++ b/arch/mips/math-emu/ieee754dp.c @@ -89,18 +89,6 @@ union ieee754dp __cold ieee754dp_nanxcpt(union ieee754dp r, const char *op, ...) return ax.rv.dp; } -union ieee754dp ieee754dp_bestnan(union ieee754dp x, union ieee754dp y) -{ - assert(ieee754dp_isnan(x)); - assert(ieee754dp_isnan(y)); - - if (DPMANT(x) > DPMANT(y)) - return x; - else - return y; -} - - static u64 get_rounding(int sn, u64 xm) { /* inexact must round of 3 bits |