Home | History | Annotate | only in /src/lib/libc/quad
History log of /src/lib/libc/quad
RevisionDateAuthorComments
 1.18 20-Oct-2025  nat New port: mac68ksf - Macintosh 68k softfloat.

This commit is all the Makefile glue for the new port which is the mac68k
port with MKSOFTFLOAT set to "yes".

As posted here:
https://mail-index.netbsd.org/port-mac68k/2025/10/14/msg001037.html
 1.17 24-Aug-2013  matt Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.16 30-Apr-2013  matt ARM EABI needs left shift logical too.
 1.15 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.14 06-Aug-2012  matt branches: 1.14.2;
earm* need __lshldi3
 1.13 04-Jul-2011  mrg branches: 1.13.2;
add support for __floatunsisf().
 1.12 04-Jul-2011  matt Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.11 06-Dec-2009  uebayasi Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
then append them to ${SRCS}. Those will be used to generate quad / softfloat
symbol lists.
 1.10 18-May-2001  fredette Compile ashldi3.S and lshrdi3.S on m68000.
 1.9 24-Feb-1999  drochner branches: 1.9.12;
use ${ARCHDIR} instead of ${.CURDIR}/arch/${MACHINE_ARCH} where appropriate
libc builds on pmax again
 1.8 20-Dec-1996  cgd don't include lshrdi3.c in MI sources, since they're already in MD sources
 1.7 01-Jun-1996  jtc Note functions that probably can be removed
 1.6 01-Jun-1996  jtc Fix typo in last change
 1.5 01-Jun-1996  jtc Enable use of assembly language shift routines on the m68k
 1.4 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.3 04-Dec-1993  cgd update for .S and MACHINE_ARCH
 1.2 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.9.12.1 08-Oct-2001  nathanw Catch up to -current.
 1.13.2.2 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.13.2.1 30-Oct-2012  yamt sync with head
 1.14.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.2.2 23-Jun-2013  tls resync from head
 1.14.2.1 25-Feb-2013  tls resync with head
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.3 13-Jul-1997  christos branches: 1.3.14;
Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.3.14.1 11-Nov-2002  nathanw Catch up to -current
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.8 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.5 29-Jan-1998  mouse branches: 1.5.12;
Make shifting by 0 work even when shifting by 32 is equivalent to shifting
by 0. Fixes lib/4845 (KNFification of the fix given therein).
 1.4 13-Jul-1997  christos branches: 1.4.2;
Fix RCSID's
 1.3 01-Jun-1996  jtc Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.2.1 07-Feb-1998  mellon Pull up 1.5 (mouse)
 1.5.12.1 11-Nov-2002  nathanw Catch up to -current
 1.10 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.9 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.7 10-Sep-1999  drochner branches: 1.7.10;
The last commit changed the behavious wrt sign extension.
Back it out and replace with LINTED comments.
 1.6 03-May-1999  christos Cast signed long shifts to unsigned long to avoid lint portability warnings.
The comment above the code mentions that it should work even on machines
that shift in zeroes.
 1.5 29-Jan-1998  mouse Make shifting by 0 work even when shifting by 32 is equivalent to shifting
by 0. Fixes lib/4845 (KNFification of the fix given therein).
 1.4 13-Jul-1997  christos branches: 1.4.2;
Fix RCSID's
 1.3 01-Jun-1996  jtc Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.2.1 07-Feb-1998  mellon Pull up 1.5 (mouse)
 1.7.10.1 11-Nov-2002  nathanw Catch up to -current
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 13-Jul-1997  christos Fix RCSID's
 1.3 01-Jun-1996  jtc Re-arranged code a bit so that gcc can optimize this a bit better.
