From: Eric Botcazou <ebotcazou@libertysurf.fr>
To: gcc@gcc.gnu.org
Subject: __builtin_apply questions
Date: Sat, 04 Oct 2003 09:34:00 -0000 [thread overview]
Message-ID: <200310041134.09578.ebotcazou@libertysurf.fr> (raw)
Hi,
Firstly, the docs contain these sentence for __builtin_apply_args:
The function saves the arg pointer register, structure value
address, and all registers that might be used to pass arguments to
a function into a block of memory allocated on the stack. Then it
returns the address of that block.
What is the "structure value address"? Is it a typo for "return value
address"?
Secondly, the docs contain these sentence for __builtin_apply:
It is not always simple to compute the proper value for SIZE. The
value is used by `__builtin_apply' to compute the amount of data
that should be pushed on the stack and copied from the incoming
argument area.
How should it be interpreted for an ABI (namely SPARC) where the first
arguments are passed in registers (and the rest on the stack) but where room
is always reserved for them on the stack by the caller (for eventual use by
the callee) but not filled by the caller? As the size of the whole area
allocated by the caller or that of the area allocated for the arguments not
passed in registers?
--
Eric Botcazou
next reply other threads:[~2003-10-04 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-04 9:34 Eric Botcazou [this message]
2003-10-04 22:29 ` Hans-Peter Nilsson
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=200310041134.09578.ebotcazou@libertysurf.fr \
--to=ebotcazou@libertysurf.fr \
--cc=gcc@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).