From: gbcacm@ccs.neu.edu (Peter Sherwood)
Subject: Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?)
Date: 28 Dec 1994 22:54:22 GMT [thread overview]
Message-ID: <3dsqau$80p@narnia.ccs.neu.edu> (raw)
In-Reply-To: 3dpvp9$evk@jac.zko.dec.com
There are two instructions in the Alpha architecture for doing 64x64=128-bit
multiplication:
MULQ Ra,Rb,Rc puts the lsb 64 bits of Ra*Rb into Rc
UMULH Ra,Rb,Rc puts the msb 64 bits of Ra*Rb into Rc, with the multiplication
unsigned; two subtractions are needed to get the signed result
This says nothing about whether a particular compiler or OS uses these
instructions.
-----------------------------------------------------------------------------
Peter Sherwood
(617) 332-8880 (voice)
(617) 332-1675 (fax)
gbcacm@ccs.neu.edu
-----------------------------------------------------------------------------
prev parent reply other threads:[~1994-12-28 22:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-12-23 17:50 Q: Does Alpha do 64bit multiplication? John Walkup
1994-12-23 19:35 ` John Walkup
1994-12-24 0:58 ` Steve Lionel
1994-12-27 4:41 ` quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) Brian R. Hunt
1994-12-27 15:06 ` Steve Lionel
1994-12-27 20:14 ` James N. Petersen
1994-12-27 21:08 ` Steve Lionel
1994-12-28 22:54 ` Peter Sherwood [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox