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


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~


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