From: Kilgallen@SpamCop.net (Larry Kilgallen)
Subject: Re: Specifying parameter passing convention and place (register)
Date: 6 Jul 2004 07:58:55 -0500
Date: 2004-07-06T07:58:55-05:00 [thread overview]
Message-ID: <Z027UNncuT4Q@eisner.encompasserve.org> (raw)
In-Reply-To: opsaot0qmdp4pfvb@bram-2
In article <opsaot0qmdp4pfvb@bram-2>, "Nick Roberts" <nick.roberts@acm.org> writes:
> What form should a pragma take for specifying the convention and place
> (register or in memory) for the passing of parameters into and out of
> subprograms?
>
> Should these pragmas be confined to machine code insertions, or some other
> group of subprograms, or it be permitted for all subprograms?
I would think only for non-Ada linkages (incoming and outgoing).
> Where should the pragma be placed? Should it be inside the subprogram
> body, so that the subprogram itself is implicit and does not need to be
> identified, or should it be in the same specification as the declaration
> of the subprogram, or somewhere else?
GNAT has (reportedly) implemented the DEC Ada mechanism for doing this.
Why not use that ? Unless you find a particular defect in that design,
commonality is good.
next prev parent reply other threads:[~2004-07-06 12:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-05 23:25 Specifying parameter passing convention and place (register) Nick Roberts
2004-07-06 12:58 ` Larry Kilgallen [this message]
2004-07-06 17:30 ` Nick Roberts
2004-07-07 4:14 ` Larry Kilgallen
2004-07-07 13:13 ` Nick Roberts
2004-07-07 18:54 ` Larry Kilgallen
2004-07-07 21:01 ` Nick Roberts
2004-07-08 12:06 ` Larry Kilgallen
2004-07-08 15:29 ` Nick Roberts
2004-07-08 14:09 ` Bob Spooner
2004-07-08 18:10 ` Nick Roberts
2004-07-08 12:27 ` Georg Bauhaus
2004-07-08 15:38 ` Larry Kilgallen
2004-07-08 18:03 ` Georg Bauhaus
2004-07-09 21:29 ` Keith Thompson
2004-07-09 21:50 ` Nick Roberts
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox