From: Chris Wilson Subject: Re: [PATCH] sna: Fix comment on GCC version check Date: Wed, 27 Feb 2013 22:27:44 +0000 Message-ID: <20130227222744.GA11892@cantiga.alporthouse.com> References: <1361888872-19883-1-git-send-email-sedat.dilek@gmail.com> <20130226143525.GB32502@cantiga.alporthouse.com> <20130227173700.GC1924@cantiga.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id E7153E6020 for ; Wed, 27 Feb 2013 14:28:00 -0800 (PST) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Sedat Dilek Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org On Wed, Feb 27, 2013 at 06:59:58PM +0100, Sedat Dilek wrote: > How can I compare a gcc-4.6 and clang-3.2 compiled binaries? > Thinking of miscompiling and/or benchmarking. The real test is whether you can measure a difference in a benchmark like cairo-perf-trace. There are a few traces that are sensitive to CPU optimisations. To maximise the likelihood of spotting a difference though you will want to use microbenchmarks like x11perf, x11perf -aa10text would be a prime candidate. The last set of errors reported when compiled with Clang were during trapezoid rasterisation triggered whilst using normal Gtk+ and Qt apps. They have a tendency to hit all the corner cases. -Chris -- Chris Wilson, Intel Open Source Technology Centre