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

Issue 773753002: Add SSSE3 acceleration for S32_D16_filter_DXDY (Closed)

Created:
6 years ago by qiankun
Modified:
6 years ago
Reviewers:
borenet, mtklein, qiankun1, reed1
CC:
reviews_skia.org, jcgregorio
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Add SSSE3 acceleration for S32_D16_filter_DXDY With this CL, related nanobench can be improved for 565 config. bitmap_BGRA_8888_scale_rotate_bilerp 115us -> 70.5us 0.61x bitmap_BGRA_8888_update_volatile_scale_rotate_bilerp 115us -> 70.5us 0.61x bitmap_BGRA_8888_update_scale_rotate_bilerp 112us -> 68us 0.6x BUG=skia: Committed: https://skia.googlesource.com/skia/+/45a05780867a06b9f8a8d5240cf6c5d5a2c15a35 Committed: https://skia.googlesource.com/skia/+/60f3c657cc0235650b630be78105fc47d37385e7

Patch Set 1 #

Total comments: 6

Patch Set 2 : use array on stack and check for ssse3 support #

Total comments: 1

Patch Set 3 : use "bool ssse3" for if #

Patch Set 4 : fix build failure without SSSE3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -12 lines) Patch
M src/core/SkBitmapProcState.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/opts/SkBitmapProcState_opts_SSSE3.h View 1 chunk +4 lines, -0 lines 0 comments Download
M src/opts/SkBitmapProcState_opts_SSSE3.cpp View 1 2 3 3 chunks +26 lines, -8 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 2 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
qiankun
PTAL. https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp File src/opts/SkBitmapProcState_opts_SSSE3.cpp (right): https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp#newcode738 src/opts/SkBitmapProcState_opts_SSSE3.cpp:738: SkAutoTMalloc<uint32_t> colors32(count); If "uint32_t colors32[128];" used here, it's ...
6 years ago (2014-12-02 10:51:41 UTC) #1
qiankun
PTAL
6 years ago (2014-12-02 10:52:45 UTC) #3
mtklein
https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp File src/opts/SkBitmapProcState_opts_SSSE3.cpp (right): https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp#newcode738 src/opts/SkBitmapProcState_opts_SSSE3.cpp:738: SkAutoTMalloc<uint32_t> colors32(count); On 2014/12/02 10:51:41, qiankun wrote: > If ...
6 years ago (2014-12-02 15:19:05 UTC) #4
qiankun1
Thanks for comments. https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp File src/opts/SkBitmapProcState_opts_SSSE3.cpp (right): https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp#newcode738 src/opts/SkBitmapProcState_opts_SSSE3.cpp:738: SkAutoTMalloc<uint32_t> colors32(count); On 2014/12/02 15:19:05, mtklein ...
6 years ago (2014-12-02 15:58:43 UTC) #6
mtklein
lgtm https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp File src/opts/SkBitmapProcState_opts_SSSE3.cpp (right): https://codereview.chromium.org/773753002/diff/1/src/opts/SkBitmapProcState_opts_SSSE3.cpp#newcode738 src/opts/SkBitmapProcState_opts_SSSE3.cpp:738: SkAutoTMalloc<uint32_t> colors32(count); On 2014/12/02 15:58:43, qiankun1 wrote: > ...
6 years ago (2014-12-02 16:52:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773753002/40001
6 years ago (2014-12-03 02:16:12 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/45a05780867a06b9f8a8d5240cf6c5d5a2c15a35
6 years ago (2014-12-03 02:26:14 UTC) #10
jam
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/761103003/ by jam@chromium.org. ...
6 years ago (2014-12-03 23:19:01 UTC) #11
qiankun
On 2014/12/03 23:19:01, jam wrote: > A revert of this CL (patchset #3 id:40001) has ...
6 years ago (2014-12-04 02:03:59 UTC) #12
reed1
The skia build-bots didn't catch this I presume .. can we change that?
6 years ago (2014-12-04 13:48:08 UTC) #14
mtklein
On 2014/12/04 13:48:08, reed1 wrote: > The skia build-bots didn't catch this I presume .. ...
6 years ago (2014-12-04 14:15:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773753002/60001
6 years ago (2014-12-04 14:17:38 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/1323)
6 years ago (2014-12-04 14:20:54 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/773753002/60001
6 years ago (2014-12-04 14:23:46 UTC) #21
borenet
On 2014/12/04 14:20:54, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years ago (2014-12-04 14:23:56 UTC) #22
commit-bot: I haz the power
6 years ago (2014-12-04 14:27:08 UTC) #23
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/60f3c657cc0235650b630be78105fc47d37385e7

Powered by Google App Engine
This is Rietveld 408576698