]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
MIPS: math-emu: Remove unused ieee754sp_bestnan() and ieee754dp_bestnan().
authorRalf Baechle <ralf@linux-mips.org>
Tue, 22 Apr 2014 15:11:01 +0000 (17:11 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 23 May 2014 13:11:13 +0000 (15:11 +0200)
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>
arch/mips/math-emu/ieee754dp.c
arch/mips/math-emu/ieee754dp.h
arch/mips/math-emu/ieee754sp.c
arch/mips/math-emu/ieee754sp.h

index 9be2d7836f81c89aafa1516352e1232b05f79258..50b1fbf753f40b478739c5b99f932cc24f9d38f3 100644 (file)
@@ -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
index c755e1fc855f14cd96712cfb23febabb4427df89..830a0d55775bde90b864aee28c08e7c52b26032d 100644 (file)
@@ -86,7 +86,6 @@ extern int __cold ieee754si_xcpt(int, const char *, ...);
 extern s64 __cold ieee754di_xcpt(s64, const char *, ...);
 extern union ieee754dp __cold ieee754dp_xcpt(union ieee754dp, const char *, ...);
 extern union ieee754dp __cold ieee754dp_nanxcpt(union ieee754dp, const char *, ...);
-extern union ieee754dp ieee754dp_bestnan(union ieee754dp, union ieee754dp);
 extern union ieee754dp ieee754dp_format(int, int, u64);
 
 
index 5b435ec8ae25ef90569cb6474c99508fe13a8dff..495295cef3d409702b150f6c4f83de0b6f42d154 100644 (file)
@@ -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
index 45a2de38eb4b6198dd7c6346e7a71ee651bd5da5..95112052db6d87ed7bc2ce30c72a4aa256d49975 100644 (file)
@@ -92,7 +92,6 @@ extern int __cold ieee754si_xcpt(int, const char *, ...);
 extern s64 __cold ieee754di_xcpt(s64, const char *, ...);
 extern union ieee754sp __cold ieee754sp_xcpt(union ieee754sp, const char *, ...);
 extern union ieee754sp __cold ieee754sp_nanxcpt(union ieee754sp, const char *, ...);
-extern union ieee754sp ieee754sp_bestnan(union ieee754sp, union ieee754sp);
 extern union ieee754sp ieee754sp_format(int, int, unsigned);