diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-02-29 12:40:27 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-02-29 12:40:27 +0000 |
commit | a9854bc3812b6f33a74305c7f7531247e3cfd85b (patch) | |
tree | 07f816799aa55b889abd9b3ee80107307c799dc6 /contrib/gcc/config/fixdfdi.c | |
parent | a5798ec8ceeb79c01c579e87d989e352587ccc32 (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/fixdfdi.c')
-rw-r--r-- | contrib/gcc/config/fixdfdi.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/contrib/gcc/config/fixdfdi.c b/contrib/gcc/config/fixdfdi.c deleted file mode 100644 index 9b49228afea7..000000000000 --- a/contrib/gcc/config/fixdfdi.c +++ /dev/null @@ -1,28 +0,0 @@ -/* Public domain. */ -typedef unsigned int USItype __attribute__ ((mode (SI))); -typedef int DItype __attribute__ ((mode (DI))); -typedef unsigned int UDItype __attribute__ ((mode (DI))); -typedef float DFtype __attribute__ ((mode (DF))); - -DItype __fixdfdi (DFtype); - -/* This version is needed to prevent recursion; fixunsdfdi in libgcc - calls fixdfdi, which in turn calls calls fixunsdfdi. */ - -static DItype -local_fixunsdfdi (DFtype a) -{ - USItype hi, lo; - - hi = a / (((UDItype) 1) << (sizeof (USItype) * 8)); - lo = a - ((DFtype) hi) * (((UDItype) 1) << (sizeof (USItype) * 8)); - return ((UDItype) hi << (sizeof (USItype) * 8)) | lo; -} - -DItype -__fixdfdi (DFtype a) -{ - if (a < 0) - return - local_fixunsdfdi (-a); - return local_fixunsdfdi (a); -} |