diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-16 00:47:59 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-21 11:12:47 +0200 |
commit | cae55066cb1ce3f8572ddddbd3ec3c54b973a89c (patch) | |
tree | 91b106168432448ebb07766cc4e88bf778739036 /arch/mips/math-emu/ieee754dp.h | |
parent | f80cc08d78556bdc66bf0b75ec412688d8ec6907 (diff) | |
download | linux-cae55066cb1ce3f8572ddddbd3ec3c54b973a89c.tar.gz linux-cae55066cb1ce3f8572ddddbd3ec3c54b973a89c.tar.bz2 linux-cae55066cb1ce3f8572ddddbd3ec3c54b973a89c.zip |
MIPS: math-emu: Mark exception handling functions as __cold.
Optimizes the code flow and shaves of half a percent of the math-emu
code size.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/ieee754dp.h')
-rw-r--r-- | arch/mips/math-emu/ieee754dp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/mips/math-emu/ieee754dp.h b/arch/mips/math-emu/ieee754dp.h index f139c724c59a..ce2af5b04b48 100644 --- a/arch/mips/math-emu/ieee754dp.h +++ b/arch/mips/math-emu/ieee754dp.h @@ -24,6 +24,7 @@ * ######################################################################## */ +#include <linux/compiler.h> #include "ieee754int.h" @@ -62,10 +63,10 @@ static inline ieee754dp builddp(int s, int bx, u64 m) extern int ieee754dp_isnan(ieee754dp); extern int ieee754dp_issnan(ieee754dp); -extern int ieee754si_xcpt(int, const char *, ...); -extern s64 ieee754di_xcpt(s64, const char *, ...); -extern ieee754dp ieee754dp_xcpt(ieee754dp, const char *, ...); -extern ieee754dp ieee754dp_nanxcpt(ieee754dp, const char *, ...); +extern int __cold ieee754si_xcpt(int, const char *, ...); +extern s64 __cold ieee754di_xcpt(s64, const char *, ...); +extern ieee754dp __cold ieee754dp_xcpt(ieee754dp, const char *, ...); +extern ieee754dp __cold ieee754dp_nanxcpt(ieee754dp, const char *, ...); extern ieee754dp ieee754dp_bestnan(ieee754dp, ieee754dp); extern ieee754dp ieee754dp_format(int, int, u64); |