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: Richard Henderson <rth at redhat dot com>, 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
- Subject: Re: Target FUNCTION_{PRO,EPI}LOGUE question
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Thu, 28 Jun 2001 23:51:26 +0100
Richard Henderson wrote:-
> 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.
You're right - configure-time information shouldn't go in vtables.
Lot's of expression simplification code from fold-const.c and the like
could usefully go in a vtable I imagine.
Neil.