* Q: Does Alpha do 64bit multiplication? @ 1994-12-23 17:50 John Walkup 1994-12-23 19:35 ` John Walkup 0 siblings, 1 reply; 8+ messages in thread From: John Walkup @ 1994-12-23 17:50 UTC (permalink / raw) I write a lot of programs in FORTRAN that involve quadruple precision. Since I am using a 32 bit processor right now (a SPARC20) all quadruple multiplication is done in software. Can the Alpha processor perform all quadruple precision multiplication in RAM? The retail rep for DEC says it can, but I somehow doubt it. If it does, does it mattter which operating system I choose to use? Thanks. John ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Q: Does Alpha do 64bit multiplication? 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 0 siblings, 1 reply; 8+ messages in thread From: John Walkup @ 1994-12-23 19:35 UTC (permalink / raw) Someone already cleared me up on a terminology problem. I really should have said "Does Alpha do quadruple-precision multiplication in hardware?" The answer is, of course, no. I guess no computer does. (Except possibly Crays.) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Q: Does Alpha do 64bit multiplication? 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 0 siblings, 1 reply; 8+ messages in thread From: Steve Lionel @ 1994-12-24 0:58 UTC (permalink / raw) In article <walkup.788211355@phyast>, walkup@phyast.nhn.uoknor.edu (John Walkup) writes: >Someone already cleared me up on a terminology >problem. I really should have said "Does Alpha >do quadruple-precision multiplication in hardware?" >The answer is, of course, no. I guess no >computer does. (Except possibly Crays.) I'm still not sure what you're asking. Alpha certainly implements 64-bit integer (and floating) multiplication in the microprocessor. Quadruple precision is a term that generally refers to a 128-bit floating point format. At this time, Alpha systems implement 128-bit floating operations in software, but it is remarkably fast. Some past models of VAX processor (730, 750, 780, 85xx,86xx,87xx,88xx, 9000) implemented 128-bit floating in some combination of microcode and hardware acceleration. So - what exactly are you looking for? How many bits? Integer or floating? Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 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] 8+ messages in thread
* quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) 1994-12-24 0:58 ` Steve Lionel @ 1994-12-27 4:41 ` Brian R. Hunt 1994-12-27 15:06 ` Steve Lionel 0 siblings, 1 reply; 8+ messages in thread From: Brian R. Hunt @ 1994-12-27 4:41 UTC (permalink / raw) lionel@quark.enet.dec.com (Steve Lionel) writes: >Quadruple precision is a term that generally refers to a 128-bit >floating point format. At this time, Alpha systems implement >128-bit floating operations in software, but it is remarkably fast. Pardon my ignorance, but how are 128-bit floating operations done under OSF/1? Some sort of library or a compiler flag I don't know about? The phrase "At this time" also piques my interest--is hardware quadruple precision in our future (or is quadruple precision going out of style)? -- Brian R. Hunt bhunt@ipst.umd.edu ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) 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 0 siblings, 1 reply; 8+ messages in thread From: Steve Lionel @ 1994-12-27 15:06 UTC (permalink / raw) In article <bhunt.788503308@brians.umd.edu>, bhunt@brians.umd.edu (Brian R. Hunt) writes: |>Pardon my ignorance, but how are 128-bit floating operations done |>under OSF/1? Some sort of library or a compiler flag I don't know |>about? It's done using library routines when you use the REAL*16 type in DEC Fortran. I don't know offhand if DEC C supports it. No special compiler flag is necessary. You do need current versions of the compiler and operating system (DEC Fortran V3.5 and OSF/1 V3.0, DEC Fortran V6.2 and OpenVMS V6.1). |>The phrase "At this time" also piques my interest--is hardware |>quadruple precision in our future (or is quadruple precision going out |>of style)? No, coming back into style is probably more the right phrase. In the VAX line, quad-precision float disappeared from the hardware with the advent of the CMOS-based VAX processor line. The current generations of Alpha processors don't have quad-float support, so it's done in software. (Very good and fast software, though - not like the old H_float emulation on VAX.) Will we see quad-float in future Alpha generations? A lot of that depends on how much we see people using it now. It got dropped from VAX because of perceived low use. However, it really may not be necessary to do it in hardware - if you are interested in quad-float, try it out and see what you think. -- Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 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] 8+ messages in thread
* Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) 1994-12-27 15:06 ` Steve Lionel @ 1994-12-27 20:14 ` James N. Petersen 1994-12-27 21:08 ` Steve Lionel 0 siblings, 1 reply; 8+ messages in thread From: James N. Petersen @ 1994-12-27 20:14 UTC (permalink / raw) Steve, in the DEC fortran compilers the -r8 flag converts code to double precision automatically. Is there such a flag, e.g. -r16, that converts to quad precision automatically? I cannot find it in the man pages, but perhaps I'm missing something. Jim Steve Lionel (lionel@quark.enet.dec.com) wrote: : In article <bhunt.788503308@brians.umd.edu>, bhunt@brians.umd.edu : (Brian R. Hunt) writes: : |>Pardon my ignorance, but how are 128-bit floating operations done : |>under OSF/1? Some sort of library or a compiler flag I don't know : |>about? : It's done using library routines when you use the REAL*16 type in DEC Fortran. : I don't know offhand if DEC C supports it. No special compiler flag is : necessary. You do need current versions of the compiler and operating : system (DEC Fortran V3.5 and OSF/1 V3.0, DEC Fortran V6.2 and OpenVMS V6.1). : |>The phrase "At this time" also piques my interest--is hardware : |>quadruple precision in our future (or is quadruple precision going out : |>of style)? : No, coming back into style is probably more the right phrase. In the VAX : line, quad-precision float disappeared from the hardware with the advent : of the CMOS-based VAX processor line. The current generations of Alpha : processors don't have quad-float support, so it's done in software. (Very : good and fast software, though - not like the old H_float emulation on VAX.) : Will we see quad-float in future Alpha generations? A lot of that depends on : how much we see people using it now. It got dropped from VAX because of : perceived low use. However, it really may not be necessary to do it in : hardware - if you are interested in quad-float, try it out and see what : you think. : -- : Steve Lionel Mail: lionel@quark.enet.dec.com : DEC Fortran Development WWW: http://www.digital.com/info/slionel.html : Digital Equipment Corporation CompuServe: 75263,3001 : 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] 8+ messages in thread
* Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) 1994-12-27 20:14 ` James N. Petersen @ 1994-12-27 21:08 ` Steve Lionel 1994-12-28 22:54 ` Peter Sherwood 0 siblings, 1 reply; 8+ messages in thread From: Steve Lionel @ 1994-12-27 21:08 UTC (permalink / raw) In article <D1HK8x.M44@serval.net.wsu.edu>, jpeterse@che.wsu.edu (James N. Petersen) writes: |>Steve, in the DEC fortran compilers the -r8 flag converts code to double |>precision automatically. Is there such a flag, e.g. -r16, that converts |>to quad precision automatically? I cannot find it in the man pages, but |>perhaps I'm missing something. No, but there is -double_size 128 which makes DOUBLE PRECISION things REAL*16. See also -real_size (which supports values of 32 and 64). -- Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 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] 8+ messages in thread
* Re: quadruple precision (was Re: Q: Does Alpha do 64bit multiplication?) 1994-12-27 21:08 ` Steve Lionel @ 1994-12-28 22:54 ` Peter Sherwood 0 siblings, 0 replies; 8+ messages in thread From: Peter Sherwood @ 1994-12-28 22:54 UTC (permalink / raw) 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 ----------------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1994-12-28 22:54 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox