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