From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d1ff17820abd94f8,start X-Google-Attributes: gid111c93,public From: will239@my-deja.com Subject: poor gcc performance Date: 1999/09/17 Message-ID: <7ru944$r8e$1@nnrp1.deja.com>#1/1 X-Deja-AN: 526293952 X-Http-Proxy: 1.0 x36.deja.com:80 (Squid/1.1.22) for client 128.18.47.36 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Fri Sep 17 20:42:46 1999 GMT X-MyDeja-Info: XMYDJUIDwill239 Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla/4.61 [en] (WinNT; I) Hi, Specfp95 indicates that an alpha 21164A 533 should be a bit more than twice as fast as a celeron 333. With some of my own fp source code and the gcc compiler I am getting them to be more like equals. I have downloaded and installed the fast math libraries for the alpha (libfm). Also, I set the compile options as follows: CC = gcc OPTSPENT = -O2 -mpentium \ -fomit-frame-pointer -fno-strength-reduce -pipe -malign-loops=2 \ -malign-jumps=2 -malign-functions=2 -fshort-enums -fno-common OPTSALPHA = -O2 -mcpu=ev56 \ -fomit-frame-pointer -fno-strength-reduce -pipe \ -fshort-enums -fno-common Is this expected performance or can I do better? I know there is a beta c compiler from compaq but I really need c++ for most of my work. Thanks, Will Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.