[cairo] [PATCH] Added MIPS32R2 and MIPS DSP ASE optimized functions

Siarhei Siamashka siarhei.siamashka at gmail.com
Mon Sep 20 06:12:12 PDT 2010


On Thursday 09 September 2010 18:30:28 Georgi Beloev wrote:
> From 118b1f5596f72be7fed85ba408ff2961b3308038 Mon Sep 17 00:00:00 2001
> From: Georgi Beloev <gb at beloev.net>
> Date: Wed, 8 Sep 2010 17:34:22 -0700
> Subject: [PATCH] Added MIPS32R2 and MIPS DSP ASE optimized functions.
> 
> The following functions were implemented for MIPS32R2:
>   - pixman_fill32()
>   - fast_composite_over_n_8_8888()
> 
> The following functions were implemented for MIPS DSP ASE:
>   - combine_over_u()
>   - fast_composite_over_n_8_8888()
> 
> Additionally, MIPS DSP ASE uses the MIPS32R2 pixman_fill32() function.
> 
> Use configure commands similar to the ones below to select the target
> processor and, correspondingly, the target instruction set:
> 
>   - MIPS32R2: configure CFLAGS='-march=24kc -O2'
>   - MIPS DSP ASE: configure CFLAGS='-march=24kec -O2'

One more thing. What kind of MIPS ABI does this code use?
The following wiki page suggests that there are many ABI variants:
http://www.linux-mips.org/wiki/MIPSABIHistory

If you are using o32 ABI in your code, then it probably also makes sense to
check for _ABIO32 define? Or somehow make sure that pixman will not misbehave
if used with some other ABI.

-- 
Best regards,
Siarhei Siamashka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cairographics.org/archives/cairo/attachments/20100920/27724c4f/attachment.pgp>


More information about the cairo mailing list