On Monday 15 March 2010, Alexander Larsson wrote: > On Mon, 2010-03-15 at 17:05 +0200, Siarhei Siamashka wrote: > > Really good performance improvements for bilinear scaling are going to > > come > > from SIMD optimizations. To make it happen, scaler core needs to be > > isolated > > into a small simple function with a minimal number of checks and > > branches. > > http://cgit.freedesktop.org/~alexl/pixman/commit/?h=fast-bilinear&id=a79daa >8453560b4193b848e51b4942dcdcd74c8d > > The "/* Main columns: */" part there is probably a good start for that.
Yes, I know :) Just a switch on different repeat cases needs to be eliminated and it should become quite easy to vectorize. Removal of this switch may also improve performance of generic C code a bit more. -- Best regards, Siarhei Siamashka _______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
