summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-07-13 10:34:09 +0000
committermux <mux@FreeBSD.org>2003-07-13 10:34:09 +0000
commitadb7e9909ec9fff1d6bfb3528247a5ed464fb84a (patch)
treed4637848092f3fb48ab90a73fb2779f0e8961be6 /share
parentb996c0141e1b5464cf5b7fdb2f8955a35aab7ea6 (diff)
downloadFreeBSD-src-adb7e9909ec9fff1d6bfb3528247a5ed464fb84a.zip
FreeBSD-src-adb7e9909ec9fff1d6bfb3528247a5ed464fb84a.tar.gz
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.
Diffstat (limited to 'share')
-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 a8507cb..1674f9e 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"
OpenPOWER on IntegriCloud