From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1534 invoked by alias); 24 Jul 2008 02:09:11 -0000 Received: (qmail 1522 invoked by uid 22791); 24 Jul 2008 02:09:09 -0000 X-Spam-Check-By: sourceware.org Received: from wr-out-0506.google.com (HELO wr-out-0506.google.com) (64.233.184.229) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jul 2008 02:08:46 +0000 Received: by wr-out-0506.google.com with SMTP id c53so1531165wra.20 for ; Wed, 23 Jul 2008 19:08:43 -0700 (PDT) Received: by 10.90.83.18 with SMTP id g18mr663456agb.78.1216865323793; Wed, 23 Jul 2008 19:08:43 -0700 (PDT) Received: by 10.90.118.2 with HTTP; Wed, 23 Jul 2008 19:08:43 -0700 (PDT) Message-ID: Date: Thu, 24 Jul 2008 08:04:00 -0000 From: "Dennis Clarke" Reply-To: dclarke@opensolaris.org To: "Agner Fog" Subject: Re: gcc will become the best optimizing x86 compiler Cc: gcc@gcc.gnu.org In-Reply-To: <4887592E.4040804@agner.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <2E073B3ABB3F664DBA1D1C4D5FB47EF40EBDAD8E@NT-IRVA-0752.brcm.ad.broadcom.com> <4887592E.4040804@agner.org> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2008-07/txt/msg00424.txt.bz2 On Wed, Jul 23, 2008 at 12:15 PM, Agner Fog wrote: > Hi, I am doing research on optimization of microprocessors and compilers. > Some of you already know my optimization manuals (www.agner.org/optimize/). Sorry but I'm not buying. The Sun Studio 12 compiler with Solaris 10 on AMD Opteron or UltraSparc beats GCC in almost every single test case that I have seen. On the same hardware. Regardless of a single threaded test case or a multi-threaded test case. The differences do occur with file IO and with situations where peripherals get involved but for pure number crunching and pushing data around in heaps of memory I simply have not seen GCC ever do as well as Sun Studio 12 or even Sun Studio 10. Also, you have provided no data at all. So your assertions are those of a marketing person at the moment. Please post some code that can be compiled and then tested with high resolution timers and perhaps we can compare notes. Dennis Clarke