Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2001 11:24:27 +1200
From:      "Juha Saarinen" <juha@saarinen.org>
To:        "Nuno Teixeira" <nuno.mailinglists@pt-quorum.com>, "Guilherme Oliveira" <guilherme@nortenet.pt>
Cc:        "FreeBSD Stable" <freebsd-stable@FreeBSD.ORG>
Subject:   RE: CFLAGS Optimization
Message-ID:  <KPECIILENDDLPCNIMLOFAEMOCDAA.juha@saarinen.org>
In-Reply-To: <20010507235112.P508-100000@gateway.bogus>

next in thread | previous in thread | raw e-mail | index | archive | help
:: > Nuno Teixeira wrote:
:: > >
:: > > [i586]:
:: > > CFLAGS='-O3 -mcpu=pentium -march=pentium -ffast-math -funroll-loops
:: > > - -fomit-frame-pointer -fforce-mem -fforce-addr -malign-double
:: > > - -fno-exceptions'


-O2/-O3 turn on -fforce-mem;
-march implies -mcpu;
-fno-exceptions doesn't make anything run faster, and could break some C++
code;

I've had bad experience with any optflags above -O on FreeBSD.

-- Juha


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?KPECIILENDDLPCNIMLOFAEMOCDAA.juha>