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

Issue 1075003002: Replace NEON assembly memset16 and memset32 with intrinsic versions. (Closed)

Created:
5 years, 8 months ago by mtklein_C
Modified:
5 years, 8 months ago
Reviewers:
msarett, mtklein, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Replace NEON assembly memset16 and memset32 with intrinsic versions. According to bench/MemsetBench.cpp, I've got them somewhere between 10% slower and a percent or two faster than the old assembly. BUG=skia: CQ_EXTRA_TRYBOTS=client.skia.android:Test-Android-GCC-Nexus5-CPU-NEON-Arm7-Debug-Trybot Committed: https://skia.googlesource.com/skia/+/c5e0891029bed0f9619d67281a81f13983a9687b

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -264 lines) Patch
M gyp/opts.gypi View 1 chunk +1 line, -2 lines 0 comments Download
M src/opts/SkUtils_opts_arm.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
A src/opts/SkUtils_opts_arm_neon.cpp View 1 chunk +66 lines, -0 lines 8 comments Download
D src/opts/memset16_neon.S View 1 chunk +0 lines, -143 lines 0 comments Download
D src/opts/memset32_neon.S View 1 chunk +0 lines, -113 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
mtklein_C
5 years, 8 months ago (2015-04-09 21:39:40 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1075003002/1
5 years, 8 months ago (2015-04-09 21:41:58 UTC) #4
commit-bot: I haz the power
This issue passed the CQ dry run.
5 years, 8 months ago (2015-04-09 21:49:05 UTC) #6
mtklein
Incidentally, all testing was on N7. As I was working on this, I finally realized ...
5 years, 8 months ago (2015-04-09 22:35:45 UTC) #8
msarett
lgtm with questions and comments. Looking forward to hearing about ARM64. https://codereview.chromium.org/1075003002/diff/1/src/opts/SkUtils_opts_arm_neon.cpp File src/opts/SkUtils_opts_arm_neon.cpp (right): ...
5 years, 8 months ago (2015-04-10 12:23:31 UTC) #9
mtklein
https://codereview.chromium.org/1075003002/diff/1/src/opts/SkUtils_opts_arm_neon.cpp File src/opts/SkUtils_opts_arm_neon.cpp (right): https://codereview.chromium.org/1075003002/diff/1/src/opts/SkUtils_opts_arm_neon.cpp#newcode13 src/opts/SkUtils_opts_arm_neon.cpp:13: uint32x4x4_t v16 = { v4, v4, v4, v4 }; ...
5 years, 8 months ago (2015-04-10 12:45: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/1075003002/1
5 years, 8 months ago (2015-04-10 12:51:59 UTC) #12
msarett
https://codereview.chromium.org/1075003002/diff/1/src/opts/SkUtils_opts_arm_neon.cpp File src/opts/SkUtils_opts_arm_neon.cpp (right): https://codereview.chromium.org/1075003002/diff/1/src/opts/SkUtils_opts_arm_neon.cpp#newcode13 src/opts/SkUtils_opts_arm_neon.cpp:13: uint32x4x4_t v16 = { v4, v4, v4, v4 }; ...
5 years, 8 months ago (2015-04-10 12:55:10 UTC) #13
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 13:25:01 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/c5e0891029bed0f9619d67281a81f13983a9687b

Powered by Google App Engine
This is Rietveld 408576698