From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,910b935de8e2853a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-12-28 22:21:41 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!news2.near.net!news3.near.net!noc.near.net!chaos.dac.neu.edu!narnia.ccs.neu.edu!gbcacm From: gbcacm@ccs.neu.edu (Peter Sherwood) Newsgroups: comp.sys.dec Subject: Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) Date: 28 Dec 1994 22:54:22 GMT Organization: College of Computer Science, Northeastern University. Distribution: world Message-ID: <3dsqau$80p@narnia.ccs.neu.edu> References: , <3dfrn4$a9c@jac.zko.dec.com> <3dpahe$eq0@jac.zko.dec.com> <3dpvp9$evk@jac.zko.dec.com> NNTP-Posting-Host: denali.ccs.neu.edu X-Newsreader: TIN [version 1.2 PL2] 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 -----------------------------------------------------------------------------