🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #11644

communication between fixed and float units

#11644
From: jbs
Date: Fri, 17 May 1991 05:44
28 lines
2028 bytes
         Herman Rubin says (in connection with the Risc System 6000):
As for (2), it would reduce the cost of the hybrid operations down to
1/3 their present cost at least, and in some cases more.  For unsigned
integer to floating conversion, at present this takes an integer store,
a floating load, and a floating add, assuming that the preparations have
been made.  Other situations are even worse.

         Things are not this simple.  The 3 instructions can be over-
lapped with instructions of the opposite type (it turns out a float-
ing load is of integer type).  A proposed integer->float instruction
would presumedly be of both types.  This would make the ratio 3:2.
         Herman Rubin also says (in connection with potential gains
from easier communication between the fixed and float units):
I believe that the current elementary function library for the RS/6000
does quite a bit of this, and this might give an indication.

         I agree that easier communication between the units would help
in computing elementary functions.  However the gains would not be
spectacular (I guess 10% or so) and elementary functions themselves don't
seem all that important (anybody have numbers on this?).  There are also
other perhaps easier ways of achieving comparable gains.  For example:
         1.)  Add an instruction which gives the integer part of a
floating number as a floating number.
         2.)  Drop the requirement that the functions work for all round-
ing modes.
         3.)  Write functions which compute more than 1 value at a time.
                           James B. Shearer
Technical Details
Message-ID: <9105171235.AA20139@ucbvax.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!WATSON.IBM.COM!jbs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!WATSON.IBM.COM!jbs
From: jbs@WATSON.IBM.COM
Newsgroups: comp.arch
Subject: communication between fixed and float units
Message-ID: <9105171235.AA20139@ucbvax.Berkeley.EDU>
Date: 17 May 91 05:44:54 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 28