This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Strange results with -mfpmath=sse


2009/5/1 Arjen Markus <arjen.markus895@gmail.com>:
>
> Some more information: the Intel compiler with -msse -march=pentium3 does give
> results in the expected range.
>

It seems the flag -msse2 solves the issue. With:

gfortran -mfpmath=sse -msse2 program.f90 -o program

I get a version that does the job properly.

Regards,

Arjen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]