From: Richard Henderson <rth@dot.cygnus.com>
To: Shane Steven Sturrock <sss@hayes.bru.ed.ac.uk>, axp-list@redhat.com
Subject: Re: Fun with assembler
Date: Thu, 4 Jun 1998 20:35:10 -0700 [thread overview]
Message-ID: <19980604203510.A1386@dot.cygnus.com> (raw)
In-Reply-To: <199806041614.QAA25947@hayes.bru.ed.ac.uk>; from Shane Steven Sturrock on Thu, Jun 04, 1998 at 04:14:39PM +0000
On Thu, Jun 04, 1998 at 04:14:39PM +0000, Shane Steven Sturrock wrote:
> Needless to say the problem is with the compilers. The one on the SGI
> is smart enough to know how to get the best out of the chip, gcc/egcs
> is not.
Compiler version and source used?
> The trick to getting better performance is to try and pair up
> your instructions but you can only really do this at the assembly level.
The Haifa scheduler used in EGCS knows about instruction issue and
pipelines. It doesn't know about how alignment affects issue, but
that's not nearly as drastic a problem.
You may be interested to look at the scheduling visualizations
produced by the Haifa scheduler when you give gcc the -dR option.
So the claim is that we should be doing the right thing now.
> ... there must be something more I can do...... :-)
The best thing that you can do is to examine your source code, identify
the hot spots that are not being optimized properly, and submit reports
with example source to the egcs list.
r~
next prev parent reply other threads:[~1998-06-05 3:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-05-23 2:55 while we're talking about the Millenium II Jay A Estabrook
1998-05-23 11:30 ` Uncle George
1998-05-24 9:52 ` Harald Koenig
1998-05-25 9:43 ` Uncle George
1998-06-02 9:29 ` DU C/C++ compiler Vladimir Kamenov
1998-06-04 16:14 ` Fun with assembler Shane Steven Sturrock
1998-06-05 3:35 ` Richard Henderson [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-06-04 18:18 Greg Lindahl
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