diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-12-20 09:29:29 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-12-20 09:29:29 +0100 |
commit | a65dd355fb80a05215e15ae97649de52aec885e3 (patch) | |
tree | 81701bb0c6b648630f2bf1729a85d7f5eb49e67b /soft-fp/floatundidf.c | |
parent | 296a5732f94abe4d5699dc981e4ccfb950b48cee (diff) | |
parent | b4578bab30f72cddd2cf38abfb39f9c8dc892249 (diff) |
Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'soft-fp/floatundidf.c')
-rw-r--r-- | soft-fp/floatundidf.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/soft-fp/floatundidf.c b/soft-fp/floatundidf.c index 1babcec8e0..8a041f827a 100644 --- a/soft-fp/floatundidf.c +++ b/soft-fp/floatundidf.c @@ -31,14 +31,16 @@ #include "soft-fp.h" #include "double.h" -DFtype __floatundidf(UDItype i) +DFtype +__floatundidf (UDItype i) { FP_DECL_EX; - FP_DECL_D(A); + FP_DECL_D (A); DFtype a; - FP_FROM_INT_D(A, i, DI_BITS, UDItype); - FP_PACK_RAW_D(a, A); + FP_INIT_ROUNDMODE; + FP_FROM_INT_D (A, i, DI_BITS, UDItype); + FP_PACK_RAW_D (a, A); FP_HANDLE_EXCEPTIONS; return a; |