Floating point trouble with x86's extended precision
Zack Weinberg
zack@codesourcery.com
Fri Aug 22 01:05:00 GMT 2003
Bradley Lucier <lucier@math.purdue.edu> writes:
> And this is just about the end of the story. I, and at least some
> other people, think that GCC should include at least one model of
> floating-point arithmetic for the x86 that allows one to deduce the
> types and precisions of all variables, operations, etc., by examining
> the source code. It does not (and it probably will not for the
> foreseeable future). Telling people that not having a predictable
> model of what their program will do is a feature, not a bug, doesn't
> cut it.
-mfpmath=sse, with a pentium 4. Except i think that for abi
compatibility it still puts function return values in %st(0), which
could potentially cause problems.
zw
More information about the Gcc
mailing list