From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23804 invoked from network); 13 Jul 1998 04:40:19 -0000 Received: from dot.cygnus.com (205.180.230.224) by mail2.redhat.com with SMTP; 13 Jul 1998 04:40:19 -0000 Received: (from rth@localhost) by dot.cygnus.com (8.8.5/8.8.5) id VAA19717; Sun, 12 Jul 1998 21:43:44 -0700 Message-ID: <19980712214344.A19657@dot.cygnus.com> Date: Sun, 12 Jul 1998 21:43:44 -0700 From: Richard Henderson To: Quant-X Alpha Linux Support , axp-list@redhat.com Subject: Re: Function call oddity Reply-To: Richard Henderson References: <199807130106.DAA03486@stefan.sime.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199807130106.DAA03486@stefan.sime.com>; from Quant-X Alpha Linux Support on Mon, Jul 13, 1998 at 03:06:31AM +0200 On Mon, Jul 13, 1998 at 03:06:31AM +0200, Quant-X Alpha Linux Support wrote: > This is !!!slower!!! than > > .align 5 > $L4: > nop > jsr $26,a > ldgp $29,0($26) > bis $9,$9,$1 > cmple $1,$10,$1 > addl $9,1,$9 > bne $1,$L4 Ok, so what. That's not the real problem. The real problem is that extra bis. Better would be ldq $27,a($29) e0 jsr $26,($27),a e1 ldah $29,0($26) e0 cmple $9,$10,$1 .. e1 lda $29,0($29) e0 addl $9,1,$9 .. e1 bne $1,$L4 e1 Which is two cycles less than with your nop. I missed whatever message had the example code, so I can't figure out what the compiler might think it is doing. r~ PS. > I hope Richard Henderson reads this, too ;-}} Better than hoping would be to actually send it to me. I do little more than scan the lists these days.