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

Daniel Berlin dberlin@dberlin.org
Fri Jan 28 17:22:00 GMT 2005



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



More information about the Gcc-bugs mailing list