diff options
Diffstat (limited to 'libgcc/soft-fp/floatunsisf.c')
-rw-r--r-- | libgcc/soft-fp/floatunsisf.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libgcc/soft-fp/floatunsisf.c b/libgcc/soft-fp/floatunsisf.c index 2c0cc897636..91c1e4d1a96 100644 --- a/libgcc/soft-fp/floatunsisf.c +++ b/libgcc/soft-fp/floatunsisf.c @@ -31,14 +31,16 @@ #include "soft-fp.h" #include "single.h" -SFtype __floatunsisf(USItype i) +SFtype +__floatunsisf (USItype i) { FP_DECL_EX; - FP_DECL_S(A); + FP_DECL_S (A); SFtype a; - FP_FROM_INT_S(A, i, SI_BITS, USItype); - FP_PACK_RAW_S(a, A); + FP_INIT_ROUNDMODE; + FP_FROM_INT_S (A, i, SI_BITS, USItype); + FP_PACK_RAW_S (a, A); FP_HANDLE_EXCEPTIONS; return a; |