This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
option for default 64-bit integers on Opteron and itanium
- From: Jiri Pittner <jiri dot pittner at jh-inst dot cas dot cz>
- To: fortran at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Tue, 2 Dec 2003 14:36:37 +0100
- Subject: option for default 64-bit integers on Opteron and itanium
Dear gcc and gnu fortran developers,
I would like to ask whether there are already plans / if not then to suggest
implementation of the following functionality specific to 64-bit architecture
AMD Opteron and Intel Itanium:
Some large old number crunching codes written mainly in Fortran 77
combined with a bit of C have to be translated so that variables
declared (implicitly) as integer or int in C are translated as 64-bit integers,
otherwise one cannot fully benefit of the 64-bit hardware, or even the code
does not run at all (due to the usual array offset trick used in Fortran 77
to access malloc()ed memory).
Commercial compilers (Intel, Portland group) offer such option called
usually -i8, and similar one -r8 which makes real*4 -> real*8.
I think this feature would be very useful to many people who do scientific computation.
With best regards,
Jiri Pittner