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, 28 Jun 2001, Neil Booth wrote:

> > 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.

The way I currently see the multiple precision interface is as a set of
functions integer_add, integer_mul, ..., with a single integer typedef.  
It *might* be useful, for convenience of implementation, to define a host
integer type as a target_byte typedef (and insist that there must be a
host integer type that can hold a target byte), and a target_size_t
typedef (and abort at runtime if a larger size is needed), but most
arithmetic would best work through the general multiple precision
interfaces.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


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