[Bug tree-optimization/14741] missing transformations lead to poorly optimized code

dberlin at dberlin dot org gcc-bugzilla@gcc.gnu.org
Fri Jan 28 17:22:00 GMT 2005


------- Additional Comments From dberlin at gcc dot gnu dot org  2005-01-28 17:22 -------
Subject: Re:  missing transformations lead to
 poorly optimized code



On Fri, 28 Jan 2005, jv244 at cam dot ac dot uk wrote:

>
> ------- 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

You'd need -msse2 or -msse (or is it -march=pentium4 that enables these?)


-- 


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



More information about the Gcc-bugs mailing list