Re: Alphas and division (was: faster make depend)

Olaf Titz (olaf@bigred.inka.de)
30 Jul 1996 02:14:37 +0200


Matti E Aarnio <mea@mea.cc.utu.fi> wrote:
> I was NOT talking about FP operations, rather of INTEGER.

Computing 1/x on an integer unit yields 0 for every abs(x)>2 at least,
or am I missing something? You can do such tricks with precomputing
b/x for a known b (e.g. 2^16) and dividing that b off later, but that
is, strictly speaking, fixed point arithmetic.

> And of reasons, why the lack of integer division instruction
> at Alphas is not a bad thing in my opinion.

That's another issue. Yes, a hardware division engine breaks
pipelining and the operation is much more rare than multiplication, so
the trade-off is completely valid.

olaf

-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____