diff options
Diffstat (limited to 'libgcc/soft-fp/fixsfdi.c')
-rw-r--r-- | libgcc/soft-fp/fixsfdi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libgcc/soft-fp/fixsfdi.c b/libgcc/soft-fp/fixsfdi.c index 5f69d6a2885..df6b9c728a2 100644 --- a/libgcc/soft-fp/fixsfdi.c +++ b/libgcc/soft-fp/fixsfdi.c @@ -31,14 +31,16 @@ #include "soft-fp.h" #include "single.h" -DItype __fixsfdi(SFtype a) +DItype +__fixsfdi (SFtype a) { FP_DECL_EX; - FP_DECL_S(A); + FP_DECL_S (A); UDItype r; - FP_UNPACK_RAW_S(A, a); - FP_TO_INT_S(r, A, DI_BITS, 1); + FP_INIT_EXCEPTIONS; + FP_UNPACK_RAW_S (A, a); + FP_TO_INT_S (r, A, DI_BITS, 1); FP_HANDLE_EXCEPTIONS; return r; |