From: Ian Wienand <ianw@gelato.unsw.edu.au>
To: linux-ia64@vger.kernel.org
Subject: Re: Questions on the stack for IA64
Date: Wed, 14 Apr 2004 05:29:02 +0000 [thread overview]
Message-ID: <20040414052902.GD13040@cse.unsw.EDU.AU> (raw)
In-Reply-To: <20040413051722.84368.qmail@web61202.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
On Tue, Apr 13, 2004 at 10:05:56PM -0700, Rahul Chaturvedi wrote:
> The register stack has more than enough registers to handle 26
> input's, 26 outputs and 26 local variables, so why would it not put
> all the locals into registers and pass them onto printf?
See
"Itanium Software Conventions and Runtime Architecture Guide"
http://www.intel.com/design/itanium/downloads/24535803.pdf
on page 43, where it says
"The contents of the first eight parameter slots are always passed in
registers, while the remaining parameters are always passed on the
memory stack"
In general, your best references are probably everything on
http://www.intel.com/design/itanium/arch_spec.htm
and
http://www.lia64.org/book/
-i
ianw@gelato.unsw.edu.au
http://www.gelato.unsw.edu.au
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-04-14 5:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-13 5:17 Questions on the stack for IA64 Rahul Chaturvedi
2004-04-13 16:25 ` Luck, Tony
2004-04-13 17:24 ` Chen, Kenneth W
2004-04-14 5:05 ` Rahul Chaturvedi
2004-04-14 5:19 ` David Mosberger
2004-04-14 5:29 ` Ian Wienand [this message]
2004-04-14 5:34 ` Rahul Chaturvedi
2004-04-14 16:06 ` Luck, Tony
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=20040414052902.GD13040@cse.unsw.EDU.AU \
--to=ianw@gelato.unsw.edu.au \
--cc=linux-ia64@vger.kernel.org \
/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