Home | History | Annotate | Download | only in softfloat
History log of /src/lib/libc/arch/m68k/softfloat/softfloat.h
RevisionDateAuthorComments
 1.11  17-Sep-2025  nat Shift the high word of floatx80 accordingly on m68k.

This is because gcc will store floatx80 as signbit(1)exponent(15) padding(32)
as opposed to sign and exponent in a short(16 bit) word.
 1.10  17-Sep-2025  nat Store 80 bit floats properly on m68k.

The libc/softfloat would store the high word as a short, where as gcc
will store it as a long with the sign and 15 bit exponent in the high bytes.

I had to use the __packed attribute as they were stored with an 8-byte
alignment....Why????
 1.9  06-Sep-2025  nat Fix byte ordering for extended longs for softfloat on m68k.

This helps many libc soft float libm tests pass.
 1.8  06-Sep-2025  nat Definition is static for libc soft float but not for libgcc_s.

NFCI
 1.7  01-Sep-2014  matt float32_is_signalling_nan needs a prototype if SOFTFLOATM68K_FOR_GCC is
defined.
 1.6  18-Mar-2014  riastradh branches: 1.6.4;
Merge riastradh-drm2 to HEAD.
 1.5  18-Jul-2013  matt Coldfire doesn't do FLOATX80
 1.4  07-Jul-2011  matt branches: 1.4.2; 1.4.8; 1.4.12;
Don't define a new enum. Just #define round_* to their FP_Rx instead.
 1.3  04-Jul-2011  matt Add __floatunsidf __floatunsisf __floatunsitf routines.
XXX i think they are correct but not sure.
 1.2  16-May-2006  mrg if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess.
 1.1  26-Sep-2004  jmmv 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.4.12.1  23-Jul-2013  riastradh sync with HEAD
 1.4.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.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.4.1  04-Feb-2015  snj Pull up following revision(s) (requested by chs in ticket #487):
lib/libc/arch/m68k/softfloat/softfloat.h: revision 1.7
float32_is_signalling_nan needs a prototype if SOFTFLOATM68K_FOR_GCC is
defined.

RSS XML Feed