From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,fb196a030985e9bc X-Google-Attributes: gid111c93,public X-Google-Thread: 1164f8,fb196a030985e9bc X-Google-Attributes: gid1164f8,public From: michal@gortel.phys.ualberta.ca (Michal Jaegermann) Subject: Re: Is FFT inherently slow on Alpha CPUs? Date: 1999/10/14 Message-ID: <7u4td6$ies$1@pulp.srv.ualberta.ca>#1/1 X-Deja-AN: 536696209 References: <38063F40.8EE3A106@nospam.com> Followup-To: comp.os.linux.alpha,comp.sys.dec Organization: Disorganized Bits Reply-To: michal@phys.ualberta.ca Newsgroups: comp.os.linux.alpha,comp.sys.dec G. Hugh SONG (ghsong@nospam.com) wrote: : I realized that sine and cosine are the Achilles heel of the Alpha CPU. There are not implemented in hardware, if this is what you want to say. : On the new sun with double CPUs, the FFT benchmark is twice faster than : on Alpha 21164. If your "benchmark" happens really to measure how fast you can produce some sine and cosine values, and you are using a default math library which came with gcc on the top of it, then this result is not at all surprising. As usual benchmarks without all details what was run, in what circumstances, which compilers and libraries were used and so on, and so on, do not provide any real information beyond that something was run. : Is my understanding correct? Does FFT rely on sine and cosine even for : 2's radix or something? Correctly written FFT does not depend on sine and cosine at all and even less "inherently". In some circumstances it may make sense to recalculate coefficients "on a spot" but in others this will be an elementary error. --mj