Home | History | Annotate | only in /src/lib/libc/arch/m68k/gen
History log of /src/lib/libc/arch/m68k/gen
RevisionDateAuthorComments
 1.40 04-Oct-2025  nat flt_rounds.S is only used for gcc_s softfloat.

libc/softfloat (the default) uses softfloat/flt_rounds.c.
 1.39 10-Sep-2025  nat Switch over m68k soffloat build to libc/softfloat.

m68k would previously use softfloat functions contained in libgcc_s.

This change aligns m68k with other platforms built with softfloat.

It is still possible to build the gcc_s softfloat impementation by setting
MKSOFFTFLOAT=yes MKLIBCSOFTFLOAT=no

Addresses PR/59393.
 1.38 31-May-2020  rin Add m68k assembler version of __muldi3().

This is intended for 68060:
- GCC does not emit __muldi3() for 68020-40, that have 32 * 32 --> 64 mulul
- mulsl (and moveml), used in this code, are not implemented for 68010

In comparison with that from compiler_rt, this version saves:
- 12% of processing time
- 12 bytes of stack
- 50 bytes of code size
Also, slightly faster, memory saving, and smaller than libgcc version.

By examining with evcnt(9), __muldi3() is invoked more than 1000 times per
sec by kernel, which should justify to introduce assembler version of this
function.
 1.37 22-Apr-2020  rin Restrict usage of m68k assembler versions of {,u}divsi3 and {,u}divsi3 to
kernel and bootloader for 68010.

They requires a special calling convention to udivsi3, and cannot to be
mixed up in normal routines provided by libgcc or compiler_rt. Although,
there's no problem for using them in a controlled situation, i.e., kernel
and standalone programs.

Note that this does not affect at all m68k ports other than sun2, since
codes generated by gcc do not call these routines.

Assembler files are moved from common/lib/libc/arch/m68k/gen to
sys/lib/libkern/arch/m68k in order not to be compiled in libc.

Revert hack introduced to lib/libc/compiler_rt/Makefile.inc rev 1.37:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/compiler_rt/Makefile.inc#rev1.37

Proposed on port-sun2@ with no response...
(Again, this does not affect m68k ports other than sun2.)
http://mail-index.netbsd.org/port-sun2/2020/03/10/msg000102.html
 1.36 26-Apr-2019  maya Unify signbitl implementations.
(Unclear why they were different, it was only the comments that
differed)

Add a comment describing why the generic version works for both 80-bit
and 128-bit double.
 1.35 22-Mar-2017  chs branches: 1.35.12;
provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
 1.34 07-Oct-2016  christos branches: 1.34.2;
Sync with compat and remove dup implementations of ldexp and modf, switching
mips and m68k to the compat copies.
 1.33 18-Mar-2014  riastradh branches: 1.33.8;
Merge riastradh-drm2 to HEAD.
 1.32 18-Jul-2013  matt Cleanup. hardfloat stuff is now in its own directory
 1.31 22-Nov-2011  joerg branches: 1.31.6; 1.31.10;
Add TLS support for m68k.
 1.30 06-Dec-2009  uebayasi branches: 1.30.6;
Rename ${SRCS.{alpha,arm,...}.gen} to ${LSRCS.{alpha,arm,...}.gen} because
they ended up in ${LSRCS}, not ${SRCS}. ${SRCS.*} namespace will be used
for more useful things. No functional changes intended.
 1.29 28-Nov-2009  christos Add no/op routines for m68000 for the sticky, mask, and round settings.
 1.28 03-Jul-2006  drochner build frexp_ieee754 in the "compat" subtree
(The Makefile logics for ldexp and modf is too involved for me to deal
with this now.)
 1.27 09-Mar-2006  christos Welcome to the new compat layout.
 1.26 15-Apr-2005  kleink Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.25 26-Sep-2004  jmmv branches: 1.25.2;
Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.24 04-Mar-2004  kleink * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.23 15-Jan-2004  kleink Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.
 1.22 26-Oct-2003  kleink Use the generic `long double' == `double' versions on m68000.
 1.21 25-Oct-2003  kleink Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
 1.20 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 1.19 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.18 01-Aug-2003  lukem Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
 1.17 17-May-2003  thorpej Build _isinfl() and _isnanl().
 1.16 12-May-2003  kleink Rename ieee754_function.c to function_ieee754.c, following the convention
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
 1.15 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.14 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.13 13-Jun-2001  fredette Don't compile softfloat or integer support routines on 68000
