[Pixman] [RFC] AVX codepaths

Matt Turner mattst88 at gmail.com
Sat May 21 16:23:52 PDT 2011


On Sat, May 21, 2011 at 6:22 PM, Matt Turner <mattst88 at gmail.com> wrote:
> In the mean time, I've pushed my patches to the avx-optimizations
> branch of git://anongit.freedesktop.org/~mattst88/pixman. I also added
> an AVX path for composite_src_x888_8888.

Attached are the cairo-perf-trace results for pixman with and without AVX.

Not sure if this should be committed and disabled by default, or not
committed at all.

Matt
-------------- next part --------------
pixman compiled with CFLAGS="-O3 -march=native -mno-avx" --disable-avx

mattst88 at localhost ~/projects/cairo/perf $ CAIRO_TEST_TARGET=image ./cairo-perf-trace ../../cairo-traces/benchmark/*[^a]
[ # ]  backend                         test   min(s) median(s) stddev. count
[ # ]    image: pixman 0.23.1
[  0]    image                    evolution    5.078    5.090   0.10%    6/6
[  1]    image         firefox-planet-gnome    8.044    8.054   0.08%    6/6
[  2]    image            firefox-talos-gfx    5.672    5.692   0.27%    6/6
[  3]    image            firefox-talos-svg   24.447   24.486   0.09%    5/6
[  4]    image         gnome-system-monitor    2.571    2.586   0.37%    6/6
[  5]    image           gnome-terminal-vim    2.074    2.078   0.32%    6/6
[  6]    image               grads-heat-map    0.321    0.323   0.61%    6/6
[  7]    image                         gvim    8.332    8.355   0.12%    6/6
[  8]    image                midori-zoomed    1.470    1.471   0.06%    5/6
[  9]    image                    ocitysmap    0.931    0.933   0.17%    5/6
[ 10]    image                      poppler    1.395    1.399   0.17%    6/6
[ 11]    image           swfdec-giant-steps    1.165    1.170   0.30%    6/6
[ 12]    image               swfdec-youtube    1.804    1.805   0.05%    5/6
[ 13]    image            xfce4-terminal-a1    2.246    2.247   0.06%    5/6

pixman compiled with CFLAGS="-O3 -march=native -mno-avx"

mattst88 at localhost ~/projects/cairo/perf $ CAIRO_TEST_TARGET=image ./cairo-perf-trace ../../cairo-traces/benchmark/*[^a]
[ # ]  backend                         test   min(s) median(s) stddev. count
[ # ]    image: pixman 0.23.1
[  0]    image                    evolution    5.081    5.084   0.03%    6/6
[  1]    image         firefox-planet-gnome    7.893    7.909   0.12%    6/6
[  2]    image            firefox-talos-gfx    5.571    5.585   0.11%    6/6
[  3]    image            firefox-talos-svg   24.080   24.101   0.06%    5/6
[  4]    image         gnome-system-monitor    2.561    2.567   0.14%    6/6
[  5]    image           gnome-terminal-vim    2.098    2.101   0.07%    6/6
[  6]    image               grads-heat-map    0.322    0.323   0.07%    5/6
[  7]    image                         gvim    8.351    8.371   0.09%    6/6
[  8]    image                midori-zoomed    1.464    1.464   0.03%    4/6
[  9]    image                    ocitysmap    0.931    0.932   0.10%    6/6
[ 10]    image                      poppler    1.388    1.392   0.18%    6/6
[ 11]    image           swfdec-giant-steps    1.163    1.166   0.13%    6/6
[ 12]    image               swfdec-youtube    1.770    1.774   0.16%    6/6
[ 13]    image            xfce4-terminal-a1    2.251    2.254   0.07%    6/6

pixman compiled with CFLAGS="-O3 -march=native" --enable-avx

mattst88 at localhost ~/projects/cairo/perf $ CAIRO_TEST_TARGET=image ./cairo-perf-trace ../../cairo-traces/benchmark/*[^a]
[ # ]  backend                         test   min(s) median(s) stddev. count
[ # ]    image: pixman 0.23.1
[  0]    image                    evolution    5.348    5.357   0.08%    6/6
[  1]    image         firefox-planet-gnome    8.847    8.860   0.12%    6/6
[  2]    image            firefox-talos-gfx   10.604   10.632   0.13%    6/6
[  3]    image            firefox-talos-svg   24.458   24.491   0.11%    5/6
[  4]    image         gnome-system-monitor    2.709    2.715   0.11%    6/6
[  5]    image           gnome-terminal-vim    2.594    2.595   0.06%    5/6
[  6]    image               grads-heat-map    0.340    0.342   0.48%    6/6
[  7]    image                         gvim    8.516    8.531   0.09%    6/6
[  8]    image                midori-zoomed    1.524    1.529   0.18%    6/6
[  9]    image                    ocitysmap    0.987    0.989   0.10%    6/6
[ 10]    image                      poppler    1.555    1.564   0.29%    6/6
[ 11]    image           swfdec-giant-steps    1.171    1.172   0.17%    6/6
[ 12]    image               swfdec-youtube    1.777    1.783   0.15%    6/6
[ 13]    image            xfce4-terminal-a1    2.484    2.489   0.07%    6/6


More information about the Pixman mailing list