Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: peterm@tesla.EECS.Berkeley.EDU (Peter Mardahl)
Subject: Re: Alpha's floating point performance
Date: 1998/11/18	[thread overview]
Message-ID: <72vvv9$kac$1@tesla.EECS.Berkeley.EDU> (raw)
In-Reply-To: 3653768C.FD9D4815@west.net

In article <3653768C.FD9D4815@west.net>,
Randall Parker  <rgparker_nospam@west.net> wrote:

>He wants to write single precision versions of exp, sqrt and log if single precision versions
>will be faster than double precision versions. He really doesn't need the extra precision in
>the results if the single precision versions can actually execute more rapidly. Do you think
>that it is worth trying to write single precision versions to get an additional increase in
>speed? ie would it be faster if done right?

Using single precision to speed things up is an interesting idea.
I think it depends on exactly how much time it takes to compute
an exp/sqrt/log compared to how long it typically takes you to access memory
in your code.

For our simulation code, which does lots of adds and multiplies and
almost no divisions, sqrts, logs, or any other complex functions,
(this is a deliberate performance optimization!)
we get a 1.7 or so speedup by using single precision.  I don't
think the adds and multiplies happen any faster, really.  I think
the memory access is much improved:  the data cache suddenly looks twice
as large, the bandwidth gives 2x as much throughput per flop.....

PeterM



  reply	other threads:[~1998-11-18  5:00 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-06  5:00 Alpha's floating point performance Vladimir Filkov
1998-11-07  5:00 ` C.Simmendinger
1998-11-07  5:00 ` Nick Manka
1998-11-07  5:00 ` Greg Lindahl
1998-11-07  5:00   ` Kerstin Hoef-Emden
1998-11-09  5:00     ` Adam C. Powell, IV
1998-11-09  5:00       ` Tracy R Reed
1998-11-09  5:00         ` Adam C. Powell, IV
1998-11-10  5:00           ` Adam C. Powell, IV
1998-11-10  5:00           ` bmeyer
1998-11-10  5:00           ` IX Corp.
1998-11-17  5:00             ` Randall Parker
1998-11-17  5:00               ` Joachim Wesner
1998-11-18  5:00                 ` Randall Parker
1998-11-18  5:00                   ` Peter Mardahl [this message]
1998-11-19  5:00                     ` Ian Tester
1998-11-19  5:00                       ` Peter Mardahl
1998-11-19  5:00                         ` Robert Harley
1998-11-19  5:00                           ` Andreas Krall
1998-11-19  5:00                             ` Toon Moene
     [not found]                         ` <199811200036.AA23893@tesla.EECS.Berkeley.EDU>
1998-11-20  5:00                           ` Ian Tester
1998-11-20  5:00                         ` Ian Tester
1998-11-21  5:00                         ` Alpha's floating point performance -> single vs. double Joachim Wesner
1998-11-23  5:00                         ` Alpha's floating point performance Jack W. Crenshaw
1998-11-23  5:00                           ` H.W. Stockman
1998-11-23  5:00                           ` Peter Mardahl
1998-11-24  5:00                             ` Jack W. Crenshaw
1998-11-24  5:00                               ` Olaf Schnapauff
1998-11-25  5:00                                 ` Jack W. Crenshaw
1998-11-25  5:00                               ` Aaron Spink
1998-11-25  5:00                                 ` Jack W. Crenshaw
1998-11-11  5:00         ` Kerstin Hoef-Emden
1998-11-13  5:00           ` Phil
1998-11-13  5:00             ` Kerstin Hoef-Emden
1998-11-13  5:00             ` Murx
1998-11-13  5:00               ` Joachim Wesner
1998-11-13  5:00                 ` Murx
1998-11-13  5:00                   ` Murx
1998-11-11  5:00       ` Greg Lindahl
1998-11-11  5:00       ` H.W. Stockman
1998-11-09  5:00 ` Doug Rosser
1998-11-10  5:00   ` bxfqoxog
1998-11-10  5:00     ` energized
1998-11-11  5:00     ` Conrad Sanderson
1998-11-11  5:00       ` Greg Lindahl
1998-11-11  5:00         ` Conrad Sanderson
1998-11-11  5:00     ` bmeyer
1998-11-11  5:00       ` Integer performance (was Re: Alpha's floating point performance) S S Sturrock
1998-11-12  5:00         ` Murx
1998-11-15  5:00     ` Alpha's floating point performance Andy Isaacson
1998-11-16  5:00     ` Murx
1998-11-16  5:00       ` Joachim Wesner
1998-11-16  5:00         ` Murx
1998-11-16  5:00           ` Murx
1998-11-17  5:00           ` Joachim Wesner
1998-11-17  5:00             ` Murx
1998-11-17  5:00               ` Murx
1998-11-27  5:00                 ` Anders Blicher Petersen
1998-11-16  5:00       ` Vinhthuy Phan
1998-11-16  5:00         ` Murx
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