Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: problems with compilers bundled with RH Linux?
Date: Thu, 11 Dec 1997 18:57:39 -0700 (MST)	[thread overview]
Message-ID: <199712120157.SAA15633@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199712112218.RAA12838@brg0>

I got a complete set of sources posted here earlier by yue-feng sun
and run this test after compiling with g77-egcs compiler.  The program
reported

User time: 39.21680 seconds

Real time: 42.00000 seconds

Then I added, rather at random, without even looking at these sources,
"FFLAGS       = -O6 -funroll-all-loops -fschedule-insns".  Times
reported changed to:

User time: 6.69336 seconds

Real time: 7.00000 seconds

6-fold improvement for a few lousy flags?  This should teach you
to use an optimizer in the future. :-)

After throwing into a fray also "-fschedule-insns2
-fexpensive-optimizations -frerun-cse-after-loop" I got the same
looking output but times reported changed to

User time: 6.35254 seconds

Real time: 6.00000 seconds

"Real time" shorter than "User time"?  Oh, that is an optimization!

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-12-12  1:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199712112218.RAA12838@brg0>
1997-12-12  1:57 ` Michal Jaegermann [this message]
1997-12-12  2:26   ` Sorry if I mised your response... But SMBFS isn't working Keith Baker
     [not found] <34916168.3B609A37@treblig.org>
1997-12-12 20:36 ` problems with compilers bundled with RH Linux? Richard Henderson
     [not found] <199712121526.KAA09405@melange.gnu.org>
1997-12-12 16:11 ` Michal Jaegermann
1997-12-12 16:08 Dave Gilbert
  -- strict thread matches above, loose matches on Subject: below --
1997-12-12 15:26 Craig Burley
1997-12-12 14:50 yue-feng sun
1997-12-11 23:41 Craig Burley
1997-12-11 20:38 yue-feng sun
1997-12-11 19:37 Michal Jaegermann
1997-12-11 18:07 yue-feng sun
1997-12-11 19:37 ` Michal Jaegermann
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