🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #11949

Re: IEEE arithmetic (Goldberg paper)

#11949
From: Dale Earl
Date: Wed, 05 Jun 1991 16:13
49 lines
3225 bytes
In article <9106010224.AA28532@ucbvax.Berkeley.EDU> jbs@WATSON.IBM.COM writes:
 >
 >          Henry Spencer says:
 >My understanding is that the funnier-looking features, in particular the
 >infinities, NaNs, and signed zeros, mostly cost essentially nothing.
 >
 >          I believe this statement is incorrect.  Infs and nans compli-
 >cate the design of the floating point unit.  Even if there is ultimately
 >no performance impact, this added design effort represents a very real
 >cost.  Perhaps some hardware designers could comment.

     With my previous employer I helped design several floating point
units and in my experience the most difficult part of the IEEE
specification to handle were the denormalized numbers.  The
infinities, NANs, signed zeros, and rounding modes do not make the
hardware substantially more complicated or significantly decrease
performance.  As has been pointed out in other related postings these
features can be valuable for many numerical algorithms.  The value vs.
cost for denomalized numbers though is not favorable IMHO.  I feel a
representation for an infinitely small non-zero value would be useful
and much easier to implement in hardware.  But if you have to be able
to say that your device is 100% IEEE floating point compatible you get
stuck implementing the entire standard no matter what the hardware
tradeoffs.

     A related method we also employed on another device that did not
have to be 100% compliant may be of interest.  This device performed
both single precision integer and floating point operations.
Therefore we had a full 32 bit adder and multiplier available.  For
this device we made the on board register file 40 bits wide, 8 bits
for exponent and 32 bits for sign and mantissa.  Without going into
all the details, the integer operands used the 32 bit field and were
processed in a normal manner (exponent field was passed unchanged).
Floating point was performed using the full 32 bit mantissa with
rounding only on output from the chip.  This carried an extra 8 bits
of precision from intermediate operations which remained within the
chip.  The chip also could extract the exponent field into an integer
so we could emulate multiple precision in software if desired.  Not
exactly IEEE standard but probably would work well for many real
applications where better precision is more important than rigorous
numerical error bounding.   



--

Dale C. Earl                                                dce@mitre.org
These are my opinions, only my opinions, and nothing but my opinions! DCE 
Technical Details
Message-ID: <DCE.91Jun5111327@dvinci.linus.mitre.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!linus!linus!linus!dce
References: <9106010224.AA28532@ucbvax.Berkeley.EDU> <28197@drilex.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!linus!linus!linus!dce
From: dce@linus.mitre.org (Dale Earl)
Newsgroups: comp.arch
Subject: Re: IEEE arithmetic (Goldberg paper)
Message-ID: <DCE.91Jun5111327@dvinci.linus.mitre.org>
Date: 5 Jun 91 16:13:27 GMT
References: <9106010224.AA28532@ucbvax.Berkeley.EDU> <28197@drilex.UUCP>
Sender: news@linus.mitre.org (News Service)
Organization: Mitre Corporation, Bedford, MA.
Lines: 49
In-Reply-To: dricejb@drilex.UUCP's message of 4 Jun 91 16:18:24 GMT
Nntp-Posting-Host: dvinci.mitre.org