This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Fwd: Re: Polyhedron benchmark on Opteron]
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: fortran at gcc dot gnu dot org
- Date: Sat, 30 Sep 2006 00:58:20 +0200
- Subject: Re: [Fwd: Re: Polyhedron benchmark on Opteron]
- References: <451D9593.6040509@net-b.de> <A322AE38-7F3E-4121-AF9C-9A7816C0FE59@gmail.com>
Hi,
FX Coudert wrote:
> Relaying Tobias' mail, as he is having problems with the mailing-list...
Trying yet another method to post ...
>> ISET(1) = huge(ISET)
>> do i=1,nodes
>> if(iset(1) > dtemp(1)) iset(1) = i
>> end do
>>
>
> Isn't it iset > dtemp(i)? Otherwise, I do understand why the compiler
> can gain so much time :)
Ups. This comes from posting from a different computer than running the
program and typing in the changes. I actually used
if(iset(1)>dtemp(i)) iset(1) = i
> Otherwise, I do understand why the compiler can gain so much time.
Try it yourself. I don't understand it either, but it seems to be indeed
the case. (Actually, I really wonder why no other compiler is inlining
it, if the gain is that big. -- gfortran would be then 5 times as fast
as Absoft or Pathscale?!?)
After doing these changes, Intel is again faster: 0.58s instead of
gfortran's 1.233s.
Tobias