Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2003 18:43:16 +0100
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        Till Riedel <till@f111.hadiko.de>, Anti <fearow@attbi.com>
Cc:        David Schultz <das@freebsd.org>, sgk@troutmask.apl.washington.edu, freebsd-current@freebsd.org
Subject:   Re: libm problem
Message-ID:  <200303231843.16545.michaelnottebrock@gmx.net>
In-Reply-To: <20030323170244.GA1911@f111.hadiko.de>
References:  <20030318173051.GA2322@f111.hadiko.de> <20030323070808.0d3f63c0.fearow@attbi.com> <20030323170244.GA1911@f111.hadiko.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Sunday 23 March 2003 18:02, Till Riedel wrote:
> why not
> +_CPUCFLAGS = -march=pentium4 -mno-sse2
>
> > choose, and in the case of pentium4 producing broken code the
> > obvious fallback would be pentium3...
>
> above would be in fact the same because only the SSE2 code differs from
> march=pentium3 which in turn only defines SSE additionally (which
> probably generates the slower code compared to pentiumpro) as i see it.
> code generation for all x86 uses the same rules (i386.md)
> except that some rules only apply if TARGET_SSE2 is defined.

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).

-- 
Regards,
	Michael Nottebrock

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+ffI0Xhc68WspdLARAmO/AJ9OqK1a2lkvuoJUsHXDXM2xRVUrAwCeJ7M5
t5QmXR5l+CKmMwrYoqdunFo=
=kruC
-----END PGP SIGNATURE-----
help

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