Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

MKSOFTFLOAT for evbppc



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

Attachment: pgppfO4ha3ahw.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index