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

Issue 2196773002: Tidy up SkNx_neon. (Closed)

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

Description

Tidy up SkNx_neon. This takes advantage of the fact that all the compilers we use that support NEON implement it with their own vector extensions. This means normal things like c = a + b work on the underlying vector types already. Odd instructions like min or saturated add need to stay intrinsics. Also, rearrange functions to a more consistent order. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2196773002 CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/6ad22315eb6eacfcd35497cd118440a619d05b18

Patch Set 1 #

Patch Set 2 : more #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -182 lines) Patch
M src/opts/SkNx_neon.h View 1 2 12 chunks +98 lines, -182 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
mtklein_C
4 years, 4 months ago (2016-07-29 17:23:45 UTC) #6
msarett
lgtm
4 years, 4 months ago (2016-07-29 17:34:02 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2196773002/40001
4 years, 4 months ago (2016-07-29 17:36:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2196773002/40001
4 years, 4 months ago (2016-07-29 17:54:16 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/6ad22315eb6eacfcd35497cd118440a619d05b18
4 years, 4 months ago (2016-07-29 18:11:15 UTC) #15
mtklein
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2196953002/ by mtklein@google.com. ...
4 years, 4 months ago (2016-07-30 20:36:34 UTC) #16
mtklein
Problem does not reproduce with -t Debug -d arm_v7_neon --clang -t Debug -d arm64 --clang ...
4 years, 4 months ago (2016-07-30 21:48:13 UTC) #18
mtklein
4 years, 4 months ago (2016-07-31 12:30:18 UTC) #19
Message was sent while issue was closed.
On 2016/07/30 21:48:13, mtklein wrote:
> Problem does not reproduce with
>   -t Debug -d arm_v7_neon --clang
>   -t Debug -d arm64 --clang
>   -t Debug -d arm64 --gcc
> 
> -t Release_Developer -d arm_v7_neon --gcc does reproduce the problem, ruling
out
> optimization level as the problem.
> 
> The problem's an assert, so no point testing Release.

Also looked like this triggered a perf regression.  Up when landed, back down
when reverted: https://perf.skia.org/#5393

Powered by Google App Engine
This is Rietveld 408576698