[cairo] [PATCH] speed up fbOver

Jeff Muizelaar jeff at infidigm.net
Thu Jul 17 10:13:55 PDT 2008


On Fri, Jul 18, 2008 at 02:10:44AM +0900, Hung Nguyen Vu wrote:
> On Thu, Jul 17, 2008 at 5:58 AM, Jeff Muizelaar <jeff at infidigm.net> wrote:
> 
> > I used the attached program with the following results:
> >
> > ==> new <==
> > mean: 119198.400000 stddev: 686.753415
> >
> > ==> new-noinline <==
> > mean: 167497.650000 stddev: 1189.305780
> >
> > ==> old <==
> > mean: 245697.300000 stddev: 1011.173529
> >
> > Hi Jeff,
> 
> I've tested your patch with gcc 4.1.2 on Pentium IV 3.0( Cent OS 5.0),
> and I didn't get expected speedup.
> 
> Why?
> 
> 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.

-Jeff


More information about the cairo mailing list