This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The perennial i386 floating-point rounding issue...
On Tuesday, 11 June 2002 22:21, Jan Hubicka wrote:
>
> Does the idea of setting the FLT_* macro (forgot exact name) at
> compilation time and possibly making SSE fp the default when -march
> allows sound sane?
-march isn't a reliable guide to whether SSE is available, at least for
AMD chips. According to AMD's docs, everything from the Athlon 4
(a.k.a. Thunderbird) on has been made in both SSE and no-SSE versions,
and the only reliable way to detect SSE is via the feature flags from
the CPUID instruction.
--
Ross Smith ..................................... Auckland, New Zealand
r-smith@ihug.co.nz ...................................................
"Never underestimate the power of stupid things in large numbers."
-- Serious Sam