Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(105)

Issue 6449117: arm: dynamic NEON support for SkBitmapProcState functions. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 11 months ago by digit1
Modified:
11 years, 10 months ago
Reviewers:
DerekS, caryclark1, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

arm: dynamic NEON support for SkBitmapProcState functions. This patch does the following: - Move the NEON-specific code from src/core/SkBitmapProcState_filter.h to src/opts/SkBitmapProcState_filter_neon.h - Implement the NEON-specific functions in the new source file src/opts/SkBitmapProcState_opts_arm_neon.cpp, added to the "opts_neon" static library target. All functions now use the _neon suffix, even in full-NEON builds. - Move most of the content of src/core/SkBitmapProcState.cpp to a new header: src/core/SkBitmapProcState_procs.h This header is included by two source files: src/core/SkBitmapProcState.cpp, to define the regular functions. src/opts/SkBitmapProcState_opts_arm_neon.cpp to define NEON ones. This is to deal with the fact that all NEON functions now use the _neon suffix, even in SK_ARM_NEON_IS_ALWAYS mode, and to be able to include the same header twice in the SK_ARM_NEON_IS_DYNAMIC case. Committed: https://code.google.com/p/skia/source/detail?r=5055

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -839 lines) Patch
M gyp/opts.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBitmapProcState.cpp View 1 2 4 chunks +28 lines, -335 lines 0 comments Download
D src/core/SkBitmapProcState_filter.h View 1 2 3 chunks +7 lines, -82 lines 0 comments Download
A + src/core/SkBitmapProcState_procs.h View 1 2 17 chunks +29 lines, -345 lines 0 comments Download
M src/core/SkBitmapProcState_shaderproc.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
A src/opts/SkBitmapProcState_arm_neon.cpp View 1 chunk +92 lines, -0 lines 0 comments Download
A + src/opts/SkBitmapProcState_filter_neon.h View 1 2 4 chunks +7 lines, -75 lines 0 comments Download

Messages

Total messages: 6
digit1
For the record, this is the final patch that moves all NEON-related code into the ...
11 years, 11 months ago (2012-08-08 22:33:03 UTC) #1
reed1
What are the bench runs before and after this change?
11 years, 11 months ago (2012-08-09 12:24:37 UTC) #2
DerekS
lgtm. On a side note I have a couple of patches from NVidia that were ...
11 years, 11 months ago (2012-08-10 12:11:12 UTC) #3
digit1
To answer Mike's question, I've run a few benchmarks. Results available at https://docs.google.com/a/chromium.org/spreadsheet/ccc?key=0Arp73PHrzcIQdGJtVEVLQmhnQTlHRFh1SFBiY3Z5d3c#gid=0 For the ...
11 years, 10 months ago (2012-08-13 14:03:53 UTC) #4
reed1
On 2012/08/13 14:03:53, digit1 wrote: > To answer Mike's question, I've run a few benchmarks. ...
11 years, 10 months ago (2012-08-13 14:55:05 UTC) #5
reed1
11 years, 10 months ago (2012-08-13 14:56:27 UTC) #6
On 2012/08/13 14:55:05, reed1 wrote:
> On 2012/08/13 14:03:53, digit1 wrote:
> > To answer Mike's question, I've run a few benchmarks. Results available at
> >
>
https://docs.google.com/a/chromium.org/spreadsheet/ccc?key=0Arp73PHrzcIQdGJtV...
> > 
> > For the record, there seems to be a lot of variance in some of the test
> results,
> > not sure if this is due to background processes on the device or something
> else.
> > In all cases, the patch doesn't seem to regress performance though.
> 
> -repeat 5 is almost certainly too small a value (because of variance). We
> typically run with repeats of 10-50x that value.

The Xoom results have their fair-share of performance loss.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b