aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2003-07-13 10:34:09 +0000
committerMaxime Henrion <mux@FreeBSD.org>2003-07-13 10:34:09 +0000
commit96f5595bf71bfee757cd723ce65610daf306fba7 (patch)
treed4637848092f3fb48ab90a73fb2779f0e8961be6
parent8ce4e5189e95293ec4571d852337fd3266f28ba7 (diff)
downloadsrc-96f5595bf71bfee757cd723ce65610daf306fba7.tar.gz
src-96f5595bf71bfee757cd723ce65610daf306fba7.zip
Since -march=pentium4 is supposed to be fixed with GCC 3.3, and
since people have been reporting success with it, re-enable the pentium4 optimization.
Notes
Notes: svn path=/head/; revision=117514
-rw-r--r--share/mk/bsd.cpu.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index a8507cbaff92..1674f9e42f33 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -50,9 +50,7 @@ _CPUCFLAGS = -march=${CPUTYPE}
. elif ${CPUTYPE} == "k5"
_CPUCFLAGS = -march=pentium
. elif ${CPUTYPE} == "p4"
-# gcc 3.2 is known to produce broken code with -march=pentium4, so it is
-# disabled for now. This is fixed in gcc 3.3.
-_CPUCFLAGS = -march=pentium3
+_CPUCFLAGS = -march=pentium4
. elif ${CPUTYPE} == "p3"
_CPUCFLAGS = -march=pentium3
. elif ${CPUTYPE} == "p2"