Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 17:56:59 +0000
From:      Bruce Cran <bruce@cran.org.uk>
To:        Michael Nottebrock <michaelnottebrock@gmx.net>
Cc:        current@freebsd.org
Subject:   Re: libm problem
Message-ID:  <20030323175659.GA2558@fourtytwo.brucec.backnet>
In-Reply-To: <200303231843.16545.michaelnottebrock@gmx.net>
References:  <20030318173051.GA2322@f111.hadiko.de> <20030323070808.0d3f63c0.fearow@attbi.com> <20030323170244.GA1911@f111.hadiko.de> <200303231843.16545.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 23, 2003 at 06:43:16PM +0100, Michael Nottebrock wrote:
> 
> Just out of curiousity, have you tried using -mfpmath=sse? I remember someone 
> on this list claiming that the SSE fpa-code works much better than the i387 
> code which is used by default (even with -march=pentium4).
>

I don't know if SSE code runs faster, but it defitely seems to fix bad
code generation when optimizing for athlon-xp architecture.   For
example, -O2 -march=athlon-xp produces broken code, whereas -O2
-march=athlon-xp -mfpmath=sse produces programs which work.

Bruce Cran

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




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