Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "Carlos O'Donell Jr." <carlos@baldric.uwo.ca>
To: Will Newton <will@misconception.org.uk>
Cc: parisc-linux@parisc-linux.org, debian-hppa@debian.org
Subject: [parisc-linux] Re: Fwd: Re: Any hppa gurus?
Date: Sat, 30 Mar 2002 10:47:24 -0500	[thread overview]
Message-ID: <20020330104724.A16468@systemhalted> (raw)
In-Reply-To: <E16qkq2-0008AG-00.2002-03-29-01-05-55@mail7.svr.pol.co.uk>; from will@misconception.org.uk on Fri, Mar 29, 2002 at 01:07:07AM +0000

> 
> So, are the first four floats/doubles in an arg list always passed in 
> registers?
> 
> How about func(int, float, int, double, int, float)?
> 
>

A float fits into a single fr register.
A double fits into two fr registers (fr7 (uses fr6),fr5 (uses fr4)) 


	int    gr26 - fr7    ===
	===    gr25 - fr6    ===
	int    gr24 - fr5    float
	===    gr23 - fr4    ===

I wonder what happens if the call was int,int,float... and if that
would make a difference :)

/me goes to check

Hrmm...

        int    gr26 - fr7    ===
        int    gr25 - fr6    float
        ===    gr24 - fr5    === 
        ===    gr23 - fr4    ===

Not sure why that doesn't happen in the first example. Though 
I am no guru at this :)

Any help from more knowledgable parties would be helpful.

c.

       reply	other threads:[~2002-03-30 15:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E16qeEE-0000jh-00.2002-03-28-18-02-27@mail6.svr.pol.co.uk>
     [not found] ` <20020328143202.I12094@systemhalted>
     [not found]   ` <E16qkq2-0008AG-00.2002-03-29-01-05-55@mail7.svr.pol.co.uk>
2002-03-30 15:47     ` Carlos O'Donell Jr. [this message]
2002-03-30 17:36       ` [parisc-linux] Re: Fwd: Re: Any hppa gurus? John David Anglin
2002-03-30 20:11         ` Carlos O'Donell Jr.
2002-03-30 21:32           ` John David Anglin
2002-03-30 21:56             ` John David Anglin
2002-04-02 13:47             ` Carlos O'Donell Jr.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020330104724.A16468@systemhalted \
    --to=carlos@baldric.uwo.ca \
    --cc=debian-hppa@debian.org \
    --cc=parisc-linux@parisc-linux.org \
    --cc=will@misconception.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox