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


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
						     ^^^^^^
						pointer to a vtable
> other things provides an array of function pointers to do operations
> like add, multiply etc, and contains a suitable target integer
> representation for the host.  Then at build time we could set up the
> vtable to the fast, trivial implementations if the host int sizes are
> the same as the target, and other, either multiple-precision or
> losing-precision, implementations if not.  This would probably be
> faster, and certainly much easier to read, than the way we handle this
> stuff at present.


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