NetBSD/lib/libc/softfloat/Makefile.inc
bjh21 936b7f4cf8 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.
2002-05-21 23:51:04 +00:00

17 lines
507 B
Makefile

# $NetBSD: Makefile.inc,v 1.2 2002/05/21 23:51:05 bjh21 Exp $
SOFTFLOAT_BITS?=64
.PATH: ${ARCHDIR}/softfloat \
${.CURDIR}/softfloat/bits${SOFTFLOAT_BITS} ${.CURDIR}/softfloat
CPPFLAGS+= -I${ARCHDIR}/softfloat -I${.CURDIR}/softfloat
CPPFLAGS+= -DSOFTFLOAT_FOR_GCC
SRCS+= softfloat.c
SRCS+= fpgetround.c fpsetround.c fpgetmask.c fpsetmask.c \
fpgetsticky.c fpsetsticky.c
SRCS+= eqsf2.c nesf2.c gtsf2.c gesf2.c ltsf2.c lesf2.c negsf2.c \
eqdf2.c nedf2.c gtdf2.c gedf2.c ltdf2.c ledf2.c negdf2.c