This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Strange results with -mfpmath=sse
On i686-apple-darwin9 whatever the options I tried,
even -mfpmath=387 -mno-sse -march=pentium2, I always get:
1 1.0000000000000000
...
19 1.0000000000000000
20 0.0000000000000000
...
38 0.0000000000000000
39 NaN
...
50 NaN
I remember having read something about i686-apple-darwin9 avoiding
the x87 legacy. Note that I consider it as a feature and not a bug!-)
Cheers
Dominique