Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: possible ALPHA chip bodge-job
  1994-08-10 19:06 possible ALPHA chip bodge-job Geordie
@ 1994-08-10 18:59 ` Dirk Grunwald
  1994-08-10 19:01 ` Ron Natalie
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Dirk Grunwald @ 1994-08-10 18:59 UTC (permalink / raw)


>>>>> "G" == Geordie  <ayoung@vax.oxford.ac.uk> writes:
In article <1994Aug10.190632.25036@oxvaxd> ayoung@vax.oxford.ac.uk (Geordie) writes:
G> it, but the original source of the rumour was a DEC engineer.  Does anyone
G> have more information on this ?
--

Yeah, it's wrong. If they could simulate 50Mflops using software, I'd
be pretty impressed.

They implement some rounding modes in software and some of
infrequently used VAX modes in software. But if you're using the
'conventional' IEEE mode or most of the VAX modes, it's all done in
hardware. I think that later processors do all the rounding modes in
hardware.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: possible ALPHA chip bodge-job
  1994-08-10 19:06 possible ALPHA chip bodge-job Geordie
  1994-08-10 18:59 ` Dirk Grunwald
@ 1994-08-10 19:01 ` Ron Natalie
  1994-08-10 19:37 ` Steve Lionel
  1994-08-11 11:47 ` Roger Barnett
  3 siblings, 0 replies; 5+ messages in thread
From: Ron Natalie @ 1994-08-10 19:01 UTC (permalink / raw)


I don't know what the chip does, but the C compiler calls a single
instruction to do floating point divide (divt).  What exactly is called
hardware or software inside the instruction level is up for discussion
I guess.

-Ron


^ permalink raw reply	[flat|nested] 5+ messages in thread

* possible ALPHA chip bodge-job
@ 1994-08-10 19:06 Geordie
  1994-08-10 18:59 ` Dirk Grunwald
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Geordie @ 1994-08-10 19:06 UTC (permalink / raw)


 I've heard an ugly rumour that the Alpha chip implements floating point
division in software rather than hardware.  Naturally the salesman denied
it, but the original source of the rumour was a DEC engineer.  Does anyone
have more information on this ?

-------------------------------------------------------------------------------
     ___
    /   \   /                 |    /      Alan Young @ uk.ac.ox.vax
   /____/  /  ___    __       |___/
  /    /  /  /   |  /  |         /           "The bigger they are,
 /     \_/\__\__/|_/  /_________/               the harder they fall on you."


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: possible ALPHA chip bodge-job
  1994-08-10 19:06 possible ALPHA chip bodge-job Geordie
  1994-08-10 18:59 ` Dirk Grunwald
  1994-08-10 19:01 ` Ron Natalie
@ 1994-08-10 19:37 ` Steve Lionel
  1994-08-11 11:47 ` Roger Barnett
  3 siblings, 0 replies; 5+ messages in thread
From: Steve Lionel @ 1994-08-10 19:37 UTC (permalink / raw)



In article <1994Aug10.190632.25036@oxvaxd>, ayoung@vax.oxford.ac.uk (Geordie) writes:
|> I've heard an ugly rumour that the Alpha chip implements floating point
|>division in software rather than hardware.  Naturally the salesman denied
|>it, but the original source of the rumour was a DEC engineer.  Does anyone
|>have more information on this ?

Not true.  Of course, floating divide is not as fast as other instructions
and the compilers have various tricks where they can (if told to or if they
know it's safe) to substitute a multiply by an inverse.

Your source may have been thinking of integer divide, for which there is
no specific instruction.  Compilers implement integer division with a 
low-overhead call to a subroutine which does the divide in other instructions;
it's really quite clever about it and fast. 

The whole point of RISC is that complex operations are often better done as
a series of simpler operations. 
-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For a summary of Digital's Internet services, send mail to info@digital.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: possible ALPHA chip bodge-job
  1994-08-10 19:06 possible ALPHA chip bodge-job Geordie
                   ` (2 preceding siblings ...)
  1994-08-10 19:37 ` Steve Lionel
@ 1994-08-11 11:47 ` Roger Barnett
  3 siblings, 0 replies; 5+ messages in thread
From: Roger Barnett @ 1994-08-11 11:47 UTC (permalink / raw)


In article: <1994Aug10.190632.25036@oxvaxd>  ayoung@vax.oxford.ac.uk (Geordie) 
writes:
> 
>  I've heard an ugly rumour that the Alpha chip implements floating point
> division in software rather than hardware.  Naturally the salesman denied
> it, but the original source of the rumour was a DEC engineer.  Does anyone
> have more information on this ?
> 

The Alpha has no _integer_ hardware divide; it has four _floating_ divides
(two for VAX-format 32/64-bit numbers, two for IEEE format 32/64-bit numbers).
Note that the two other VAX formats (i.e. H_floating and D_floating) are not 
directly supported by the Alpha hardware.

From the architecture manual:
Alpha hardware supports add, subtract, multiply, divide, convert between
floating formats, convert between floating and integer formats, and compare.
Software routines support square root, remainder, round to integer in floating
point format, and convert binary to/from decimal.

HTH

-- 
Roger Barnett



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1994-08-11 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-10 19:06 possible ALPHA chip bodge-job Geordie
1994-08-10 18:59 ` Dirk Grunwald
1994-08-10 19:01 ` Ron Natalie
1994-08-10 19:37 ` Steve Lionel
1994-08-11 11:47 ` Roger Barnett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox