[cairo] [PATCH] speed up fbOver

Jeff Muizelaar jeff at infidigm.net
Wed Jul 16 21:11:39 PDT 2008

On Wed, Jul 16, 2008 at 04:58:34PM -0400, Jeff Muizelaar wrote:
> On Wed, Jul 16, 2008 at 10:11:24PM +0200, Soeren Sandmann wrote:
> > Jeff Muizelaar <jeff at infidigm.net> writes:
> > 
> > > The attached patch nearly doubles the speed of fbCompositeSrc_8888x8888
> > > on my core duo 2 with gcc 4.0.1.
> > 
> > The patch looks correct to me, but I'd like to know how you measured
> > the speedup, and what the gain was from inlining.

In regards to your comment on IRC about copying FbByteMulAdd. There was
no great reason. I was looking at doing an ARM assembler version and
wanted a more documented version of FbByteMulAdd to work with. Since I
had the a documented version I figured it would be nice to include that
in the tree. This was a low impact way to do that. However, I'm not that
attached to either way and I'll change it if you'd prefer the use
of the FbByteMulAdd macro.


More information about the cairo mailing list