Home | History | Annotate | Download | only in softfloat
History log of /src/lib/libc/softfloat/Makefile.inc
RevisionDateAuthorComments
 1.23  04-Oct-2025  nat Add generic flt_rounds for softfloat.

Note the m68k definitions are reversed as found via test results.
 1.22  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.21  13-Mar-2016  mrg remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
for example, HAVE_GCC >= 48 works properly.
 1.20  08-Apr-2015  martin Restrict the arm compiler optimization hack to gcc 4.5
 1.19  10-Aug-2014  matt branches: 1.19.2;
MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
 1.18  14-Jun-2014  mrg remove remaining makefile support for GCC < 45 that i found.
 1.17  30-Jan-2014  matt branches: 1.17.2;
Add unordtf2.c
 1.16  19-Dec-2013  joerg Only apply -fno-tree-vrp for GCC.
 1.15  30-Apr-2013  matt Match against LIBC_MACHINE_ARCH for MKCOMPAT
 1.14  16-Apr-2013  matt Use MACHINE_ARCH, not MACHINE
 1.13  16-Apr-2013  matt ARM EABI needs different floating point comparision functions.
 1.12  16-Nov-2012  he Fix make syntax problem by putting the condition on the same line as .elif.
 1.11  14-Nov-2012  msaitoh For arm, add -fno-tree-vrp to COPTS when compiling softfloat.c.
Without -fno-tree-vrp, -INF + -INF returns 0 by adddf3.
Fixes PR#46953.
 1.10  04-Jul-2011  mrg branches: 1.10.2; 1.10.4; 1.10.8; 1.10.10;
sh3 also needs -Wno-enum-compare here.
 1.9  03-Jul-2011  mrg mips wants some -Wno-enum-compare here, too.
 1.8  01-Jul-2011  mrg XXX: apply -Wno-error/friends to a few files
 1.7  17-Jan-2011  matt Add long double functions for eq,ne,gt,le,ge,lt,neg ops.
 1.6  06-Dec-2009  uebayasi Fix typo in previous.
 1.5  06-Dec-2009  uebayasi Assign quad / softfloat specific ${SRCS} to ${SRCS.quad} / ${SRCS.softfloat}
then append them to ${SRCS}. Those will be used to generate quad / softfloat
symbol lists.
 1.4  26-Sep-2004  jmmv branches: 1.4.40;
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.3  06-May-2003  rearnsha GCC-3 requires a libcall to support testing for unordered.
 1.2  21-May-2002  bjh21 Import the 32-bit version of SoftFloat 2a and separate it and the 64-bit
version into different directories. Which version a given port uses is
controlled by the SOFTFLOAT_BITS make variable. This is set to 64 (which
uses the same code we had before) by default. 32-bit platforms that don't
need extended precision support might get better performance by using 32.

Set the ARM port to use the 32-bit version of SoftFloat, since this is more
than a factor of two faster than the 64-bit version. This should get the
floating-point performance back to what it was in 1.5.
 1.1  06-Jun-2000  bjh21 branches: 1.1.4; 1.1.6;
Initial commit of SoftFloat 2a import. This should provide a sensible
mostly-MI floating-point implementation for use by gcc -msoft-float.
It's currently only used by arm26, but should be usable by other ports
without too much hacking, assuming doubles and u_int64_ts are passed and
returned the same way, and FP formats are IEEEish.
 1.1.6.1  21-Jun-2002  nathanw Catch up to -current.
 1.1.4.2  23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1  06-Jun-2000  minoura file Makefile.inc was added on branch minoura-xpg4dl on 2000-06-23 16:17:54 +0000
 1.4.40.1  29-Apr-2011  matt Pull in true (128-bit) long double support for MIPS from -current.
 1.10.10.1  24-Nov-2012  jdc Pull up revisions:
src/lib/libc/softfloat/Makefile.inc 1.11-1.12 via patch
src/doc/HACKS 1.124 via patch
(requested by msaitoh in ticket #703).

For arm, add -fno-tree-vrp to COPTS when compiling softfloat.c.
Without -fno-tree-vrp, -INF + -INF returns 0 by adddf3.
Fixes PR#46953.
 1.10.8.3  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.8.2  23-Jun-2013  tls resync from head
 1.10.8.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10.4.1  24-Nov-2012  jdc Pull up revisions:
src/lib/libc/softfloat/Makefile.inc 1.11-1.12 via patch
src/doc/HACKS 1.124 via patch
(requested by msaitoh in ticket #703).

For arm, add -fno-tree-vrp to COPTS when compiling softfloat.c.
Without -fno-tree-vrp, -INF + -INF returns 0 by adddf3.
Fixes PR#46953.
 1.10.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.2.1  16-Jan-2013  yamt sync with (a bit old) head
 1.17.2.1  10-Aug-2014  tls Rebase.
 1.19.2.1  10-Apr-2015  snj Pull up following revision(s) (requested by martin in ticket #670):
lib/libc/softfloat/Makefile.inc: revision 1.20
Restrict the arm compiler optimization hack to gcc 4.5

RSS XML Feed