This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Target FUNCTION_{PRO,EPI}LOGUE question
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: Target FUNCTION_{PRO,EPI}LOGUE question
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Fri, 29 Jun 2001 00:27:11 +0100 (BST)
- cc: Richard Henderson <rth at redhat dot com>, Joern Rennecke <amylaar at redhat dot com>, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, <gcc at gcc dot gnu dot org>
On Thu, 28 Jun 2001, Neil Booth wrote:
> > At worst these should be a direct function calls; at best these
> > should expand inline into native integer operations.
>
> You're right - configure-time information shouldn't go in vtables.
The way I currently see the multiple precision interface is as a set of
functions integer_add, integer_mul, ..., with a single integer typedef.
It *might* be useful, for convenience of implementation, to define a host
integer type as a target_byte typedef (and insist that there must be a
host integer type that can hold a target byte), and a target_size_t
typedef (and abort at runtime if a larger size is needed), but most
arithmetic would best work through the general multiple precision
interfaces.
--
Joseph S. Myers
jsm28@cam.ac.uk