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

Issue 1817353005: Sk4x4f: Simplify x86 down to SSE2. (Closed)

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

Description

Sk4x4f: Simplify x86 down to SSE2. - This drops the minimum requirement for Sk4x4f on x86 to SSE2 by removing calls to _mm_shuffle_epi8(). Instead we use good old shifting and masking. - Performance is very similar to SSSE3, close enough I'm having trouble telling which is faster. I think we should let ourselves circle back on whether we need an SSSE3 version later. When possible it's nice to stick to SSE2: it's most available, and performs most uniformly across different chips. This makes Sk4x4f fast on Windows and Linux, and may help mobile x86. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1817353005 Committed: https://skia.googlesource.com/skia/+/1443c6920c4b7aa80811c30ed9cdc81395d5df4f

Patch Set 1 #

Patch Set 2 : tweaks #

Patch Set 3 : derp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -19 lines) Patch
M src/core/Sk4x4f.h View 1 2 3 chunks +13 lines, -19 lines 0 comments Download

Messages

Total messages: 25 (12 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/1817353005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817353005/1
4 years, 9 months ago (2016-03-23 02:13:12 UTC) #5
mtklein_C
4 years, 9 months ago (2016-03-23 02:22:06 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817353005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817353005/20001
4 years, 9 months ago (2016-03-23 02:22:12 UTC) #9
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 9 months ago (2016-03-23 02:22:17 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-ShuttleA-GPU-GTX660-x86_64-Release-Trybot/builds/2345) Build-Mac-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, ...
4 years, 9 months ago (2016-03-23 02:23:20 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817353005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817353005/40001
4 years, 9 months ago (2016-03-23 02:24:20 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-23 02:34:57 UTC) #16
mtklein_C
+Herb
4 years, 9 months ago (2016-03-23 16:33:09 UTC) #18
f(malita)
lgtm
4 years, 9 months ago (2016-03-23 16:51:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817353005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817353005/40001
4 years, 9 months ago (2016-03-23 16:51:17 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/skia/+/1443c6920c4b7aa80811c30ed9cdc81395d5df4f
4 years, 9 months ago (2016-03-23 16:52:18 UTC) #23
herb_g
You may be able to move the shifts into the mults and divs for normalization.
4 years, 9 months ago (2016-03-23 16:56:35 UTC) #24
herb_g
4 years, 9 months ago (2016-03-23 16:56:51 UTC) #25
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698