------- Additional Comments From jv244 at cam dot ac dot uk  2005-01-28 16:31 
-------

> You could try "gfortran -O3 -mtune=pentium4  -ffast-math -mfpmath=sse
> -ftree-loop-linear -ftree-vectorize yourcode.f90" and see if it helps.

Unhappily, seems to make things slower:

 multgen/basic_mult>  gfortran -O3 -mtune=pentium4  -ffast-math -mfpmath=sse 
-ftree-loop-linear -ftree-vectorize mult.f90 
mult.f90:0: warning: SSE instruction set disabled, using 387 arithmetics
multgen/basic_mult> ./a.out
   60.3900000000000        10.2400000000000     

whereas removing some of these flags helps a little

multgen/basic_mult> gfortran -O3 -mtune=pentium4 -ffast-math mult.f90
multgen/basic_mult> ./a.out
   56.4700000000000        10.2400000000000     




-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14741

Reply via email to