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

Issue 1483953002: Add Sk4f::ToBytes(uint8_t[16], Sk4f, Sk4f, Sk4f, Sk4f) (Closed)

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

Description

Add Sk4f::ToBytes(uint8_t[16], Sk4f, Sk4f, Sk4f, Sk4f) This is a big speedup for float -> byte. E.g. gradient_linear_clamp_3color: x86-64 147µs -> 103µs (Broadwell MBP) arm64 2.03ms -> 648µs (Galaxy S6) armv7 1.12ms -> 489µs (Galaxy S6, same device!) BUG=skia: CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot;client.skia.android:Test-Android-GCC-Nexus9-CPU-Denver-Arm64-Debug-Trybot Committed: https://skia.googlesource.com/skia/+/9db43ac4ee1a83a4f7b332fe6c00f592b6237349

Patch Set 1 #

Patch Set 2 : just ToBytes #

Patch Set 3 : both #

Patch Set 4 : undo upm #

Patch Set 5 : really back #

Patch Set 6 : fix neon #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -9 lines) Patch
M bench/Sk4fBench.cpp View 1 chunk +1 line, -4 lines 0 comments Download
M src/core/SkNx.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/effects/gradients/SkLinearGradient.cpp View 3 4 2 chunks +10 lines, -5 lines 0 comments Download
M src/opts/SkNx_neon.h View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M src/opts/SkNx_sse.h View 1 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (18 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/1483953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483953002/100001
5 years ago (2015-11-30 22:26:19 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 22:38:32 UTC) #8
mtklein_C
5 years ago (2015-11-30 22:47:18 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483953002/100001
5 years ago (2015-11-30 23:19:22 UTC) #16
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Android-GCC-Nexus9-CPU-Denver-Arm64-Debug-Trybot on client.skia (JOB_FAILED, no build URL)
5 years ago (2015-11-30 23:19:41 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/1483953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483953002/100001
5 years ago (2015-11-30 23:20:13 UTC) #21
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-01 12:35:29 UTC) #23
reed1
wow, killer improvement on arm64! lgtm
5 years ago (2015-12-01 14:34:26 UTC) #24
mtklein
On 2015/12/01 at 14:34:26, reed wrote: > wow, killer improvement on arm64! > > lgtm ...
5 years ago (2015-12-01 15:09:46 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1483953002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1483953002/100001
5 years ago (2015-12-01 15:09:56 UTC) #27
commit-bot: I haz the power
5 years ago (2015-12-01 15:10:25 UTC) #29
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://skia.googlesource.com/skia/+/9db43ac4ee1a83a4f7b332fe6c00f592b6237349

Powered by Google App Engine
This is Rietveld 408576698