From: luke@navo.hpc.mil (Luke Lonergan)
Subject: Re: MFlops Comparison using g77 (bad news)
Date: 1997/09/17 [thread overview]
Message-ID: <5vnf3s$hbf@bgtnsc02.worldnet.att.net> (raw)
In-Reply-To: 5vn7si$26q$1@palladium.transmeta.com
On 17 Sep 1997 00:22:42 GMT, torvalds@transmeta.com (Linus Torvalds)
wrote:
>You left out the definitions for the variables, but let me guess: they
>are all "int" rather than "long"?
Correct. However, I implemented the indices as "long" type later to no
effect. I was thinking of just declaring temporary pointers to the
float arrays and incrementing them in the loop, but haven't done it
yet because I think it won't change much.
>Change them all to "long" and see whether that makes a difference. At
>least in theory gcc should have a much easier time with long, simply
>because then gcc is using only 64-bit quantities.
Actually I checked the types of the indices and other variables from
within gdb and found that they were all 32 bit. Registers that are
allocated by the compiler are probably 64 bit, though.
After some work, I changed _everything_ in the Fortran and C to be 64
bit, including the integers. Here is the result:
34 MFlops Alpha 433 MHz gcc with C kernel, all 64 bit
34 MFlops Alpha 433 MHz gcc with C kernel, 64 bit floats
28 MFlops Alpha 433 MHz g77, all 64 bit
These aren't bad 64 bit numbers, but they aren't up to expectations.
I will post the 64 bit source tree following this message.
I would really like to see results on another compiler like NDP or NAG
for the Alpha...
Luke
next prev parent reply other threads:[~1997-09-17 4:00 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-16 4:00 MFlops Comparison using g77 (bad news) Luke Lonergan
1997-09-16 4:00 ` Craig Burley
1997-09-16 4:00 ` Toon Moene
1997-09-16 4:00 ` MFlops Comparison using g77 (bad news) - bench.tgz (1/1) Luke Lonergan
1997-09-16 4:00 ` MFlops Comparison using g77 (bad news) - bench.tgz (0/1) Luke Lonergan
1997-09-18 4:00 ` Thomas Leitner
1997-09-18 4:00 ` Andrew G. Morgan
1997-09-18 4:00 ` H.W. Stockman
1997-09-16 4:00 ` MFlops Comparison using g77 (bad news) Greg Lindahl
1997-09-16 4:00 ` Luke Lonergan
1997-09-17 4:00 ` Linus Torvalds
1997-09-17 4:00 ` Luke Lonergan [this message]
1997-09-17 4:00 ` MFlops Comparison using g77 (bad news) - dpkernel.tgz (0/1) Luke Lonergan
1997-09-17 4:00 ` MFlops Comparison using g77 (bad news) - dpkernel.tgz (0/1) " Luke Lonergan
1997-09-17 4:00 ` MFlops Comparison using g77 (bad news) - dpkernel.tgz (0/1) - dpkernel.tgz (1/1) Luke Lonergan
1997-09-17 4:00 ` MFlops Comparison using g77 (bad news) " Luke Lonergan
1997-09-17 4:00 ` MFlops Comparison using g77 (bad news) Greg Lindahl
1997-09-17 4:00 ` Rowan D. Hughes
1997-09-17 4:00 ` Xiaoguang Zhang
1997-09-19 4:00 ` James Lewis Nance
1997-09-22 4:00 ` Luke Lonergan
1997-09-16 4:00 ` Ulrich Ruede
1997-09-16 4:00 ` H.W. Stockman
1997-09-16 4:00 ` Greg Lindahl
1997-09-18 4:00 ` Greg Lindahl
1997-09-19 4:00 ` Burkhard Neidecker-Lutz
1997-09-20 4:00 ` Toon Moene
1997-09-22 4:00 ` Luke Lonergan
-- strict thread matches above, loose matches on Subject: below --
1997-09-17 4:00 Robert Harley
1997-09-22 4:00 ` Luke Lonergan
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox