[cairo] [PATCH] speed up fbOver

Jeff Muizelaar jeff at infidigm.net
Thu Jul 17 11:20:49 PDT 2008


On Fri, Jul 18, 2008 at 02:32:31AM +0900, Hung Nguyen Vu wrote:
> On Fri, Jul 18, 2008 at 2:13 AM, Jeff Muizelaar <jeff at infidigm.net> wrote:
> 
> > > pixman:
> > > cd /home/vuhung/usr/src/pixman-0.11.2
> > > ./configure --prefix=$HOME
> >
> > You need ./configure --prefix=$HOME --disable-mmx --disable-sse2. The
> > mmx and sse2 code will override the c version that my patch changes.
> 
> The result didn't change:
> 
> new configure
> pixman:
> cd /home/vuhung/usr/src/pixman-0.11.2
> ./configure --prefix=$HOME --disable-mmx --disable-sse2
> make; make install
> 
> gcc `pkg-config --libs --cflags pixman-1` pixman-fbOver-bench.c
> export LD_LIBRARY_PATH=~/lib
> ./a.out
> 
> old: mean: 214759.500000 stddev: 1422.596052
> new: mean: 212077.850000 stddev: 6887.806918

I'm not sure why you're seeing that. Can you verify that code being run
is different? i.e. look at the assembly ater patching while running under
gdb.

-Jeff


More information about the cairo mailing list