pixman with and without SSE2 benchmarks?

Soeren Sandmann sandmann at daimi.au.dk
Wed Sep 24 05:06:55 PDT 2008


Matthieu Herrb <matthieu.herrb at laas.fr> writes:

> Hi
> 
> Does someone have some benchmarks or numbers from real life X usage 
> showing the benefits of using the SSE2 code in pixman 0.12.0 over non 
> SSE2 on x86 and/or x86_64 cpus?

Not from real-life X usage, but from the cairo performance test
suite. See this thread:

    http://lists.cairographics.org/archives/cairo/2008-April/013610.html

There is a summary of the performance difference compared to the MMX
code:

    http://www.daimi.au.dk/~sandmann/perf-diff

> I'm asking because OpenBSD is stuck with an old gcc version which can't 
> compile the SSE2 code, and I wonder if it's worth hacking something to 
> be able ship a version compiled by gcc 4.2 or later with SSE2 support 
> with OpenBSD binary distributions.

Part of the performance win of the SSE2 code is that gcc has regressed
quite badly for MMX code since 3.4, so the performance difference
above may apply to your version of gcc.


Soren



More information about the xorg mailing list