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

Issue 1213723002: Optimize RGB16 blitV functions with NEON for ARM platform. (Closed)

Created:
5 years, 6 months ago by yang.zhang
Modified:
5 years, 5 months ago
Reviewers:
mtklein, djsollen, bero, caryclark, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Optimize RGB16 blitV functions with NEON for ARM platform. Here are some performance resultsi on Nexus 9: SkRGB16BlitterBlitV_neon: +--------+-----------+ |height | C/NEON | +--------+-----------+ |1 | 0.765230 | +--------+-----------+ |8 | 1.273330 | +--------+-----------+ |18 | 1.441462 | +--------+-----------+ |32 | 1.627798 | +--------+-----------+ |76 | 1.683131 | +--------+-----------+ |85 | 1.679456 | +--------+-----------+ |120 | 1.721311 | +--------+-----------+ |128 | 1.725482 | +--------+-----------+ |512 | 1.784117 | +--------+-----------+ BUG=skia: Committed: https://skia.googlesource.com/skia/+/dc77b3591841bf1e70ed45455490d688e5d4e6f9

Patch Set 1 #

Total comments: 11

Patch Set 2 : Modify varibles definition #

Patch Set 3 : Add macro define for data load/store #

Total comments: 6

Patch Set 4 : Remove the copyright #

Patch Set 5 : Adding AUTHORS #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -0 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkBlitter_RGB16.cpp View 3 chunks +13 lines, -0 lines 0 comments Download
M src/opts/SkBlitMask_opts_arm_neon.cpp View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (8 generated)
yang.zhang
Hi all I have optimized RGB16 blitV functions with NEON for ARM platform. Could you ...
5 years, 6 months ago (2015-06-26 05:34:30 UTC) #2
reed1
Can we achieve this sort of speed-up using SkNx instead of custom assembly?
5 years, 6 months ago (2015-06-26 13:33:25 UTC) #3
mtklein
https://codereview.chromium.org/1213723002/diff/1/src/opts/SkBlitMask_opts_arm_neon.cpp File src/opts/SkBlitMask_opts_arm_neon.cpp (right): https://codereview.chromium.org/1213723002/diff/1/src/opts/SkBlitMask_opts_arm_neon.cpp#newcode2 src/opts/SkBlitMask_opts_arm_neon.cpp:2: * Copyright 2016 The Android Open Source Project Let's ...
5 years, 6 months ago (2015-06-26 14:05:50 UTC) #4
mtklein
On 2015/06/26 13:33:25, reed1 wrote: > Can we achieve this sort of speed-up using SkNx ...
5 years, 6 months ago (2015-06-26 14:18:38 UTC) #5
yang.zhang
I have updated this patch according to your comments. Please check it. https://codereview.chromium.org/1213723002/diff/1/src/opts/SkBlitMask_opts_arm_neon.cpp File src/opts/SkBlitMask_opts_arm_neon.cpp ...
5 years, 5 months ago (2015-06-29 07:25:57 UTC) #6
mtklein
https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp File src/opts/SkBlitMask_opts_arm_neon.cpp (right): https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp#newcode282 src/opts/SkBlitMask_opts_arm_neon.cpp:282: uint16x8_t vmaskq_g16 = vdupq_n_u16(SK_G16_MASK_IN_PLACE); Oh, I was actually asking ...
5 years, 5 months ago (2015-06-29 17:16:17 UTC) #7
yang.zhang
https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp File src/opts/SkBlitMask_opts_arm_neon.cpp (right): https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp#newcode282 src/opts/SkBlitMask_opts_arm_neon.cpp:282: uint16x8_t vmaskq_g16 = vdupq_n_u16(SK_G16_MASK_IN_PLACE); On 2015/06/29 17:16:17, mtklein wrote: ...
5 years, 5 months ago (2015-06-30 04:51:53 UTC) #8
mtklein
lgtm https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp File src/opts/SkBlitMask_opts_arm_neon.cpp (right): https://codereview.chromium.org/1213723002/diff/40001/src/opts/SkBlitMask_opts_arm_neon.cpp#newcode282 src/opts/SkBlitMask_opts_arm_neon.cpp:282: uint16x8_t vmaskq_g16 = vdupq_n_u16(SK_G16_MASK_IN_PLACE); On 2015/06/30 04:51:53, yang.zhang ...
5 years, 5 months ago (2015-06-30 12:42:56 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213723002/40001
5 years, 5 months ago (2015-06-30 12:43:09 UTC) #11
commit-bot: I haz the power
The author yang.zhang@linaro.org has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 5 months ago (2015-06-30 12:43:11 UTC) #12
commit-bot: I haz the power
Exceeded global retry quota
5 years, 5 months ago (2015-06-30 12:43:52 UTC) #14
mtklein
On 2015/06/30 12:43:52, commit-bot: I haz the power wrote: > Exceeded global retry quota Hmm, ...
5 years, 5 months ago (2015-06-30 12:46:10 UTC) #15
yang.zhang
On 2015/06/30 12:46:10, mtklein wrote: > On 2015/06/30 12:43:52, commit-bot: I haz the power wrote: ...
5 years, 5 months ago (2015-07-01 07:17:10 UTC) #16
yang.zhang
On 2015/06/30 12:43:11, commit-bot: I haz the power wrote: > The author mailto:yang.zhang@linaro.org has not ...
5 years, 5 months ago (2015-07-01 10:26:17 UTC) #17
reed1
I think you need to rebase locally, and then re-upload. Sk BlitMask_opts_arm_neon.cpp already has a ...
5 years, 5 months ago (2015-07-01 13:12:27 UTC) #18
yang.zhang
On 2015/07/01 13:12:27, reed1 wrote: > I think you need to rebase locally, and then ...
5 years, 5 months ago (2015-07-02 07:14:17 UTC) #19
yang.zhang
Hi all Currently, I'm already in the list of AOSP CLA. Is it OK?
5 years, 5 months ago (2015-07-06 08:57:59 UTC) #20
mtklein
On 2015/07/06 08:57:59, yang.zhang wrote: > Hi all > > Currently, I'm already in the ...
5 years, 5 months ago (2015-07-06 14:22:55 UTC) #21
yang.zhang
On 2015/07/06 14:22:55, mtklein wrote: > On 2015/07/06 08:57:59, yang.zhang wrote: > > Hi all ...
5 years, 5 months ago (2015-07-14 07:10:58 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213723002/60001
5 years, 5 months ago (2015-07-14 11:53:07 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/1083)
5 years, 5 months ago (2015-07-14 11:54:29 UTC) #27
mtklein
On 2015/07/14 11:54:29, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 5 months ago (2015-07-14 11:55:44 UTC) #28
yang.zhang
On 2015/07/14 11:55:44, mtklein wrote: > On 2015/07/14 11:54:29, commit-bot: I haz the power wrote: ...
5 years, 5 months ago (2015-07-15 07:13:03 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1213723002/80001
5 years, 5 months ago (2015-07-15 13:46:25 UTC) #32
commit-bot: I haz the power
5 years, 5 months ago (2015-07-15 14:07:34 UTC) #33
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://skia.googlesource.com/skia/+/dc77b3591841bf1e70ed45455490d688e5d4e6f9

Powered by Google App Engine
This is Rietveld 408576698