This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Puzzle computing arrays
- From: Brian Dessent <brian at dessent dot net>
- To: Angelo Graziosi <angelo dot graziosi at alice dot it>
- Cc: Fortran List <fortran at gcc dot gnu dot org>
- Date: Tue, 10 Jun 2008 15:41:43 -0700
- Subject: Re: Puzzle computing arrays
- Organization: My own little world...
- References: <484EF81B.70301@physik.uni-muenchen.de>
- Reply-to: Fortran List <fortran at gcc dot gnu dot org>
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