diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-15 18:47:59 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-21 05:12:47 -0400 |
commit | cae55066cb1ce3f8572ddddbd3ec3c54b973a89c (patch) | |
tree | 91b106168432448ebb07766cc4e88bf778739036 /arch/mips/math-emu/ieee754sp.h | |
parent | f80cc08d78556bdc66bf0b75ec412688d8ec6907 (diff) |
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/ieee754sp.h')
-rw-r--r-- | arch/mips/math-emu/ieee754sp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/mips/math-emu/ieee754sp.h b/arch/mips/math-emu/ieee754sp.h index 754fd54649b5..e3933bed0be4 100644 --- a/arch/mips/math-emu/ieee754sp.h +++ b/arch/mips/math-emu/ieee754sp.h | |||
@@ -24,6 +24,7 @@ | |||
24 | * ######################################################################## | 24 | * ######################################################################## |
25 | */ | 25 | */ |
26 | 26 | ||
27 | #include <linux/compiler.h> | ||
27 | 28 | ||
28 | #include "ieee754int.h" | 29 | #include "ieee754int.h" |
29 | 30 | ||
@@ -68,10 +69,10 @@ static inline ieee754sp buildsp(int s, int bx, unsigned m) | |||
68 | 69 | ||
69 | extern int ieee754sp_isnan(ieee754sp); | 70 | extern int ieee754sp_isnan(ieee754sp); |
70 | extern int ieee754sp_issnan(ieee754sp); | 71 | extern int ieee754sp_issnan(ieee754sp); |
71 | extern int ieee754si_xcpt(int, const char *, ...); | 72 | extern int __cold ieee754si_xcpt(int, const char *, ...); |
72 | extern s64 ieee754di_xcpt(s64, const char *, ...); | 73 | extern s64 __cold ieee754di_xcpt(s64, const char *, ...); |
73 | extern ieee754sp ieee754sp_xcpt(ieee754sp, const char *, ...); | 74 | extern ieee754sp __cold ieee754sp_xcpt(ieee754sp, const char *, ...); |
74 | extern ieee754sp ieee754sp_nanxcpt(ieee754sp, const char *, ...); | 75 | extern ieee754sp __cold ieee754sp_nanxcpt(ieee754sp, const char *, ...); |
75 | extern ieee754sp ieee754sp_bestnan(ieee754sp, ieee754sp); | 76 | extern ieee754sp ieee754sp_bestnan(ieee754sp, ieee754sp); |
76 | extern ieee754sp ieee754sp_format(int, int, unsigned); | 77 | extern ieee754sp ieee754sp_format(int, int, unsigned); |
77 | 78 | ||