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

Issue 892623002: Add SSE optimization of Color32A_D565 (Closed)

Created:
5 years, 10 months ago by henrik.smiding
Modified:
5 years, 10 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Add SSE optimization of Color32A_D565 Adds an SSE4.1 version of the Color32A_D565 function. Performance improvement in the following benchmarks: Xfermode_SrcOver - ~100% luma_colorfilter_large - ~150% luma_colorfilter_small - ~60% tablebench - ~10% chart_bw - ~10% (Measured on a Atom Silvermont core) Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: https://skia.googlesource.com/skia/+/4e65473069b3a9382292577875366bd86c5777c8

Patch Set 1 #

Total comments: 12

Patch Set 2 : Simplified code #

Patch Set 3 : Fixed VS warning #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -6 lines) Patch
M src/opts/SkBlitRow_opts_SSE4.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/opts/SkBlitRow_opts_SSE4.cpp View 1 2 2 chunks +77 lines, -2 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 2 chunks +13 lines, -4 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
henrik.smiding
Please have a look. I tried adding a bunch of trybots, but they all went ...
5 years, 10 months ago (2015-01-30 14:47:53 UTC) #3
henrik.smiding
On 2015/01/30 14:47:53, henrik.smiding wrote: > Please have a look. > I tried adding a ...
5 years, 10 months ago (2015-01-30 15:01:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892623002/1
5 years, 10 months ago (2015-01-30 16:33:36 UTC) #6
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-01-30 16:33:37 UTC) #7
mtklein
I've been looking at this a bit, and it looks like the current scalar implementation ...
5 years, 10 months ago (2015-01-30 18:17:37 UTC) #9
henrik.smiding
https://codereview.chromium.org/892623002/diff/1/src/core/SkBlitRow_D16.cpp File src/core/SkBlitRow_D16.cpp (right): https://codereview.chromium.org/892623002/diff/1/src/core/SkBlitRow_D16.cpp#newcode215 src/core/SkBlitRow_D16.cpp:215: static void Color32_D565(uint16_t dst[], SkPMColor src, int count, int ...
5 years, 10 months ago (2015-02-10 15:11:52 UTC) #10
mtklein
Oh neat, nice to hear there is a real user. That sort of changes everything. ...
5 years, 10 months ago (2015-02-10 16:17:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892623002/20001
5 years, 10 months ago (2015-02-10 16:18:59 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Build-Win-VS2013-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-VS2013-x86-Debug-Trybot/builds/2379)
5 years, 10 months ago (2015-02-10 16:46:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/892623002/40001
5 years, 10 months ago (2015-02-10 17:27:40 UTC) #18
henrik.smiding
On 2015/02/10 16:17:16, mtklein wrote: > Oh neat, nice to hear there is a real ...
5 years, 10 months ago (2015-02-10 17:30:41 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-10 17:42:36 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/4e65473069b3a9382292577875366bd86c5777c8

Powered by Google App Engine
This is Rietveld 408576698