[Intel-gfx] [PATCH] sna: Fix comment on GCC version check

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 27 23:27:44 CET 2013


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



More information about the Intel-gfx mailing list