Path: utzoo!telly!ddsw1!lll-winken!killer!pollux!ti-csl!cs.utexas.edu!sm.unisys.com!ucla-cs!arman
From: arman@oahu.cs.ucla.edu
Newsgroups: gnu.gcc
Subject: GCC performance
Message-ID: <16143@shemp.CS.UCLA.EDU>
Date: 23 Sep 88 04:54:06 GMT
Sender: news@CS.UCLA.EDU
Reply-To: arman@CS.UCLA.EDU (Arman Bostani)
Organization: UCLA Computer Science Department
Lines: 18


I just finished compiling a Prolog interpreter with GCC v1.28 on a
Sun/260. The interpreter compiled with GCC is, on the average, 15%
slower than the version which was compiled with the Sun 3.5 C
compiler. I had been under the impression that GCC produced better
code than the Sun C compiler. I have also tried smaller benchmarks,
but they also indicate that Sun CC produces better code.

Did I goof some place in the compilation of GCC, or does Sun CC
produce better code?? 

Thanx for your help,
arman.



-- Arman Bostani // UCLA Computer Science Department // +1 213-825-3194
	3417 Boelter Hall // Los Angeles, California 90024-1596 // USA
	arman@CS.UCLA.EDU   ...!(ucbvax,rutgers)!ucla-cs!arman