🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #21405

Re: Questions on SparcStation 1 perform

#21405
From: aglew
Date: Sat, 20 May 1989 17:46
34 lines
1747 bytes
>Well, actually, the 88000 (and the i860, and the Cray's) don't have divide.
>They have reciporcate (actually, I belive they call it reciporocal
>approximation, and, at least on the i860, you have to go through a couple of
>iterations to get the "perfect" result).

From the MC88100 RISC Microprocessor User's Manual, Table 1-2, Instruction
Summary, page 1-13:

	Integer Arithmetic Instructions
	-------------------------------
	...
	DIV	Divide
	DIVU	Divide Unsigned
	...

	Floating-Point Arithmetic Instructions
	--------------------------------------
	...
	FDIV	Floating-Point Divide
	...

Note that, although integer divide is executed by the FPU, this is 
implementation, not architecture; whereas on some machines (Cray's I believe)
you must convert integer to float, divide, and convert float to integer,
explicitly for integer divide.


As for reciprocal approximation -- I have seen enough of the accuracy problems
with using reciprocal for divide to last me for quite a while. Gould's
NP1 did floating point reciprocals instead of divide: one of the compiler
guys said that it opened up a number of interesting opportunities for
optimization; but it caused enough accuracy problems (coupled with using 
IBM style hex floating point) that divide was backed in later.
Technical Details
Message-ID: <28200318@mcdurb>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!mcdurb!aglew
References: <6008@brunix.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!deimos.cis.ksu.edu!uxc!uxc.cso.uiuc.edu!mcdurb!aglew
From: aglew@mcdurb.Urbana.Gould.COM
Newsgroups: comp.arch
Subject: Re: Questions on SparcStation 1 perform
Message-ID: <28200318@mcdurb>
Date: 20 May 89 17:46:00 GMT
References: <6008@brunix.UUCP>
Lines: 34
Nf-ID: #R:brunix.UUCP:6008:mcdurb:28200318:000:1275
Nf-From: mcdurb.Urbana.Gould.COM!aglew    May 20 12:46:00 1989