[Pixman] [PATCH] sse2: Using MMX and SSE 4.1

Matt Turner mattst88 at gmail.com
Mon Jun 25 09:45:45 PDT 2012


On Mon, Jun 25, 2012 at 1:00 AM, Siarhei Siamashka
<siarhei.siamashka at gmail.com> wrote:
> On Mon, Jun 18, 2012 at 9:09 PM, Søren Sandmann <sandmann at cs.au.dk> wrote:
>> Siarhei Siamashka <siarhei.siamashka at gmail.com> writes:
>>
>>> This is also a very useful test, but it effectively requires to have
>>> an alternative double precision implementation for all the pixman
>>> functionality to be verified. For bilinear scaling it means that at
>>> least various types of repeats need to be handled, etc. And this
>>> sounds like a lot of work.
>>
>> Yeah, I agree that it's a lot of work and that dropping to 7 bits is
>> easier in the short term.
>
> OK, I got 7-bit variant of SSE2 bilinear scaling working. It shows
> quite a good speed boost thanks to PMADDWD instruction, which can be
> used now.

Looking forward to seeing the patch. I'll be really interested to
compare performance on Loongson and iwMMXt when I can switch the
scaling functions over to multiply-add.


More information about the Pixman mailing list