[Pixman] [PATCH 04/11] MIPS: dspr2: runtime detection extended

2014-03-13 Thread Nemanja Lukic
--- pixman/pixman-mips.c | 83 ++ 1 files changed, 63 insertions(+), 20 deletions(-) diff --git a/pixman/pixman-mips.c b/pixman/pixman-mips.c index 3048813..93fda99 100644 --- a/pixman/pixman-mips.c +++ b/pixman/pixman-mips.c @@ -24,14 +24,27 @@

[Pixman] [PATCH 01/11] MIPS: update author's e-mail address

2014-03-13 Thread Nemanja Lukic
--- pixman/pixman-mips-dspr2-asm.S |2 +- pixman/pixman-mips-dspr2-asm.h |2 +- pixman/pixman-mips-dspr2.c |2 +- pixman/pixman-mips-dspr2.h |2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pixman/pixman-mips-dspr2-asm.S

[Pixman] [PATCH 05/11] MIPS: mips32r2: empty implementation with runtime detection

2014-03-13 Thread Nemanja Lukic
--- configure.ac| 39 + pixman/Makefile.am | 20 +-- pixman/pixman-mips-common-asm.h | 35 ++ pixman/pixman-mips-common.h | 35 ++ pixman/pixman-mips-dspr2-asm.S |

[Pixman] [PATCH 11/11] MIPS: enable prefetch for store only for CPU with 32 byte cache line

2014-03-13 Thread Nemanja Lukic
--- pixman/pixman-mips-common.h| 31 +-- pixman/pixman-mips-dspr1-asm.S | 59 +- pixman/pixman-mips-dspr1.c | 15 -- pixman/pixman-mips-dspr2.c |6 +-- pixman/pixman-mips.c | 34 - pixman/pixman-mips32r2-asm.S | 110

[Pixman] [PATCH 03/11] test: add src_0888_0888 to lowlevel-blt-bench

2014-03-13 Thread Nemanja Lukic
--- test/lowlevel-blt-bench.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/test/lowlevel-blt-bench.c b/test/lowlevel-blt-bench.c index 1049e21..c84be65 100644 --- a/test/lowlevel-blt-bench.c +++ b/test/lowlevel-blt-bench.c @@ -716,6 +716,7 @@ tests_tbl[] = {

[Pixman] [PATCH 02/11] MIPS: dspr2: Removed build restrictions and repair compiler's check

2014-03-13 Thread Nemanja Lukic
--- configure.ac |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index 6327972..5229032 100644 --- a/configure.ac +++ b/configure.ac @@ -720,25 +720,21 @@ dnl Check if assembler is gas compatible and supports MIPS DSPr2 instructions

[Pixman] [PATCH 09/11] MIPS: mips32r2: Added optimization for function pixman_fill_buff16

2014-03-13 Thread Nemanja Lukic
Performance numbers before/after on MIPS-24kc @ 500 MHz Referent (before): src_n_0565= L1: 117.24 L2: 110.68 M:115.83 ( 96.31%) HT: 78.96 VT: 75.03 R: 65.98 RT: 24.94 ( 164Kops/s) Optimized (with these optimizations): src_n_0565= L1: 429.43 L2: 299.39 M:346.21

[Pixman] Basic infrastructure for MIPS32r2 and DSPr1 optimizations.

2014-03-13 Thread Nemanja Lukic
Some of the optimizations introduced in previous DSPr2 commits were not DSPr2 specific. Some of the fast-paths didn't used DSPr2 instructions at all, and rather utilized more generic MIPS32r2 instruction set or previous version of DSP instruction set (DSPr1) for optimizations. Since Pixman's

[Pixman] [PATCH 08/11] MIPS: dspr1: Move fast paths implementation from dspr2 to dspr1

2014-03-13 Thread Nemanja Lukic
Some of the optimizations introduced in previous dspr2 commits, similar to previous patch, were not dspr2 specific and utilized dspr1 instructions only. Since Pixman's run-time CPU detection only added dspr2 fast-paths on 74K MIPS cores, these optimizations couldn't be used on cores that don't

[Pixman] [PATCH 07/11] MIPS: dspr1: empty implementation with runtime detection

2014-03-13 Thread Nemanja Lukic
--- configure.ac| 40 + pixman/Makefile.am | 14 +++ pixman/pixman-mips-common-asm.h | 13 +++ pixman/pixman-mips-dspr1-asm.S | 33 +++ pixman/pixman-mips-dspr1-asm.h | 37 pixman/pixman-mips-dspr1.c | 177