From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 1470 invoked from network); 5 Jun 1998 03:35:09 -0000 Received: from dot.cygnus.com (205.180.230.224) by mail2.redhat.com with SMTP; 5 Jun 1998 03:35:09 -0000 Received: (from rth@localhost) by dot.cygnus.com (8.8.5/8.8.5) id UAA01438; Thu, 4 Jun 1998 20:35:10 -0700 Message-ID: <19980604203510.A1386@dot.cygnus.com> Date: Thu, 4 Jun 1998 20:35:10 -0700 From: Richard Henderson To: Shane Steven Sturrock , axp-list@redhat.com Subject: Re: Fun with assembler Reply-To: Richard Henderson References: <199806041614.QAA25947@hayes.bru.ed.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i 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~