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: Puzzle computing arrays


Angelo Graziosi wrote:

> Instead the SSE-math does not work on Cygwin:
>
> $ gfortran -mfpmath=sse test_case.f90 -o test_case
> f951: warning: SSE instruction set disabled, using 387 arithmetics

I seriously doubt that this has anything to do with Cygwin.  You didn't
specify any -march, and the default if none was specified is the
original 386 instruction set which does not contain any vector
instructions.  You can also explicitly enable those instructions with
-msse or -msse2, but specifying the proper -march is a cleaner way to do
it than indicating piecewise what is available, IMO.  See also
-march=native.

Brian


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