Re: AMD compilers tol use REAL(16) syntax?

From: Dr Chaos (mbkennelSPAMBEGONE_at_NOSPAMyahoo.com)
Date: 10/11/03


Date: Sat, 11 Oct 2003 21:36:35 +0000 (UTC)

On Sat, 11 Oct 2003 17:40:20 GMT, Norbert Juffa <juffa@earthlink.net> wrote:
> "David Frank" <dave_frank@hotmail.com> wrote in message news:Rqwhb.88126$eS5.61641@twister.tampabay.rr.com...
>> The 68bit fraction and 18 bit exponent of the AMD opteron leads
>> into the question how does a Fortran compiler command this "90-bit"
>> format?
>>
>> Since AMD has challenged my BYTES RULE computer model universe with a
>> 90-bit format, doesnt this throw a monkey-wrench into my contention?
>>
>> Not to worry, if the compiler writers are smart they will just refer
>> to
>> it as REAL(16) since the new format resides in 128 bit registers and
>> MUST be fetched/stored with at least 16byte memory transfers else it
>> will be terribly inefficient.
>
> There is no user visible 90-bit number format on AMD CPUs. It's merely
> an internal format, and the "90 bit" designation seems to include the
> tag bits in the count. 80-bit extended precision format is the widest
> user visible format, and it is only available when using the classic
> "x87" FPU, not through SSE2. From what I read, AMD emphasises SSE2 for
> 64-bit environments which makes sense as it is true double precision
> (avoids many pitfalls due to wider internal precision/exponent ranges),
> supports SIMD computations, and has twice the number of FPU registers
> available compared to "x87" (16 vs 8).

> The 68 mantissa bits are there to support the computation of extended
> precision transcendental functions with < 1 ulp accuracy (note that
> the trig functions sin, cos, tan use a 68-bit machine PI in argument
> reduction). The 18-bit exponent range avoids overflows in intermediate
> computations performed internally to the chip.

It would be nice if the new chips had some mode which essentially
made computations identical to, say Sun SPARCstations, and we
can stop worrying about this insane issue, and get back to physics
and fundamental numerical stability.



Relevant Pages

  • Re: is real*8 a standard declaration style?
    ... but the newer ones with the CPU and the FPU on the same chip didn't. ... 80-bit Intel format available. ... Windows libraries, however, don't support 80-bit format, and 32-bit applications using those libraries are expected to set 53-bit precision. ...
    (comp.lang.fortran)
  • Re: AMD compilers tol use REAL(16) syntax?
    ... There is no user visible 90-bit number format on AMD CPUs. ... 64-bit environments which makes sense as it is true double precision ... The "90-bit" internal format is documented in various papers and patents ...
    (comp.lang.fortran)
  • Re: Please help me in formatting
    ... Click "Format" to select the format desired. ... AMD CCU 15-Apr 180 180 ... AMD DEL - 180 180 ... BBI BOM - 180 180 ...
    (microsoft.public.excel.newusers)
  • Re: WARNING SPWARE detected on your computer - Install an antivirus or
    ... I recall after my last format the first ... and last popup I got was telling me I had spyware. ... Don't buy Amd case stickers, ... unless you have your very own cyrix stick-on. ...
    (microsoft.public.security.virus)
  • Re: Please help me in formatting
    ... Click "Format" to select the format desired. ... Now use the Format Painter to apply the conditional formatting to the desired range. ... AMD CCU 15-Apr 180 180 ... BBI BOM - 180 180 ...
    (microsoft.public.excel.newusers)