936b7f4cf8
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.
19 lines
411 B
Makefile
19 lines
411 B
Makefile
# $NetBSD: Makefile.inc,v 1.4 2002/05/21 23:51:04 bjh21 Exp $
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
KMINCLUDES=
|
|
KMSRCS=arch/arm/gen/divsi3.S arch/arm/string/memmove.S \
|
|
arch/arm/string/memcpy.S
|
|
|
|
CPPFLAGS += -DSOFTFLOAT
|
|
|
|
.if ${OBJECT_FMT} != "ELF"
|
|
# arm32 a.out libc contained __fixunssfsi() and __fixunsdfsi(). Be
|
|
# compatible.
|
|
CPPFLAGS+= -DSOFTFLOAT_NEED_FIXUNS
|
|
.endif
|
|
|
|
SOFTFLOAT_BITS=32
|
|
.include <softfloat/Makefile.inc>
|