From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,27808f716cd282c7,start X-Google-Attributes: gid11318c,public X-Google-Thread: 111c93,27808f716cd282c7,start X-Google-Attributes: gid111c93,public From: William Snyder Subject: poor fp performance on alpha/linux/gcc Date: 1999/09/17 Message-ID: <37E3273E.60EA22C7@alumni.caltech.edu>#1/1 X-Deja-AN: 526612928 Content-Transfer-Encoding: 7bit X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 17 Sep 1999 22:43:13 -0800, s181.ynn.com MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha,gnu.gcc.help Hi I am running Redhat 6.0 on both an alpha 21164A 533Mhz and a celeron 333Mhz. When I compile and run a simple floating point intensive program under gcc I get about the same performance on these machines. The alpha should be more than twice as fast. I am using the fast floating point library (libfm) for the alpha. My optimization is: OPTSPENT = -O3 -mpentium \ -fomit-frame-pointer -fno-strength-reduce -pipe -malign-loops=2 \ -malign-jumps=2 -malign-functions=2 -fshort-enums -fno-common OPTSALPHA = -O3 -mcpu=ev56 \ -fomit-frame-pointer -fno-schedule-insns -fschedule-insns2 I am aware of the compaq ccc compiler but I need c++. Is this performance expected or am I missing some tricks for further improvement? I am looking forward to the compaq c++ compiler as well as one from KAI in the future. Many thanks -- William Snyder mailto://will@alumni.caltech.edu