OpenGrok
Cross Reference: softfloat.c
xref
: /
src
/
lib
/
libc
/
softfloat
/
bits64
/
softfloat.c
Home
|
History
|
Annotate
|
Download
|
only in
bits64
History log of
/src/lib/libc/softfloat/bits64/softfloat.c
Revision
Date
Author
Comments
1.16
17-Sep-2025
nat
Shift the high word of floatx80 accordingly on m68k.
This is because gcc will store floatx80 as signbit(1)exponent(15) padding(32)
as opposed to sign and exponent in a short(16 bit) word.
1.15
27-Feb-2024
christos
appease lint
1.14
29-Mar-2016
martin
Avoid warnings (signed/unsigned comparision and unused variable)
1.13
22-Nov-2013
martin
Fix a cast from the lint cleanup that made small exponents (i.e. values < 1)
sign extend wrong and overflow, causing an underflow in all 128 bit sqrt
calculations.
1.12
10-Jan-2013
matt
Add hooks to softfloat to support per-lwp exception state.
1.11
24-Mar-2012
matt
branches: 1.11.2;
Fix a bug introduced by lint cleanup.
1.10
21-Mar-2012
christos
cast to appropriate types.
1.9
20-Mar-2012
martin
Remove initialized but unused variable
1.8
10-Jul-2011
matt
branches: 1.8.2;
Fix so that float128_to_uint64_round_to_zero is defined for sparc64.
(isn't tha a namespace violation?)
1.7
09-Jul-2011
matt
Add SOFTFLOAT_NEED_FIXUNS condition around the float128 fixuns
1.6
04-Jul-2011
matt
Add __floatunsidf __floatunsisf __floatunsitf routines.
XXX i think they are correct but not sure.
1.5
08-Nov-2007
martin
branches: 1.5.20;
When creating unsigned int results, do not distinguish positive versus
negative overflow.
1.4
08-Nov-2007
martin
When converting long double values to integer types, explicitly use the
"round to zero" variants of the softfloat conversion functions.
Add a variant to convert long double to unsigned long - the "to long"
variant checked for overflows that do not apply to unsigned results.
This fixes the regress/lib/libc/convfp tests for sparc64.
1.3
11-May-2006
mrg
branches: 1.3.10;
add128() wants bits64 * as it's 5th argument.
1.2
26-Jul-2003
salo
netbsd.org->NetBSD.org
1.1
21-May-2002
bjh21
branches: 1.1.4;
Import the 32-bit version of SoftFloat 2a and separate it and the 64-bit
version into different directories. Which version a given port uses is
controlled by the SOFTFLOAT_BITS make variable. This is set to 64 (which
uses the same code we had before) by default. 32-bit platforms that don't
need extended precision support might get better performance by using 32.
Set the ARM port to use the 32-bit version of SoftFloat, since this is more
than a factor of two faster than the 64-bit version. This should get the
floating-point performance back to what it was in 1.5.
1.1.4.2
21-May-2002
bjh21
Import the 32-bit version of SoftFloat 2a and separate it and the 64-bit
version into different directories. Which version a given port uses is
controlled by the SOFTFLOAT_BITS make variable. This is set to 64 (which
uses the same code we had before) by default. 32-bit platforms that don't
need extended precision support might get better performance by using 32.
Set the ARM port to use the 32-bit version of SoftFloat, since this is more
than a factor of two faster than the 64-bit version. This should get the
floating-point performance back to what it was in 1.5.
1.1.4.1
21-May-2002
bjh21
file softfloat.c was added on branch nathanw_sa on 2002-05-21 23:51:09 +0000
1.3.10.1
09-Jan-2008
matt
sync with HEAD
1.5.20.1
20-May-2011
matt
Add float128_to_uint32_round_to_zero
1.8.2.3
22-May-2014
yamt
sync with head.
for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
1.8.2.2
23-Jan-2013
yamt
sync with head
1.8.2.1
17-Apr-2012
yamt
sync with head
1.11.2.2
20-Aug-2014
tls
Rebase to HEAD as of a few days ago.
1.11.2.1
25-Feb-2013
tls
resync with head
Indexes created Sun Sep 21 18:09:52 GMT 2025