Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de>
Subject: SPEC CFP2000 Fortran declarations
Date: 2000/06/20	[thread overview]
Message-ID: <y4snu824il.fsf_-_@mailhost.neuroinformatik.ruhr-uni-bochum.de> (raw)
In-Reply-To: 394E90F8.9DBC14C4@moene.indiv.nluug.nl

Toon Moene <toon@moene.indiv.nluug.nl> writes:

> On the comp-fortran-90 mailing list
> we noticed, when discussing a SPEC2000 Fortran entry, that apparently:
> 
>       INTEGER(8)
> 
> slipped through.  Hardly a Standard way of specifying a certain size
> INTEGER ...

You'll notice something similar in facerec, where all REALs are declared as
REAL(4). Initially, all INTEGERs where INTEGER(4) as well...until that lead to
some problems with the Cray compiler (for which default types are equivalent
to KIND=8). In part, this is due to my inexperience with F90's KIND system
when writing the code. Also, SPEC had enough problems sorting out the various
portability and correctness issues (including catering to compilers with
borderline cases of optimitis) than to write and enforce a style guide for the
three languages involved - that's how I see it from the outside as a concerned
party, as it were.

When confronted with this issue, the CPU subcommittee agreed with leaving
the REAL declaration as is, making all integers of default type, and inserting
some explicit type conversions and constant kind declarations where necessary.
This is a thorny issue due to the implicit and varying actual type the default
types are mapped to. Also, I think there is only one compiler on the market
that uses KIND=<log2 (length in bytes)> instead of the usual KIND=<length in
bytes>, and its vendor is not represented in SPEC (not that that matters any).

	Jan



  parent reply	other threads:[~2000-06-20  4:00 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-24  4:00 Linux / Tru64 Fortran performance Leon Muratov
2000-04-24  4:00 ` Richard Maine
2000-04-25  4:00   ` Leon Muratov
2000-04-25  4:00     ` Dan Nagle
2000-04-25  4:00     ` Michael Kagalenko
2000-04-25  4:00       ` Timothy J. Bogart
2000-04-25  4:00     ` Andrei A. Dergatchev
2000-04-25  4:00       ` James D. Freels
2000-04-27  4:00         ` Charles Hixson
2000-05-08  4:00       ` Carlos
2000-05-08  4:00         ` Andrei A. Dergatchev
2000-04-25  4:00     ` Greg Lindahl
2000-04-25  4:00 ` Toon Moene
2000-04-25  4:00   ` Leon Muratov
2000-04-25  4:00     ` Dan Nagle
2000-04-25  4:00     ` Steven G. Kargl
2000-04-26  4:00       ` Leon Muratov
2000-04-29  4:00         ` Steve Lionel
2000-04-29  4:00           ` Toon Moene
2000-05-08  4:00           ` Richard Simpson
2000-05-08  4:00             ` Andrei A. Dergatchev
2000-04-29  4:00         ` Jochen K�pper
2000-05-08  4:00         ` Eric Werme - replace nospam with werme
2000-04-26  4:00     ` Emilio Lopes
2000-04-26  4:00       ` Toon Moene
2000-04-25  4:00 ` Jeffrey J. Potoff
2000-04-26  4:00 ` Massimiliano Fatica
2000-06-18  4:00   ` Tom Sevy
2000-06-19  4:00     ` Greg Lindahl
2000-06-19  4:00     ` Steve Lionel
2000-06-19  4:00     ` Serguei Patchkovskii
2000-06-19  4:00       ` Steve Lionel
2000-06-20  4:00         ` W Bauske
2000-06-20  4:00           ` W Bauske
2000-06-20  4:00             ` Toon Moene
2000-06-19  4:00       ` W Bauske
2000-06-19  4:00         ` Toon Moene
2000-06-19  4:00           ` W Bauske
2000-06-19  4:00             ` Serguei Patchkovskii
2000-06-20  4:00               ` W Bauske
2000-06-25  4:00                 ` Jeff Sturm
2000-06-20  4:00               ` James Cownie
2000-06-20  4:00           ` Jan Vorbrueggen [this message]
2000-06-20  4:00             ` SPEC CFP2000 Fortran declarations Toon Moene
2000-06-21  4:00               ` Jan Vorbrueggen
2000-06-21  4:00                 ` Toon Moene
2000-06-20  4:00             ` McCalpin
2000-06-20  4:00               ` Jan Vorbrueggen
2000-06-20  4:00                 ` McCalpin
2000-06-20  4:00         ` Linux / Tru64 Fortran performance Greg Lindahl
2000-06-21  4:00           ` W Bauske
2000-06-22  4:00             ` Greg Lindahl
2000-06-20  4:00         ` Jan Vorbrueggen
2000-06-20  4:00       ` Jan Vorbrueggen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox