This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
long long long
- To: gcc at gcc dot gnu dot org
- Subject: long long long
- From: Tim Josling <tej at melbpc dot org dot au>
- Date: Sat, 23 Sep 2000 10:12:17 +1100
- Organization: Melbourne PC User Group
My COBOL compiler will need a 128 bit data type to support 31
digit decimal arithmetic which is required in the new cobol
standard. A couple of questions: is it technically feasible to
support this in GCC, similar to the way long long (64 bit) is
supported? Does it require that you have enough registers to hold
a whole value in storage?
In principle could a patch to support long long long be
acceptable?
There are alternatives but these involve seperately compiled
runtime support which does not optimize very well, or a lot of
work to create pseudo inline functions during the compile. Any
suggestions welcome. I have had a look at the Ada code and it is
not feasible to reuse that (eg it is written in Ada).
Tim Josling