Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(102)

Issue 366593004: Add SSE4 version of BlurImage optimizations. (Closed)

Created:
6 years, 5 months ago by henrik.smiding
Modified:
6 years, 5 months ago
Reviewers:
mtklein, reed2
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add SSE4 version of BlurImage optimizations. Adds an SSE4.1 version of the existing BlurImage optimizations. Performance of blur_image_filter_* benchmarks show a 10-50% improvement on Linux/Ubuntu Core i7. Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: https://skia.googlesource.com/skia/+/2830632ce93c97ed7647b13348365ea92e4ea665 Committed: https://skia.googlesource.com/skia/+/5f7f9d04dc3a2d2c3ef9d8f1703d8e13c2d15c6e

Patch Set 1 #

Patch Set 2 : Test if Mac has the wrong flags #

Patch Set 3 : Trying to fix build conditions for Mac #

Patch Set 4 : Trying to remove mac's SSSE3 flag #

Patch Set 5 : Trying to set mac-flags to sse4 #

Total comments: 4

Patch Set 6 : Fix for SSE4 build on Mac V4 #

Patch Set 7 : Final version #

Patch Set 8 : I have to stop optimizing gyp files... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -40 lines) Patch
M gyp/opts.gyp View 1 2 3 4 5 6 7 1 chunk +25 lines, -8 lines 0 comments Download
M src/opts/SkBlurImage_opts_SSE2.cpp View 1 chunk +2 lines, -6 lines 0 comments Download
A + src/opts/SkBlurImage_opts_SSE4.h View 1 chunk +4 lines, -4 lines 0 comments Download
A + src/opts/SkBlurImage_opts_SSE4.cpp View 4 chunks +30 lines, -19 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 2 2 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
henrik.smiding
Running into a problem when adding SSE4.x intrinsics. Same problem as the previous attempts. Mac ...
6 years, 5 months ago (2014-07-01 14:54:22 UTC) #1
mtklein
Other than the GYP and building on Mac, this LGTM. https://codereview.chromium.org/366593004/diff/80001/gyp/opts.gyp File gyp/opts.gyp (right): https://codereview.chromium.org/366593004/diff/80001/gyp/opts.gyp#newcode220 ...
6 years, 5 months ago (2014-07-01 16:41:20 UTC) #2
henrik.smiding
https://codereview.chromium.org/366593004/diff/80001/gyp/opts.gyp File gyp/opts.gyp (right): https://codereview.chromium.org/366593004/diff/80001/gyp/opts.gyp#newcode220 gyp/opts.gyp:220: 'OTHER_CPLUSPLUSFLAGS': [ On 2014/07/01 16:41:20, mtklein wrote: > I ...
6 years, 5 months ago (2014-07-02 12:55:14 UTC) #3
henrik.smiding
Seems to work fine now. Do you want to do a final check before i ...
6 years, 5 months ago (2014-07-03 11:14:42 UTC) #4
henrik.smiding
The CQ bit was checked by henrik.smiding@intel.com
6 years, 5 months ago (2014-07-04 11:10:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/366593004/130006
6 years, 5 months ago (2014-07-04 11:11:12 UTC) #6
commit-bot: I haz the power
Change committed as 2830632ce93c97ed7647b13348365ea92e4ea665
6 years, 5 months ago (2014-07-04 11:23:22 UTC) #7
reed2
A revert of this CL has been created in https://codereview.chromium.org/375503003/ by reed@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-07 01:50:24 UTC) #8
henrik.smiding
On 2014/07/07 01:50:24, reed2 wrote: > A revert of this CL has been created in ...
6 years, 5 months ago (2014-07-07 11:09:37 UTC) #9
mtklein
On 2014/07/07 11:09:37, henrik.smiding wrote: > On 2014/07/07 01:50:24, reed2 wrote: > > A revert ...
6 years, 5 months ago (2014-07-07 14:38:27 UTC) #10
mtklein
On 2014/07/07 14:38:27, mtklein wrote: > On 2014/07/07 11:09:37, henrik.smiding wrote: > > On 2014/07/07 ...
6 years, 5 months ago (2014-07-07 15:04:27 UTC) #11
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 5 months ago (2014-07-07 15:04:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/366593004/130006
6 years, 5 months ago (2014-07-07 15:05:34 UTC) #13
commit-bot: I haz the power
Change committed as 5f7f9d04dc3a2d2c3ef9d8f1703d8e13c2d15c6e
6 years, 5 months ago (2014-07-07 15:05:44 UTC) #14
henrik.smiding
6 years, 5 months ago (2014-07-08 08:13:42 UTC) #15
Message was sent while issue was closed.
On 2014/07/07 15:05:44, I haz the power (commit-bot) wrote:
> Change committed as 5f7f9d04dc3a2d2c3ef9d8f1703d8e13c2d15c6e

Thanks!

Powered by Google App Engine
This is Rietveld 408576698