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/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 @@
---
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 |
---
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
---
configure.ac |8 ++--
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8a3b622..8764f7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -719,25 +719,21 @@ dnl Check if assembler is gas compatible and supports
MIPS DSPr2 instructions
---
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/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
---
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[] =
{
This patch add mechanism which allows optimizations to be run only
on 32-bit platforms.
---
pixman/pixman-mips.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/pixman/pixman-mips.c b/pixman/pixman-mips.c
index 221da24..8825621 100644
--- a/pixman/pixman-mips.c
+++
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
10 matches
Mail list logo