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

Issue 1812233003: SkNx refresh (Closed)

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

Description

SkNx refresh - rearrange a bit - fewer macros - hooks for all operators - add left and right scalar operator overrides - add +=, &=, <<=, etc. - add SkNx_split() and SkNx_join() - simplify the many rsqrt() and invert() options to just what we actually use This refactoring pointed out that our float <-> int NEON conversions are not specialized, so I've implemented them. It seems nice that this is an error rather than silently falling back to serial code. It's unclear to me if split/join want to be external, static methods, or non-static methods (SkNx_join(), Sk4f::Join(), x.join()). Time will tell? BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1812233003 CQ_EXTRA_TRYBOTS=client.skia.android:Test-Android-GCC-Nexus5-CPU-NEON-Arm7-Release-Trybot;client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/f8f90e4a85638faa18e7b4133cfe4d1ff5b1b23e

Patch Set 1 #

Patch Set 2 : move around #

Patch Set 3 : dull #

Patch Set 4 : fix? #

Patch Set 5 : const U& #

Patch Set 6 : limits #

Patch Set 7 : msvc u serious? #

Patch Set 8 : more neon sk4i #

Patch Set 9 : more Sk4i NEON math #

Patch Set 10 : use split and join #

Patch Set 11 : invert and rsqrt cleanup #

Patch Set 12 : explicit makes these fine #

Patch Set 13 : clearer #

Patch Set 14 : nosimd fixes #

Patch Set 15 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+334 lines, -205 lines) Patch
M src/core/SkNx.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +233 lines, -139 lines 0 comments Download
M src/effects/gradients/SkRadialGradient.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +78 lines, -36 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 2 3 4 5 6 7 8 9 3 chunks +18 lines, -21 lines 0 comments Download
M src/opts/SkXfermode_opts.h View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/SkNxTest.cpp View 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 51 (32 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/20001
4 years, 9 months ago (2016-03-18 20:35:00 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Mips-Debug-Android-Trybot/builds/6436) Build-Ubuntu-GCC-x86_64-Release-Trybot on ...
4 years, 9 months ago (2016-03-18 20:36:30 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/80001
4 years, 9 months ago (2016-03-18 20:49:14 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/7176) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
4 years, 9 months ago (2016-03-18 20:50:20 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/100001
4 years, 9 months ago (2016-03-18 20:54:00 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/7198)
4 years, 9 months ago (2016-03-18 20:55:54 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/140001
4 years, 9 months ago (2016-03-18 21:11:57 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/builds/7199)
4 years, 9 months ago (2016-03-18 21:13:28 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/160001
4 years, 9 months ago (2016-03-18 21:17:38 UTC) #25
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 21:31:43 UTC) #27
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/180001
4 years, 9 months ago (2016-03-18 21:39:01 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-18 22:01:20 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/240001
4 years, 9 months ago (2016-03-21 13:41:50 UTC) #39
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot/builds/166) Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot on ...
4 years, 9 months ago (2016-03-21 13:42:58 UTC) #41
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/280001
4 years, 9 months ago (2016-03-21 13:51:19 UTC) #43
mtklein_C
4 years, 9 months ago (2016-03-21 14:15:52 UTC) #45
herb_g
lgtm
4 years, 9 months ago (2016-03-21 15:07:46 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1812233003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1812233003/280001
4 years, 9 months ago (2016-03-21 15:54:04 UTC) #49
commit-bot: I haz the power
4 years, 9 months ago (2016-03-21 17:04:50 UTC) #51
Message was sent while issue was closed.
Committed patchset #15 (id:280001) as
https://skia.googlesource.com/skia/+/f8f90e4a85638faa18e7b4133cfe4d1ff5b1b23e

Powered by Google App Engine
This is Rietveld 408576698