1 Dec 2006 02:02
Re: Re: Polyhedron speed comparison (on AMD64)
Timothy C Prince <tprince <at> myrealbox.com>
2006-12-01 01:02:43 GMT
2006-12-01 01:02:43 GMT
In case my original reply has disappeared permanently: > If anyone has an idea what gfortran or GCC should do better ... > Vectorize that loop you identified in gas_dyn. > -- and why we are that slow in fatigue. My copy of gfortran makes separate scalar calls to sin and cos, where ifort makes a vector sincos call. 2 seconds to be gained there, maybe 1 second with a scalar sincos. gfortran allocates and deallocates arrays all over, including around each call to generalized_hookes_law. There's another 2 seconds. Is it because of the whole array syntax somearray(:,:) ? Another half second can be gained by recognizing the matmul() in generalized_hookes_law, using -fexternal-blas, linking with MKL 9.0, and setting 2 threads. Tim Tim Prince
We
> should update the wiki accordingly, and make an announcement on
> comp.lang.fortran.
>
> Still missing: a description of the subrecord format.
>
> I propose to apply this to 4.3, wait for some time (more than
RSS Feed