Re: Questions on the stack for IA64

From: Ian Wienand <ianw_at_gelato.unsw.edu.au>
Date: 2004-04-14 15:29:02
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

-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Received on Wed Apr 14 01:29:29 2004

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:25 EST