diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-22 15:11:01 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 13:11:13 (GMT) |
commit | 1bc3320d954183031bd3dc1dac36858c3c96e0b3 (patch) | |
tree | 1098efba360217a18c5799b578933a714f736987 /arch/mips/math-emu/ieee754sp.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/ieee754sp.c')
-rw-r--r-- | arch/mips/math-emu/ieee754sp.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/mips/math-emu/ieee754sp.c b/arch/mips/math-emu/ieee754sp.c index 5b435ec..495295c 100644 --- a/arch/mips/math-emu/ieee754sp.c +++ b/arch/mips/math-emu/ieee754sp.c @@ -90,18 +90,6 @@ union ieee754sp __cold ieee754sp_nanxcpt(union ieee754sp r, const char *op, ...) return ax.rv.sp; } -union ieee754sp ieee754sp_bestnan(union ieee754sp x, union ieee754sp y) -{ - assert(ieee754sp_isnan(x)); - assert(ieee754sp_isnan(y)); - - if (SPMANT(x) > SPMANT(y)) - return x; - else - return y; -} - - static unsigned get_rounding(int sn, unsigned xm) { /* inexact must round of 3 bits |