machines, they have this support already in libgcc.
 1.12 23-Dec-1999  kleink branches: 1.12.6;
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
 1.11 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.10 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.9 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.8 05-Oct-1998  thorpej Update for signal changes.
 1.7 04-Nov-1997  is Fix typo, which resulted in always compiling the M68040/M68060-version
of ldexp.
 1.6 02-Oct-1997  is branches: 1.6.2;
ieee.h and ldexp.c taken from the powerpc port, for the benefit of
68040 and 68060 owners.
With ``make M68040=1'' or ``make M68060=1'', we build a libc where the ldexp()
doesn't use excessive amounts of system cpu time.
Without any of those defines, the normal assembler version using FSCALE is
included, for the benefit of M68020 and M68030 users, or M68040/M68060 users
where the ldexp performance is no bottleneck.
[Its not yet worked out how to include both library versions in a binary
distribution, but you can build your own from source now if you need it.]
For details, look at PR 3105.
 1.5 14-Jul-1997  veego Remove the duplicated __builtin_saveregs function.
We only need it in src/gnu/usr.bin/gcc/libgcc/libgcc2.c.
 1.4 03-May-1995  briggs m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
 1.3 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.2 25-Feb-1995  cgd don't forget inifinity.c
 1.1 25-Feb-1995  cgd need these for new gen/Makefile
 1.6.2.1 05-Nov-1997  mellon Pull rev 1.7 up from trunk (is)
 1.12.6.5 22-Mar-2002  nathanw Catch up to -current.
 1.12.6.4 08-Mar-2002  nathanw Catch up to -current.
 1.12.6.3 21-Nov-2001  scw _lwp_makecontext() for m68k, based on Nathan W's i386 implementation.

