This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Target FUNCTION_{PRO,EPI}LOGUE question


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]