This change results in better code on the i386, m68k, & ns32k, and
equivalent code on the sparc.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.7 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.6 05-Aug-2012  matt branches: 1.6.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.5 04-Jul-2011  matt branches: 1.5.2;
Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5.2.2 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.5.2.1 30-Oct-2012  yamt sync with head
 1.6.2.1 25-Feb-2013  tls resync with head
 1.1 24-Aug-2013  matt branches: 1.1.4; 1.1.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 24-Aug-2013  tls file fixdfdi_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.1.4.2 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.1.4.1 24-Aug-2013  yamt file fixdfdi_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.6 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.5 05-Aug-2012  matt branches: 1.5.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.4 07-Aug-2003  agc branches: 1.4.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix declaration to use quad_t, not long long.
Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.56.2 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.4.56.1 30-Oct-2012  yamt sync with head
 1.5.2.1 25-Feb-2013  tls resync with head
 1.1 24-Aug-2013  matt branches: 1.1.4; 1.1.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 24-Aug-2013  tls file fixsfdi_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.1.4.2 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.1.4.1 24-Aug-2013  yamt file fixsfdi_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.11 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.10 05-Aug-2012  matt branches: 1.10.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.9 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.8 04-Jul-2011  matt branches: 1.8.2;
Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.5 26-Mar-1999  kristerw branches: 1.5.12;
Corrected an off-by-one error (lib/6314 Torbjorn Granlund)
 1.4 13-Jul-1997  christos Fix RCSID's
 1.3 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5.12.1 11-Nov-2002  nathanw Catch up to -current
 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 30-Oct-2012  yamt sync with head
 1.8.2.1 17-Apr-2012  yamt sync with head
 1.10.2.1 25-Feb-2013  tls resync with head
 1.1 24-Aug-2013  matt branches: 1.1.4; 1.1.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 24-Aug-2013  tls file fixunsdfdi_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.1.4.2 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.1.4.1 24-Aug-2013  yamt file fixunsdfdi_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.9 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.8 05-Aug-2012  matt branches: 1.8.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.7 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.6 07-Aug-2003  agc branches: 1.6.56;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.4 13-Jul-1997  christos branches: 1.4.14;
Fix RCSID's
 1.3 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.14.1 11-Nov-2002  nathanw Catch up to -current
 1.6.56.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.6.56.2 30-Oct-2012  yamt sync with head
 1.6.56.1 17-Apr-2012  yamt sync with head
 1.8.2.1 25-Feb-2013  tls resync with head
 1.1 24-Aug-2013  matt branches: 1.1.4; 1.1.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 24-Aug-2013  tls file fixunssfdi_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.1.4.2 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.1.4.1 24-Aug-2013  yamt file fixunssfdi_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.10 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.9 05-Aug-2012  matt branches: 1.9.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.8 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.7 04-Jul-2011  matt branches: 1.7.2;
Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.4 13-Jul-1997  christos branches: 1.4.14;
Fix RCSID's
 1.3 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.14.1 11-Nov-2002  nathanw Catch up to -current
 1.7.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.7.2.2 30-Oct-2012  yamt sync with head
 1.7.2.1 17-Apr-2012  yamt sync with head
 1.9.2.1 25-Feb-2013  tls resync with head
 1.1 24-Aug-2013  matt branches: 1.1.4; 1.1.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 24-Aug-2013  tls file floatdidf_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.1.4.2 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.1.4.1 24-Aug-2013  yamt file floatdidf_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.10 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.9 05-Aug-2012  matt branches: 1.9.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.8 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.7 04-Jul-2011  matt branches: 1.7.2;
Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.4 13-Jul-1997  christos branches: 1.4.14;
Fix RCSID's
 1.3 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.14.1 11-Nov-2002  nathanw Catch up to -current
 1.7.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.7.2.2 30-Oct-2012  yamt sync with head
 1.7.2.1 17-Apr-2012  yamt sync with head
 1.9.2.1 25-Feb-2013  tls resync with head
 1.2 24-Aug-2013  matt branches: 1.2.4; 1.2.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1 23-Aug-2013  matt Add IEEE 754 versions of __float{,}disf which use no floating point.
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 24-Aug-2013  tls file floatdisf_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.2.4.2 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.2.4.1 24-Aug-2013  yamt file floatdisf_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.4 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.3 05-Aug-2012  matt branches: 1.3.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.2 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.1 04-Jul-2011  matt branches: 1.1.2;
Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.1.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.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.3.2.1 25-Feb-2013  tls resync with head
 1.2 30-Sep-2013  mlelstv branches: 1.2.4; 1.2.8;
