Closed
Bug 451621
Opened 17 years ago
Closed 17 years ago
Pixman optimizations for arm
Categories
(Core :: Graphics, defect, P2)
Tracking
()
RESOLVED
FIXED
mozilla1.9.1b1
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
Details
(Keywords: mobile, perf)
Attachments
(2 files, 6 obsolete files)
|
2.43 KB,
patch
|
Details | Diff | Splinter Review | |
|
18.18 KB,
patch
|
Details | Diff | Splinter Review |
Make a pixman faster on arm. Also adds a faster rectilinear nearest neighbour image scaling.
| Assignee | ||
Comment 1•17 years ago
|
||
Detect if the compiler supports ARM simd instructions
Attachment #334945 -
Attachment is obsolete: true
Updated•17 years ago
|
Updated•17 years ago
|
Assignee: nobody → jmuizelaar
Flags: wanted1.9.1?
Comment 2•17 years ago
|
||
+ * Copyright © 208 Mozilla Corporation
that was a long time ago
It's well-aged!
Flags: wanted1.9.1? → wanted1.9.1+
Priority: -- → P2
| Assignee | ||
Comment 4•17 years ago
|
||
Update pixman patch to match what was submitted for upstream inclusion
Attachment #334966 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•17 years ago
|
||
Fix the configury by adding HAVE_ARM_SIMD to autoconf.mk.in
Attachment #336679 -
Attachment is obsolete: true
| Assignee | ||
Comment 6•17 years ago
|
||
use one fewer registers in fbCompositeSolidMask_nx8x8888arm allowing compiling with worser compilers.
Attachment #336912 -
Attachment is obsolete: true
| Assignee | ||
Comment 7•17 years ago
|
||
The last patch was broken and wrong, this patch fixes it.
Attachment #336920 -
Attachment is obsolete: true
Additional patch -- not ARM specific, but it's related to our arm work. Just sticking it here so that it's in bugzilla, both of these should hopefully end up in pixman upstream shortly. I will probably commit these both to our own repo before that happens, though, since I think we're waiting on 0.12.0 to be released before putting in the arm code.
Comment 9•17 years ago
|
||
Hi,
A colleague of mine had a brief look at Jeff's patch and has a few comments:
1. In the first while() loop of fbCompositeSrcAdd_8000x8000arm you can use UQADD8, it doesn't matter that you just want the bottom lane. Similarly in the third loop.
2. There are many AND operations with %[component_mask] to extract bytes. These can be replaced by UXTB16, saving the mask register.
3. There are mask operations with %[component_mask] followed by accumulates.
These can be replaced by the combined mask and accumulate UXTAB16.
Hope that helps.
| Assignee | ||
Comment 10•17 years ago
|
||
This version addresses Guillaume's comments (Thanks!) and squeezes some more performance out. e.g. over8888x8888 is about 10-11% faster.
Attachment #336971 -
Attachment is obsolete: true
Pulled this in along with a few more pixman updates to 0.12.0.
19351 5d807b616378 2008-09-17 14:15 -0700 vladimir
b=451621; push new pixman with arm fast-paths; r=me
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Blocks: C191ConfSync
Updated•15 years ago
|
Target Milestone: --- → mozilla1.9.1b1
You need to log in
before you can comment on or make changes to this bug.
Description
•