From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sh.od.inet (CPE0080c82c70ca.cpe.net.cable.rogers.com [24.112.140.233]) by dsl2.external.hp.com (Postfix) with ESMTP id A8AD0482A for ; Tue, 2 Apr 2002 06:46:32 -0700 (MST) Date: Tue, 2 Apr 2002 08:47:31 -0500 From: "Carlos O'Donell Jr." To: John David Anglin Cc: parisc-linux@parisc-linux.org, will@misconception.org.uk Subject: Re: [parisc-linux] Re: Fwd: Re: Any hppa gurus? Message-ID: <20020402084731.C26273@systemhalted> References: <20020330151130.B16616@systemhalted> <200203302132.g2ULWNcp028559@hiauly1.hia.nrc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <200203302132.g2ULWNcp028559@hiauly1.hia.nrc.ca>; from dave@hiauly1.hia.nrc.ca on Sat, Mar 30, 2002 at 04:32:23PM -0500 Sender: parisc-linux-admin@lists.parisc-linux.org Errors-To: parisc-linux-admin@lists.parisc-linux.org List-Help: List-Post: List-Subscribe: , List-Id: parisc-linux developers list List-Unsubscribe: , List-Archive: > > I some situations, the callee needs to save the argument registers on > the stack. There are 4 words reserved for this. > Okay. I'll see if I can find those in the documentation. > > int gr26 fr7 ----- === float > > int gr25 fr6 float === ----- > > --- gr24 fr5 ----- --- ----- > > --- gr23 fr4 ----- --- ----- > > You've got the order of the float registers reversed. They are allocated > in order of increasing number starting with fr4. > Ah! Excellent. After looking at some more assembly output and reading... I should have realized that it was the other way around :) Thanks. Now some of my register allocation guessing is coming out correct :} Serves me right for using complex examples all the time. c.