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

Issue 317193003: ARM Skia NEON patches - 39 - arm64 565 blitters (Closed)

Created:
6 years, 6 months ago by kevin.petit
Modified:
6 years, 6 months ago
Reviewers:
djsollen, mtklein
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

ARM Skia NEON patches - 39 - arm64 565 blitters This enables all 565 blitters except S32A_D565_Opaque. Here are some performance results: S32_D565_Opaque: ================ +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -18.37% | -13.04% | +-------+------------+------------+ | 2 | -9.90% | -13.78% | +-------+------------+------------+ | 4 | -8.28% | -6.77% | +-------+------------+------------+ | 8 | 157.63% | 78.15% | +-------+------------+------------+ | 16 | 72.67% | 44.81% | +-------+------------+------------+ | 64 | 76.78% | 40.89% | +-------+------------+------------+ | 256 | 73.85% | 36.05% | +-------+------------+------------+ | 1024 | 75.73% | 36.70% | +-------+------------+------------+ S32_D565_Blend: =============== +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -9.99% | -13.79% | +-------+------------+------------+ | 2 | -9.17% | -6.74% | +-------+------------+------------+ | 4 | -6.73% | -4.42% | +-------+------------+------------+ | 8 | 163.31% | 112.82% | +-------+------------+------------+ | 16 | 55.21% | 44.68% | +-------+------------+------------+ | 64 | 54.09% | 41.99% | +-------+------------+------------+ | 256 | 52.63% | 40.64% | +-------+------------+------------+ | 1024 | 52.46% | 40.45% | +-------+------------+------------+ S32A_D565_Blend: ================ +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -5.88% | -6.06% | +-------+------------+------------+ | 2 | -4.74% | -0.01% | +-------+------------+------------+ | 4 | -5.42% | -3.03% | +-------+------------+------------+ | 8 | 78.78% | 77.96% | +-------+------------+------------+ | 16 | 98.19% | 79.61% | +-------+------------+------------+ | 64 | 111.56% | 72.60% | +-------+------------+------------+ | 256 | 113.80% | 69.96% | +-------+------------+------------+ | 1024 | 114.42% | 70.85% | +-------+------------+------------+ S32_D565_Opaque_Dither: ======================= +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -4.18% | -0.93% | +-------+------------+------------+ | 2 | -2.43% | -2.04% | +-------+------------+------------+ | 4 | -1.09% | -1.23% | +-------+------------+------------+ | 8 | 184.89% | 136.53% | +-------+------------+------------+ | 16 | 128.64% | 89.11% | +-------+------------+------------+ | 64 | 132.68% | 100.98% | +-------+------------+------------+ | 256 | 157.02% | 100.86% | +-------+------------+------------+ | 1024 | 163.85% | 103.62% | +-------+------------+------------+ S32_D565_Blend_Dither: ====================== +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -4.87% | 0.01% | +-------+------------+------------+ | 2 | -2.71% | 2.97% | +-------+------------+------------+ | 4 | -2.20% | 0.28% | +-------+------------+------------+ | 8 | 149.76% | 146.80% | +-------+------------+------------+ | 16 | 85.69% | 95.77% | +-------+------------+------------+ | 64 | 88.81% | 101.39% | +-------+------------+------------+ | 256 | 97.32% | 107.22% | +-------+------------+------------+ | 1024 | 98.08% | 115.71% | +-------+------------+------------+ S32A_D565_Opaque_Dither: ======================== +-------+------------+------------+ | count | Cortex-A53 | Cortex-A57 | +-------+------------+------------+ | 1 | -1.86% | 0.02% | +-------+------------+------------+ | 2 | -0.58% | -1.52% | +-------+------------+------------+ | 4 | -0.75% | 1.16% | +-------+------------+------------+ | 8 | 240.74% | 155.16% | +-------+------------+------------+ | 16 | 181.97% | 132.15% | +-------+------------+------------+ | 64 | 203.11% | 136.48% | +-------+------------+------------+ | 256 | 223.45% | 133.05% | +-------+------------+------------+ | 1024 | 225.96% | 134.05% | +-------+------------+------------+ Signed-off-by: Kévin PETIT <kevin.petit@arm.com>; BUG=skia: Committed: https://skia.googlesource.com/skia/+/ea6b46b6c06fd9e03b98f01b274733de1eeae89d

Patch Set 1 #

Patch Set 2 : ignored-tests.txt #

Total comments: 2

Patch Set 3 : Review comments / small perf improvement #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -44 lines) Patch
M expectations/gm/ignored-tests.txt View 1 1 chunk +5 lines, -0 lines 0 comments Download
M src/opts/SkBlitRow_opts_arm_neon.cpp View 1 2 22 chunks +117 lines, -44 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
kevin.petit
This enables most 565 blitters on arm64. The mismatches are due only to S32A_D565_Blend which ...
6 years, 6 months ago (2014-06-05 16:18:33 UTC) #1
mtklein
https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp File src/opts/SkBlitRow_opts_arm_neon.cpp (right): https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp#newcode33 src/opts/SkBlitRow_opts_arm_neon.cpp:33: "ld4 {v0.8b - v3.8b}, [%[src]] \t\n" Looks like we've ...
6 years, 6 months ago (2014-06-05 16:28:35 UTC) #2
kevin.petit
https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp File src/opts/SkBlitRow_opts_arm_neon.cpp (right): https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp#newcode33 src/opts/SkBlitRow_opts_arm_neon.cpp:33: "ld4 {v0.8b - v3.8b}, [%[src]] \t\n" On 2014/06/05 16:28:36, ...
6 years, 6 months ago (2014-06-05 17:00:02 UTC) #3
kevin.petit
On 2014/06/05 17:00:02, kevin.petit wrote: > https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp > File src/opts/SkBlitRow_opts_arm_neon.cpp (right): > > https://codereview.chromium.org/317193003/diff/10001/src/opts/SkBlitRow_opts_arm_neon.cpp#newcode33 > ...
6 years, 6 months ago (2014-06-06 14:31:11 UTC) #4
mtklein
lgtm https://codereview.chromium.org/317193003/diff/20001/src/opts/SkBlitRow_opts_arm_neon.cpp File src/opts/SkBlitRow_opts_arm_neon.cpp (right): https://codereview.chromium.org/317193003/diff/20001/src/opts/SkBlitRow_opts_arm_neon.cpp#newcode405 src/opts/SkBlitRow_opts_arm_neon.cpp:405: #if (__GNUC__ > 4) || ((__GNUC__ == 4) ...
6 years, 6 months ago (2014-06-06 14:41:17 UTC) #5
kevin.petit
On 2014/06/06 14:41:17, mtklein wrote: > lgtm > > https://codereview.chromium.org/317193003/diff/20001/src/opts/SkBlitRow_opts_arm_neon.cpp > File src/opts/SkBlitRow_opts_arm_neon.cpp (right): > ...
6 years, 6 months ago (2014-06-06 15:20:42 UTC) #6
kevin.petit
The CQ bit was checked by kevin.petit@arm.com
6 years, 6 months ago (2014-06-06 15:20:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/kevin.petit@arm.com/317193003/20001
6 years, 6 months ago (2014-06-06 15:21:55 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 15:45:42 UTC) #9
Message was sent while issue was closed.
Change committed as ea6b46b6c06fd9e03b98f01b274733de1eeae89d

Powered by Google App Engine
This is Rietveld 408576698