[cairo] [RFC] altivec optimization

Luca Barbato lu_zero at gentoo.org
Wed Jan 24 06:20:13 PST 2007

I'm writing optimizations for altivec, basically processing 4 pixels at
time, the problem is that I have to call back the scalar version to
finish the processing in case the width isn't multiple of 4.

Which is the best course of action? straight copy the scalar code inside
 the vector functions or call the scalar function passing the remaining

I'll try to provide a working patch soon, for now the source is just a
testcase that compares scalar and vector function outputs.



More information about the cairo mailing list