lkml.org 
[lkml]   [1996]   [Jul]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Alphas and division (was: faster make depend)
Date
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 << ____


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.103 / U:4.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site