From: CRDGW2::CRDGW2::MRGATE::"SMTP::PREP.AI.MIT.EDU::HELP-GCC-REQUEST" 27-FEB-1992 01:00:03.04 To: ARISIA::EVERHART CC: Subj: GCC 2.0 Benchmarks (unoffical) From: help-gcc-request@prep.ai.mit.edu@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.123) id AA26702; Thu, 27 Feb 92 00:21:13 EST Received: by life.ai.mit.edu (4.1/AI-4.10) id AA19482; Tue, 25 Feb 92 18:26:57 EST Return-Path: Received: from news.cis.ohio-state.edu by life.ai.mit.edu (4.1/AI-4.10) id AA19456; Tue, 25 Feb 92 18:26:34 EST Received: by news.cis.ohio-state.edu (5.61-kk/5.911008) id AA19097; Tue, 25 Feb 92 18:10:19 -0500 Received: from USENET by news.cis.ohio-state.edu with netnews for help-gcc@prep.ai.mit.edu (help-gcc@prep.ai.mit.edu); contact usenet@news.cis.ohio-state.edu if you have questions. To: help-gcc@prep.ai.mit.edu Date: 25 Feb 92 17:01:39 GMT Message-Id: <1992Feb25.170139.20263@eplrx7.es.duPont.com> Organization: DuPont Central Research & Development From: cristy@eplrx7.es.dupont.com (Cristy) Sender: help-gcc-request@prep.ai.mit.edu Subject: GCC 2.0 Benchmarks (unoffical) Here are some benchmarks comparing vendor compilers with GCC 2.0 on a Sparc IPX (~27 mips) and a RS/6000 model 550 (~60 mips). Application 1: an image processing application that applies a 5x5 convolution filter on a 768x768 red-green-blue image and then reduces the number of colors to 256 using a tree-based color reduction algorithm. All calculations are integer. Compiler Processing Time ----------------------------------------- SUN native cc 87 seconds SUN unbundled acc 1.01 85 SUN gcc 2.0 80 IBM native xlc 31 IBM gcc 2.0 30 Application 2: a program that calculates the gravitational potential using a tree-based method O(n) and for comparison the naive method O(n^2). Most of the calculations are floating point. Compiler Method Processing Time --------------------------------------------------- SUN native cc O(n) 62 seconds SUN unbundled acc 1.01 O(n) 51 SUN gcc 2.0 O(n) 54 IBM native xlc O(n) 10 IBM gcc 2.0 O(n) 10 SUN native cc O(n^2) 109 SUN unbundled acc 1.01 O(n^2) 90 SUN gcc 2.0 O(n^2) 93 IBM native xlc O(n^2) 18 IBM gcc 2.0 O(n^2) 17 -- cristy@dupont.com