From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7f0e37b7ae43fc9e X-Google-Attributes: gid111c93,public From: Tony Hammitt Subject: Re: Compaq C-compiler - what am I doing wrong? Date: 1999/11/05 Message-ID: <38233E1B.C2411C7E@kc.rr.com>#1/1 X-Deja-AN: 544944677 Content-Transfer-Encoding: 7bit References: <7vsosn$qfi$1@nntp6.u.washington.edu> <382227B9.39EF4F17@kc.rr.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@rr.com X-Trace: typhoon2.kc.rr.com 941833757 24.94.177.115 (Fri, 05 Nov 1999 14:29:17 CST) MIME-Version: 1.0 NNTP-Posting-Date: Fri, 05 Nov 1999 14:29:17 CST Newsgroups: comp.os.linux.alpha Robert Harley wrote: > > Tony Hammitt wrote: > > If ccc isn't faster than gcc, there's something wrong. > > Rubbish. > > Rob. OK, let me qualify that a little. Ccc is almost always faster than gcc on numerical code, esp. with lots of opportunities for the vastly superior instruction scheduling algorithms ccc has. I've seen gcc -O3 go slower than -O0 because of these scheduling problems. Maybe someday, someone at Compaq will help out the gcc project with optimization. We can hope. Does the license permit us to look at the generated opcodes? That and a dedicated gear head could benefit gcc greatly. I'd love to sponsor such a project (just let me make some more money first :-) I have done experiments with many types of code and the smallest speedup I got with ccc is 15%. Taken out of context, my statement above does seem rather bald; in the context of well-coded numerical algorithms I'm willing to bet I'm right. Tony