diff options
Diffstat (limited to 'libgcc/soft-fp/fixtfdi.c')
-rw-r--r-- | libgcc/soft-fp/fixtfdi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libgcc/soft-fp/fixtfdi.c b/libgcc/soft-fp/fixtfdi.c index ac67bfbd3c0..a65173aa781 100644 --- a/libgcc/soft-fp/fixtfdi.c +++ b/libgcc/soft-fp/fixtfdi.c @@ -31,14 +31,16 @@ #include "soft-fp.h" #include "quad.h" -DItype __fixtfdi(TFtype a) +DItype +__fixtfdi (TFtype a) { FP_DECL_EX; - FP_DECL_Q(A); + FP_DECL_Q (A); UDItype r; - FP_UNPACK_RAW_Q(A, a); - FP_TO_INT_Q(r, A, DI_BITS, 1); + FP_INIT_EXCEPTIONS; + FP_UNPACK_RAW_Q (A, a); + FP_TO_INT_Q (r, A, DI_BITS, 1); FP_HANDLE_EXCEPTIONS; return r; |