Don't return 0x1.0p31 for every input value 2^N.
There is also no need to special case the value 1.
 1.1 24-Aug-2013  matt Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 30-Sep-2013  tls file floatundidf_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.2.4.2 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.2.4.1 30-Sep-2013  yamt file floatundidf_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.4 03-Feb-2013  matt Adapt to earm hard float by including softfloat-for-gcc.h even if __ARM_EABI__
so we can get the __aeabi aliases.
 1.3 05-Aug-2012  matt branches: 1.3.2;
If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.2 13-Mar-2012  christos PR/45989: Martin Husemann: lint invocation does include -w only on i386

- turn lint -w for all the platforms after fixing the lint warnings.
- add _DIAGASSERTS() for casts that would assign values to types that
would not fit.
- change types, add casts
- change into ansii prototypes
- turn on _DIAGNOSTIC for libc (during current, to be eliminated for release
builds)

approved by core@
 1.1 04-Jul-2011  mrg branches: 1.1.2;
add support for __floatunsisf().
 1.1.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.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.3.2.1 25-Feb-2013  tls resync with head
 1.2 24-Aug-2013  matt branches: 1.2.4; 1.2.8;
Add IEEE 754 versions of
fixdfdi.c fixsfdi.c fixunsdfdi.c fixunssfdi.c
floatdidf.c floatdisf.c floatundidf.c floatundisf.c
These don't FP so are well suited to softfloat implementation.
 1.1 23-Aug-2013  matt Add IEEE 754 versions of __float{,}disf which use no floating point.
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 24-Aug-2013  tls file floatundisf_ieee754.c was added on branch tls-maxphys on 2014-08-20 00:02:15 +0000
 1.2.4.2 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.2.4.1 24-Aug-2013  yamt file floatundisf_ieee754.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.4 05-Aug-2012  matt If compiling for SOFTFLOAT, include "softfloat/softfloat-for-gcc.h" so we
can pick any redefinitions of the function (for ARM EABI).
 1.3 25-Mar-2012  christos - change from size_t to unsigned int because we don't need the extra width
- cast to unsigned int results of quad ops
 1.2 09-Jul-2011  matt branches: 1.2.2;
Appease lint and don't use C99 features.
 1.1 09-Jul-2011  matt Add ieee754 versions of the compiler runtime functions
__fixuns{sf,df,tf}{si,di}.
Add an ieee754 version of the compiler runtime function __floatuntfdi
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.7 04-Jul-2011  matt Update to C89 style.
Fix name of floatundidf (uns -> un).
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.4 13-Jul-1997  christos branches: 1.4.14;
Fix RCSID's
 1.3 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.14.1 11-Nov-2002  nathanw Catch up to -current
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.8 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.5 29-Jan-1998  mouse branches: 1.5.12;
Make shifting by 0 work even when shifting by 32 is equivalent to shifting
by 0. Fixes lib/4845 (KNFification of the fix given therein).
 1.4 13-Jul-1997  christos branches: 1.4.2;
Fix RCSID's
 1.3 01-Jun-1996  jtc Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.2.1 07-Feb-1998  mellon Pull up 1.5 (mouse)
 1.5.12.1 11-Nov-2002  nathanw Catch up to -current
 1.8 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.7 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.5 29-Jan-1998  mouse branches: 1.5.12;
Make shifting by 0 work even when shifting by 32 is equivalent to shifting
by 0. Fixes lib/4845 (KNFification of the fix given therein).
 1.4 13-Jul-1997  christos branches: 1.4.2;
Fix RCSID's
 1.3 01-Jun-1996  jtc Don't special case shift counts > QUAD_BITS or == 0. The former is
