Article View: gnu.gcc.help
Article #53020gcc vs. cc on Sun 4/330
From: Douglas Scott
Date: Sat, 04 Apr 1992 21:12
Date: Sat, 04 Apr 1992 21:12
18 lines
1430 bytes
1430 bytes
I have a sound-processing program on our Sun 4/330 (OS 4.1) that does all its calculations with double-precision variables. I have been comparing its number-crunching speed when compiled under the native cc compiler and under gcc 2.1, using -O for cc and "-O -f-strength-reduce" for gcc. I was disappointed to find that a particular calculation took 36 seconds with the cc-compiled version and *58* seconds with gcc! Am I wrong to think that I should be able to get at least equal performance out of gcc? Would a different set of flags give faster results? I would prefer to use gcc since our other machines do, but I dont want to sacrifice speed. Thanks for any ideas. -- Douglas Scott (805)893-8352 Center for Computer Music Research and Composition University of California, Santa Barbara Internet: (NeXTMail ok) <doug@foxtrot.ccmrc.ucsb.edu>
Technical Details
Message-ID:
<4014@ucsbcsl.ucsb.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!foxtrot.ccmrc.ucsb.eduShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,9495192b9e280837 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-04-04 13:12:22 PST Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!ucsbcsl!foxtrot.ccmrc.ucsb.edu From: doug@foxtrot.ccmrc.ucsb.edu (Douglas Scott) Newsgroups: gnu.gcc.help Subject: gcc vs. cc on Sun 4/330 Message-ID: <4014@ucsbcsl.ucsb.edu> Date: 4 Apr 92 21:12:22 GMT Sender: root@ucsbcsl.ucsb.edu Reply-To: doug@foxtrot.ccmrc.ucsb.edu Distribution: usa Lines: 18