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

Issue 724333003: Optimize SkAlphaMulQ_SSE2 (Closed)

Created:
6 years, 1 month ago by qiankun
Modified:
6 years, 1 month ago
Reviewers:
mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

Optimize SkAlphaMulQ_SSE2 These two mask clear are useless, because _mm_srli_epi16 fills high byte of each word with 0. BUG=skia: Committed: https://skia.googlesource.com/skia/+/f04713d9c8f2af15f97984b47587358488e2594e

Patch Set 1 #

Total comments: 2

Patch Set 2 : add assert #

Total comments: 2

Patch Set 3 : undef ASSERT_EQ at the end of file #

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

Messages

Total messages: 9 (2 generated)
qiankun
PTAL.
6 years, 1 month ago (2014-11-14 11:11:32 UTC) #2
mtklein
Good find! https://codereview.chromium.org/724333003/diff/1/src/opts/SkColor_opts_SSE2.h File src/opts/SkColor_opts_SSE2.h (left): https://codereview.chromium.org/724333003/diff/1/src/opts/SkColor_opts_SSE2.h#oldcode59 src/opts/SkColor_opts_SSE2.h:59: rb = _mm_and_si128(mask, rb); Hmm. It'd be ...
6 years, 1 month ago (2014-11-14 14:22:58 UTC) #3
qiankun
Thanks for advice. https://codereview.chromium.org/724333003/diff/1/src/opts/SkColor_opts_SSE2.h File src/opts/SkColor_opts_SSE2.h (left): https://codereview.chromium.org/724333003/diff/1/src/opts/SkColor_opts_SSE2.h#oldcode59 src/opts/SkColor_opts_SSE2.h:59: rb = _mm_and_si128(mask, rb); On 2014/11/14 ...
6 years, 1 month ago (2014-11-14 15:35:23 UTC) #4
mtklein
lgtm, with one request before landing https://codereview.chromium.org/724333003/diff/20001/src/opts/SkColor_opts_SSE2.h File src/opts/SkColor_opts_SSE2.h (right): https://codereview.chromium.org/724333003/diff/20001/src/opts/SkColor_opts_SSE2.h#newcode187 src/opts/SkColor_opts_SSE2.h:187: Let's add #undef ...
6 years, 1 month ago (2014-11-14 15:46:29 UTC) #5
qiankun
https://codereview.chromium.org/724333003/diff/20001/src/opts/SkColor_opts_SSE2.h File src/opts/SkColor_opts_SSE2.h (right): https://codereview.chromium.org/724333003/diff/20001/src/opts/SkColor_opts_SSE2.h#newcode187 src/opts/SkColor_opts_SSE2.h:187: On 2014/11/14 15:46:29, mtklein wrote: > Let's add #undef ...
6 years, 1 month ago (2014-11-14 16:03:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/724333003/40001
6 years, 1 month ago (2014-11-14 16:06:14 UTC) #8
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 16:23:58 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/f04713d9c8f2af15f97984b47587358488e2594e

Powered by Google App Engine
This is Rietveld 408576698