aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc/config/floatundidf.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2020-02-29 12:40:27 +0000
committerEd Maste <emaste@FreeBSD.org>2020-02-29 12:40:27 +0000
commita9854bc3812b6f33a74305c7f7531247e3cfd85b (patch)
tree07f816799aa55b889abd9b3ee80107307c799dc6 /contrib/gcc/config/floatundidf.c
parenta5798ec8ceeb79c01c579e87d989e352587ccc32 (diff)
Remove contrib/gcc and contrib/gcclibs
GCC 4.2.1 was disconnected from FreeBSD in r358454. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=358459
Diffstat (limited to 'contrib/gcc/config/floatundidf.c')
-rw-r--r--contrib/gcc/config/floatundidf.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/gcc/config/floatundidf.c b/contrib/gcc/config/floatundidf.c
deleted file mode 100644
index 0b11b0f77256..000000000000
--- a/contrib/gcc/config/floatundidf.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Public domain. */
-typedef unsigned int USItype __attribute__ ((mode (SI)));
-typedef unsigned int UDItype __attribute__ ((mode (DI)));
-typedef float DFtype __attribute__ ((mode (DF)));
-
-DFtype __floatundidf (UDItype);
-
-DFtype
-__floatundidf (UDItype u)
-{
- /* When the word size is small, we never get any rounding error. */
- DFtype f = (USItype) (u >> (sizeof (USItype) * 8));
- f *= 0x1p32f;
- f += (USItype) u;
- return f;
-}