diff options
Diffstat (limited to 'contrib/gcc/config/floatdidf.c')
-rw-r--r-- | contrib/gcc/config/floatdidf.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/contrib/gcc/config/floatdidf.c b/contrib/gcc/config/floatdidf.c deleted file mode 100644 index 45bd0fd27190..000000000000 --- a/contrib/gcc/config/floatdidf.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Public domain. */ -typedef int SItype __attribute__ ((mode (SI))); -typedef unsigned int USItype __attribute__ ((mode (SI))); -typedef int DItype __attribute__ ((mode (DI))); -typedef float DFtype __attribute__ ((mode (DF))); - -DFtype __floatdidf (DItype); - -DFtype -__floatdidf (DItype u) -{ - /* When the word size is small, we never get any rounding error. */ - DFtype f = (SItype) (u >> (sizeof (SItype) * 8)); - f *= 0x1p32f; - f += (USItype) u; - return f; -} |