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]
Other format: [Raw text]

Re: RFA: Ada variable-sized objects, bit_size_type == TImode, and divti3



On Thursday, Mar 20, 2003, at 15:58 America/New_York, Ulrich Weigand wrote:


However, I'm wondering:

- does bit_size_type really need to be TImode
Richard Kenner would be best qualified to answer this, but he is out
of town until tuesday.
- if so, shouldn't these special cases be implemented more efficiently
  somewhere (we divide by an integer constant 8 here)

This would be nice, but I'm not sure this is most pressing. It seems unlikely to me that the constructs generating these long divisions would occur in performance-sensitive code. In general, for 64-bit arithmetic operations on 32-bit targets, there are many cases where one of the operands is constant and simpler code code be generated inline instead.

- in general, are we really supposed to need TImode division
How does this work on other 64-bit platforms?

Other 64-bit platforms define TImode division.


-Geert


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