From: mccalpin@gmp246.austin.ibm.com (McCalpin)
Subject: Re: SPEC CFP2000 Fortran declarations
Date: 2000/06/20 [thread overview]
Message-ID: <8invu8$1iak$1@ausnews.austin.ibm.com> (raw)
In-Reply-To: y4snu824il.fsf_-_@mailhost.neuroinformatik.ruhr-uni-bochum.de
In article <y4snu824il.fsf_-_@mailhost.neuroinformatik.ruhr-uni-bochum.de>,
Jan Vorbrueggen <jan@mailhost.neuroinformatik.ruhr-uni-bochum.de> wrote:
>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 ...
>
> [...]
>
>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).
This is certainly perverse, since the standards committee went out of its
way to both:
* declare that specific values for KIND were not portable
* provide a mechanism to generate values for KIND in a portable way
Now it is true that the mechanism provided is verbose, but it is portable.
Just go look up SELECTED_REAL_KIND() and SELECTED_INT_KIND().
--
John D. McCalpin, Ph.D. mccalpin@austin.ibm.com
Senior Scientist IBM POWER Microprocessor Development
"I am willing to make mistakes as long as
someone else is willing to learn from them."
next prev 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 ` Greg Lindahl
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 ` Jeffrey J. Potoff
2000-04-25 4:00 ` Toon Moene
2000-04-25 4:00 ` Leon Muratov
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-25 4:00 ` Dan Nagle
2000-04-26 4:00 ` Emilio Lopes
2000-04-26 4:00 ` Toon Moene
2000-04-26 4:00 ` Massimiliano Fatica
2000-06-18 4:00 ` Tom Sevy
2000-06-19 4:00 ` Serguei Patchkovskii
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 ` James Cownie
2000-06-20 4:00 ` W Bauske
2000-06-25 4:00 ` Jeff Sturm
2000-06-20 4:00 ` SPEC CFP2000 Fortran declarations Jan Vorbrueggen
2000-06-20 4:00 ` McCalpin [this message]
2000-06-20 4:00 ` Jan Vorbrueggen
2000-06-20 4:00 ` McCalpin
2000-06-20 4:00 ` Toon Moene
2000-06-21 4:00 ` Jan Vorbrueggen
2000-06-21 4:00 ` Toon Moene
2000-06-20 4:00 ` Linux / Tru64 Fortran performance Jan Vorbrueggen
2000-06-20 4:00 ` Greg Lindahl
2000-06-21 4:00 ` W Bauske
2000-06-22 4:00 ` Greg Lindahl
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-20 4:00 ` Jan Vorbrueggen
2000-06-19 4:00 ` Steve Lionel
2000-06-19 4:00 ` Greg Lindahl
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