XXX: Nathan should decide on a copyright for both this and the i386 version.
 1.12.6.2 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.12.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.25.2.1 19-Apr-2005  tron Pull up revision 1.26 (requested by kleink in ticket #163):
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.
IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.30.6.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.30.6.1 17-Apr-2012  yamt sync with head
 1.31.10.1 23-Jul-2013  riastradh sync with HEAD
 1.31.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.8.2 26-Apr-2017  pgoyette Sync with HEAD
 1.33.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.34.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.35.12.1 10-Jun-2019  christos Sync with HEAD
 1.3 09-Mar-2006  christos Welcome to the new compat layout.
 1.2 14-Sep-2005  he Patterned after the other fixes for __longjmp14.c, include
<compat/include/setjmp.h> also here to make these build.
 1.1 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 1.7 09-Mar-2006  christos Welcome to the new compat layout.
 1.6 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 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 02-Dec-2000  scw Restore %a0 after the call to sigprogmask(2) since an ELF kernel
will stomp on it due to SVR4 ABI compliance...
 1.3 25-Oct-1999  thorpej branches: 1.3.6;
Add register prefixes.
 1.2 18-Oct-1999  itohy ELF PIC support.
Small optimization.
 1.1 05-Oct-1998  thorpej branches: 1.1.4;
Update for signal changes.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.6.1 15-Dec-2002  he Pull up revision 1.4 (requested by scw):
Restore %a0 after the call to sigprocmask(2), since an ELF kernel
will stomp on it due to SVR4 ABI compliance. Fixes PR#18644.
 1.5 09-Mar-2006  christos Welcome to the new compat layout.
 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 25-Oct-1999  thorpej Add register prefixes.
 1.2 18-Oct-1999  itohy ELF PIC support.
 1.1 05-Oct-1998  thorpej branches: 1.1.4;
Update for signal changes.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.9 02-Apr-2023  skrll branches: 1.9.2;
Trailing whitespace
 1.8 18-Mar-2012  christos fix lint
 1.7 22-Nov-2011  joerg Add TLS support for m68k.
 1.6 24-Feb-2011  joerg branches: 1.6.4;
Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
 1.5 28-Apr-2008  martin branches: 1.5.8; 1.5.20;
Remove clause 3 and 4 from TNF licenses
 1.4 12-Jun-2005  lukem branches: 1.4.18;
Add missing __RCSID()
 1.3 07-Apr-2003  kleink Make sure we reference getcontext() by its internal name.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 21-Nov-2001  scw branches: 1.1.2;
file _lwp.c was initially added on branch nathanw_sa.
 1.1.2.2 16-Jan-2003  thorpej Add missing notice.
 1.1.2.1 21-Nov-2001  scw _lwp_makecontext() for m68k, based on Nathan W's i386 implementation.

XXX: Nathan should decide on a copyright for both this and the i386 version.
 1.4.18.1 18-May-2008  yamt sync with head.
 1.5.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file _lwp.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.6.4.1 17-Apr-2012  yamt sync with head
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 18-Oct-1999  itohy ELF PIC support.
 1.4 01-Jul-1998  thorpej branches: 1.4.4;
Use _C_LABEL() to generate C labels.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.1 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 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 17-Jul-2013  matt Use a more portable series of instructions.
 1.8 16-Jul-2013  matt Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, return the pointer in a0, too.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 25-Oct-1999  thorpej Add register prefixes.
 1.1 15-Jan-1999  bouyer branches: 1.1.4;
Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 25-Oct-1999  thorpej Add register prefixes.
 1.1 15-Jan-1999  bouyer branches: 1.1.4;
Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.3 25-Oct-1999  thorpej Add register prefixes.
 1.2 08-Feb-1999  is branches: 1.2.4;
68060 optimization, doesnt hurt others
 1.1 15-Jan-1999  bouyer Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.14 27-Jan-2019  dholland fix another mergeo
 1.13 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.12 07-Nov-2018  riastradh On ports without __HAVE_LONG_DOUBLE, make fabsl alias fabs.

For some reason, fabs lives in libc, not in libm, and our tests now
detect when fabs or fabsl is missing from libm. For those ports that
sometimes have long double and sometimes don't, make it conditional.

Still missing: fabs _and_ fabsl on ia64. Need help from an itanium
wizard! Other portmasters: Please take a look and see if I missed
any ports that might have long double where this alias will not work.
 1.11 17-Jul-2013  matt branches: 1.11.26; 1.11.28;
Use __HAVE_FPU__ instead __HAVE_68881__
 1.10 16-Jul-2013  matt Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 28-Apr-2008  martin branches: 1.8.4; 1.8.8; 1.8.28;
Remove clause 3 and 4 from TNF licenses
 1.7 18-May-2001  fredette branches: 1.7.32;
On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.4 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.3 26-Jun-1996  jtc new implementation that simply clears most significant bit
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.32.1 18-May-2008  yamt sync with head.
 1.8.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8.8.1 28-Apr-2008  martin file fabs.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.8.4.1 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.11.28.1 10-Jun-2019  christos Sync with HEAD
 1.11.26.1 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.10 16-Jul-2013  matt branches: 1.10.2;
Add END(func)
 1.9 04-Dec-2000  is branches: 1.9.60; 1.9.66;
The mapping is, effectively, an exclusive or with 0x01. Replace.
Savings: 10 bytes of code/constant data, 1 machine instruction (including
one memory access).
 1.8 25-Oct-1999  thorpej Add register prefixes.
 1.7 13-Dec-1995  thorpej branches: 1.7.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.6 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.5 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.4 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.3 09-Apr-1995  mycroft Fix typo.
 1.2 09-Apr-1995  mycroft Optimize.
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.7.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.66.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.60.1 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.10.2.1 23-Jul-2013  riastradh sync with HEAD
 1.6 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.5 18-Jul-2013  matt Fix typo. Don't define map if it isn't used.
 1.4 16-Jul-2013  matt branches: 1.4.2;
Add END(func)
 1.3 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.2 26-Sep-2004  jmmv branches: 1.2.50; 1.2.56;
Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file flt_rounds_softfloat.S was added on branch nathanw_sa on 2001-10-08 20:17:39 +0000
 1.2.56.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.50.1 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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 17-Feb-2007  mhitch branches: 1.2.10;
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
 1.1 28-Oct-2003  kleink branches: 1.1.16;
C99 7.12.3.1: add IEEE library portions of fpclassify. Don't build these
yet as the VAX implementation is still subject to discussion.
 1.1.16.1 07-May-2007  pavel Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.2.10.1 18-May-2008  yamt sync with head.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file fpclassifyl.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2 20-Mar-2012  he Sprinkle some /* ARGSUSED */ before the dummy functions to appease lint.
 1.1 28-Nov-2009  christos branches: 1.1.6;
Add no/op routines for m68000 for the sticky, mask, and round settings.
 1.1.6.1 17-Apr-2012  yamt sync with head
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 13-Jan-2002  thorpej branches: 1.8.58; 1.8.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 13-Dec-1995  thorpej branches: 1.6.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.5 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.6.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.8.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.58.1 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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.1 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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.11 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.10 16-Jul-2013  matt branches: 1.10.2;
Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 13-Jan-2002  thorpej branches: 1.8.58; 1.8.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 13-Dec-1995  thorpej branches: 1.6.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.5 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.6.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.8.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.58.1 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.10.2.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.1 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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.7 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.6 29-Aug-1999  mycroft branches: 1.6.10;
Trivial KNF.
 1.5 29-Aug-1999  mycroft Make the C version of frexp() consitent across platforms, and handle the
Inf/NaN case.
 1.4 10-Mar-1999  mycroft Use ieee.h structs and macros.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6.10.1 08-Mar-2002  nathanw Catch up to -current.
 1.7 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.6 13-Sep-2000  msaitoh branches: 1.6.2;
check LIBC_SCCS
 1.5 14-Nov-1998  christos delint
 1.4 26-Jul-1998  mycroft const poisoning.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6.2.1 08-Mar-2002  nathanw Catch up to -current.
 1.2 12-Jun-2005  lukem Add missing __RCSID()
 1.1 25-Oct-2003  kleink Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 29-Oct-2003  kleink branches: 1.1.30;
C99 7.12.3.2: add library portions of isfinite, but don't build these just
yet.
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file isfinitel.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.9 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.8 22-Jan-2000  mycroft branches: 1.8.6;
Delint.
 1.7 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.6 14-Nov-1998  christos delint
 1.5 13-Oct-1998  kleink Need internal names for isinf() and isnan().
 1.4 13-Jul-1997  christos Fix RCSID's
Add missing math.h include
 1.3 05-Feb-1996  jtc Add explicit return type
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus branches: 1.1.4;
Machine-dependent files for generic m68k machines (copied from hp300)
 1.1.4.1 18-Apr-1995  jtc namespace protect isnan() and isinf()
 1.8.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.6 30-Jan-2009  mhitch The explicit integer bit is "don't care" for infinity, and now that it's
included in ext_frach, it needs to be masked off when testing for an
infinity value. Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
 1.5 10-Jan-2008  martin branches: 1.5.10;
Modify the high part of the fraction so that we recognize our __infinityl
value.
XXX - seems like we could share this with LE archs
 1.4 04-Mar-2004  kleink branches: 1.4.22;
* Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.3 27-Oct-2003  kleink Err, rename some members added in previous to make them reflect their
semantics better.
 1.2 27-Oct-2003  kleink Retire local union { floating-type; struct ieee_prec; } in favor of those
available from <machine/ieee.h>
 1.1 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.4.22.1 23-Mar-2008  matt sync with HEAD
 1.5.10.1 02-Feb-2009  snj Pull up following revision(s) (requested by mhitch in ticket #385):
lib/libc/arch/m68k/gen/isinfl.c: revision 1.6
The explicit integer bit is "don't care" for infinity, and now that it's
included in ext_frach, it needs to be masked off when testing for an
infinity value. Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
 1.3 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.2 22-Jan-2000  mycroft branches: 1.2.6;
Delint.
 1.1 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.2.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.5 04-Mar-2004  kleink * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.4 28-Oct-2003  kleink Ignore the explicit integer bit here, too; otherwise an infinity with the
explicit integer bit set could be classified as NaN.
 1.3 27-Oct-2003  kleink Err, rename some members added in previous to make them reflect their
semantics better.
 1.2 27-Oct-2003  kleink Retire local union { floating-type; struct ieee_prec; } in favor of those
available from <machine/ieee.h>
 1.1 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.7 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6 02-May-1999  kleink When using the SVR4 ABI, just return floating point values in fp0.
 1.5 09-Oct-1997  is Most calls of ldexp() won't be with a first parameter of 0.0. Don't penalize
them for a slight optimization of the zero case.
 1.4 25-Apr-1997  thorpej Use <machine/asm.h>
 1.3 26-Jun-1996  jtc branches: 1.3.2;
use fscalel instead of ftwotoxl/fmulx
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.7 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6 29-Aug-1999  mycroft Don't ever return -0.0.
 1.5 29-Aug-1999  mycroft Minor style change.
 1.4 10-Mar-1999  mycroft Just some minor cleanup.
 1.3 02-Oct-1997  is ieee.h and ldexp.c taken from the powerpc port, for the benefit of
68040 and 68060 owners.
With ``make M68040=1'' or ``make M68060=1'', we build a libc where the ldexp()
doesn't use excessive amounts of system cpu time.
Without any of those defines, the normal assembler version using FSCALE is
included, for the benefit of M68020 and M68030 users, or M68040/M68060 users
where the ldexp performance is no bottleneck.
[Its not yet worked out how to include both library versions in a binary
distribution, but you can build your own from source now if you need it.]
For details, look at PR 3105.
 1.2 13-Jul-1997  christos Fix RCSID's
Add missing math.h include
 1.1 29-Mar-1997  thorpej Architecture-specific bits for libc on the PowerPC. From Wolfgang
Solfrank <ws@tools.de>
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.7 07-Nov-2001  drochner fix -Wshadow warnings
 1.6 30-Aug-1999  mycroft branches: 1.6.10;
Another microoptimization. Take advantage of the addition already having set
the flags for the <=0 comparison.
 1.5 30-Aug-1999  mycroft Reuse the trick of loading 0.0 (rather than 1.0) and then modifying the
exponent. It's a bit faster on some machines.
 1.4 30-Aug-1999  mycroft Nuke unused variable.
 1.3 29-Aug-1999  mycroft ldexp(denormal, exp>1023) would generate the wrong result in all non-overflow
cases. Totally rework this code to fix this bug *and* make it faster.
 1.2 29-Aug-1999  mycroft Oops; committed wrong version here.
 1.1 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6.10.2 08-Mar-2002  nathanw Catch up to -current.
 1.6.10.1 14-Nov-2001  nathanw Catch up to -current.
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 07-Nov-2001  drochner branches: 1.2.32;
-Wshadow fix
 1.1 29-Aug-1999  mycroft branches: 1.1.10;
Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.1.10.1 14-Nov-2001  nathanw Catch up to -current.
 1.2.32.1 18-May-2008  yamt sync with head.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file ldexp_881.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.3 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.2 07-Nov-2001  drochner cpoy from the 040 version: -Wshadow warning fix
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.4 08-Mar-2002  nathanw Catch up to -current.
 1.1.2.3 14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file ldexp_softfloat.c was added on branch nathanw_sa on 2001-10-08 20:17:40 +0000
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 09-Mar-2006  christos branches: 1.1.18;
Welcome to the new compat layout.
 1.1.18.1 18-May-2008  yamt sync with head.
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file longjmp.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file makecontext.c was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file makecontext.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.3 08-Mar-2002  nathanw Catch up to -current.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file modf_softfloat.c was added on branch nathanw_sa on 2001-10-08 20:17:40 +0000
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
Oops, typo.
 1.4 02-May-1999  kleink When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.1 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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.4 22-Feb-2009  martin Make NAN a compile time constant (with help from the compiler). Suggested
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.
 1.3 15-Apr-2005  kleink branches: 1.3.2; 1.3.32;
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.2 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.1 23-Dec-1999  kleink branches: 1.1.6;
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
 1.1.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.3.32.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.3.2.2 19-Apr-2005  tron Pull up revision 1.3 (requested by kleink in ticket #163):
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.
IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.3.2.1 15-Apr-2005  tron file nanf.c was added on branch netbsd-3 on 2005-04-19 12:30:50 +0000
 1.10 17-Jul-2013  matt Use __HAVE_FPU__ instead __HAVE_68881__
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 18-May-2001  fredette On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.5 25-Oct-1999  thorpej branches: 1.5.8;
Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10 17-Jul-2013  matt Use __HAVE_FPU__ instead __HAVE_68881__
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 18-May-2001  fredette On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.5 25-Oct-1999  thorpej branches: 1.5.8;
Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 17-Jul-2013  matt Use assym.h
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 28-Apr-2008  martin branches: 1.5.4; 1.5.8; 1.5.28;
Remove clause 3 and 4 from TNF licenses
 1.4 13-Dec-2006  martin branches: 1.4.10;
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:

> -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
> instead with exit handlers and all that
> -If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
> than relying on a sensible return value to use as exit code. Makes
> it less likely that an ucontext corruption goes unnoticed.

This fixes regress/lib/libc/context for m68k.

Thanks to Steve Woodford for optimization hints.
 1.3 26-Jan-2003  kleink branches: 1.3.16;
Fix comment typo, and convert to C-style comments.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file resumecontext.S was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.3.16.1 15-Dec-2006  tron Pull up following revision(s) (requested by martin in ticket #273):
lib/libc/arch/m68k/gen/resumecontext.S: revision 1.4
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:
-check for a NULL uc_link before calling setcontext(2); do a real exit(3)
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
than relying on a sensible return value to use as exit code. Makes
it less likely that an ucontext corruption goes unnoticed.
This fixes regress/lib/libc/context for m68k.
Thanks to Steve Woodford for optimization hints.
 1.4.10.1 18-May-2008  yamt sync with head.
 1.5.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file resumecontext.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.5.4.1 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 14-Jul-1997  veego Remove the duplicated __builtin_saveregs function.
We only need it in src/gnu/usr.bin/gcc/libgcc/libgcc2.c.
 1.5 14-Jul-1997  christos Builtin saveregs returns void *, not void.
 1.4 14-Jul-1997  christos Add missing prototypes. From Bernd.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.15 17-Jul-2013  matt Use assym.h
 1.14 16-Jul-2013  matt Add END(func)
 1.13 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.12 09-Mar-2006  christos branches: 1.12.44; 1.12.50;
Welcome to the new compat layout.
 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 25-Oct-1999  thorpej Add register prefixes.
 1.9 18-Oct-1999  itohy ELF PIC support.
Small optimization.
 1.8 01-Jul-1998  thorpej branches: 1.8.4;
Use _C_LABEL() to generate C labels.
 1.7 05-Dec-1997  thorpej Use __sigaltstack14(), not sigaltstack().
 1.6 25-Apr-1997  thorpej Use <machine/asm.h>
 1.5 13-Dec-1995  thorpej branches: 1.5.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 05-Aug-1994  mycroft Revert this.
 1.3 04-Aug-1994  chopps inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
 1.2 10-May-1994  chopps branches: 1.2.2;
update to use sigaltstack.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 05-Aug-1994  mycroft update from trunk
 1.5.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.8.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.44.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 26-Apr-2019  maya Unify signbitl implementations.
(Unclear why they were different, it was only the comments that
differed)

Add a comment describing why the generic version works for both 80-bit
and 128-bit double.
 1.2 28-Apr-2008  martin branches: 1.2.8; 1.2.64;
Remove clause 3 and 4 from TNF licenses
 1.1 15-Jan-2004  kleink branches: 1.1.30;
Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.64.1 10-Jun-2019  christos Sync with HEAD
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file signbitl.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.10 16-Jul-2013  matt Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 09-Mar-2006  christos branches: 1.8.44; 1.8.50;
Welcome to the new compat layout.
 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 25-Oct-1999  thorpej Add register prefixes.
 1.5 18-Oct-1999  itohy ELF PIC support.
 1.4 01-Jul-1998  thorpej branches: 1.4.4;
Use _C_LABEL() to generate C labels.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 03-May-1995  briggs m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.44.1 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.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 17-Jul-2013  matt Use assym.h
 1.5 16-Jul-2013  matt Add END(func)
 1.4 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.3 28-Apr-2008  martin branches: 1.3.4; 1.3.8; 1.3.28;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file swapcontext.S was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file swapcontext.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.3.4.1 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.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.1 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.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.1 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 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)

RSS XML Feed