undefined behavior (so we can do whatever we want) while the latter
doesn't happen much in actual practice.

These changes make these functions considerably smaller and faster.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.2.1 07-Feb-1998  mellon Pull up 1.5 (mouse)
 1.5.12.1 11-Nov-2002  nathanw Catch up to -current
 1.7 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 30-Dec-1997  mikel make sure result of % operator is identical for quad_t, int and long;
fix provided by Chris Torek <torek@BSDI.COM> in a message to tech-kern.
 1.4 13-Jul-1997  christos branches: 1.4.2;
Fix RCSID's
 1.3 01-Jun-1996  jtc Re-arranged code a bit so that gcc can optimize this a bit better.
This change results in better code on the i386, m68k, & ns32k, and
equivalent code on the sparc.
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.2.1 08-Feb-1998  mellon Pull up 1.5 (mikel)
 1.7 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.6 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.4 03-Feb-1998  perry branches: 1.4.12;
remove obsolete register declarations
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4.12.1 11-Nov-2002  nathanw Catch up to -current
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.13 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.12 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.11 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.10 22-Jan-2000  mycroft branches: 1.10.6;
Delint.
 1.9 17-Sep-1999  kleink Revert previous change: the assertion
* is made in a utility function with file scope only, and
* will never fail.
 1.8 16-Sep-1999  lukem * use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif
 1.7 03-May-1999  christos Cast things to (digit) where the LHS is (digit) to avoid loss of precision
lint warnings. This change should be harmless.
 1.6 03-Feb-1998  perry remove obsolete register declarations
 1.5 13-Jul-1997  christos Fix RCSID's
 1.4 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.3 06-Jan-1995  cgd pull in changes from libkern.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.10.6.1 11-Nov-2002  nathanw Catch up to -current
 1.12 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.11 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.9 10-Dec-2000  christos branches: 1.9.2;
remove duplicate declaration.
 1.8 05-May-2000  thorpej Use __GNUC_PREREQ__().
 1.7 03-May-1999  christos change an #if __GNUC >= 2 to #if (__GNUC__ >= 2) || defined(lint)
to get the right definition of qshift_t.
 1.6 27-Mar-1998  cgd use machine/limits.h if _KERNEL or _STANDALONE
 1.5 13-Jul-1997  christos Add missing prototypes
 1.4 12-Oct-1995  jtc Fix from Jochen Pohl which fixes case where quad multiply
goes awry if bit 31 of at least one of the operands is set
(PR #1591).
 1.3 27-Feb-1995  cgd branches: 1.3.2;
clean up Ids; no substantive changes.
 1.2 19-Oct-1994  cgd constants are normally ints, remember!
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.3.2.1 12-Oct-1995  jtc Fix from Jochen Pohl which fixes case where quad multiply
goes awry if bit 31 of at least one of the operands is set
(PR #1591).
 1.9.2.1 11-Nov-2002  nathanw Catch up to -current
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.3 13-Jul-1997  christos branches: 1.3.14;
Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.3.14.1 11-Nov-2002  nathanw Catch up to -current
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.5 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 16-Sep-1993  mycroft branches: 1.1.1;
Torek's quad stuff from 4.4.
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.2 27-Feb-1995  cgd clean up Ids; no substantive changes.
 1.1 27-Feb-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.2 27-Feb-1995  cgd branches: 1.2.22;
clean up Ids; no substantive changes.
 1.1 27-Feb-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.2.22.1 11-Nov-2002  nathanw Catch up to -current
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 20-Oct-2002  scw As discussed (briefly) on tech-userlevel, fix our quad support to work
correctly on LP64 platforms. This is mostly just s/long/int/ where
appropriate.
 1.2 27-Feb-1995  cgd branches: 1.2.22;
clean up Ids; no substantive changes.
 1.1 27-Feb-1995  cgd branches: 1.1.1;
Initial revision
 1.1.1.1 27-Feb-1995  cgd from Lite
 1.2.22.1 11-Nov-2002  nathanw Catch up to -current

RSS XML Feed