aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/floatditf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/floatditf.c')
-rw-r--r--gcc/config/floatditf.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/config/floatditf.c b/gcc/config/floatditf.c
deleted file mode 100644
index 9671ac7..0000000
--- a/gcc/config/floatditf.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Public domain. */
-#if __LDBL_MANT_DIG__ == 106 || __LDBL_MANT_DIG__ == 113
-typedef int DItype __attribute__ ((mode (DI)));
-typedef int SItype __attribute__ ((mode (SI)));
-typedef unsigned int UDItype __attribute__ ((mode (DI)));
-typedef unsigned int USItype __attribute__ ((mode (SI)));
-typedef float DFtype __attribute__ ((mode (DF)));
-typedef float TFtype __attribute__ ((mode (TF)));
-
-TFtype __floatditf (UDItype);
-
-TFtype
-__floatditf (UDItype u)
-{
- DFtype dh, dl;
-
- dh = (SItype) (u >> (sizeof (SItype) * 8));
- dh *= 2.0 * (((UDItype) 1) << ((sizeof (SItype) * 8) - 1));
- dl = (USItype) (u & ((((UDItype) 1) << (sizeof (SItype) * 8)) - 1));
-
- return (TFtype) dh + (TFtype) dl;
-}
-
-#endif
-