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: Richard Henderson <rth at redhat dot com>
- Date: Thu, 28 Jun 2001 15:36:05 -0700
- Cc: Joern Rennecke <amylaar at redhat dot com>, "Joseph S. Myers" <jsm28 at cam dot ac dot uk>, Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>, gcc at gcc dot gnu dot org
- References: <200106281401.f5SE1JW15580@phal.cambridge.redhat.com> <20010628190720.E28909@daikokuya.demon.co.uk>
On Thu, Jun 28, 2001 at 07:07:20PM +0100, Neil Booth wrote:
> [1] My idea would be that we abstract it through something similar to
> a tree, say a tree_int, that is little more than a vtable that amongst
> other things provides an array of function pointers to do operations
> like add, multiply etc...
I think this is _definite_ overkill. The only reason you'd want a
vtable is if you were planning to have multiple MP implementations
active, which is, IMO, pointless. Pick one at configure time and
have done with it.
At worst these should be a direct function calls; at best these
should expand inline into native integer operations.
r~