MKSOFTFLOAT for evbppc

Greg Troxel <[email protected]>
Newsgroups gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
Apologies if I've asked about this before and forgotten the reason why
it's a bad idea.  I don't see anything at
  http://www.netbsd.org/ports/evbppc/

We have some evbppc machines based on a P2020.   That needs softfloat,
and we have the following local change.  Is this something that should
be on by default, or are there lots of processors in the evbppc that
have hw floating point?   Or are there few, and those people should set
MKSOFTFLOAT to no?

(Also, for the port page: does fp emulation via traps work?  Or is
MKSOFTFLOAT the only way that can possibly work?)


--- bsd.own.mk.~1.706.~	2012-08-21 12:21:05.000000000 -0400
+++ bsd.own.mk	2012-09-18 17:45:05.000000000 -0400
@@ -785,7 +785,7 @@ MKCOMPATMODULES:=	no
 # emips is always softfloat.
 #
 .if ${MACHINE_ARCH} == "mips64eb" || ${MACHINE_ARCH} == "mips64el" || \
-    ${MACHINE} == "emips"
+    ${MACHINE} == "emips" || ${MACHINE} == "evbppc"
 MKSOFTFLOAT?=	yes
 .endif
signature.asc (application/pgp-signature, 194 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (NetBSD)

iEYEARECAAYFAlBY7IAACgkQ+vesoDJhHiWpkgCdF/PM6zqD6HL8ZfVe5lmf3JmF
KpMAn23mIVw0K31XH1aa0+pAhh9r6D+B
=BTcB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.