This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Ada variable-sized objects, bit_size_type == TImode, and divti3
- From: Geert Bosch <bosch at gnat dot com>
- To: "Ulrich Weigand" <Ulrich dot Weigand at de dot ibm dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 20 Mar 2003 17:19:26 -0500
- Subject: 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