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

Issue 1294213002: Remove SkOpts_sse2.cpp. (Closed)

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

Description

Remove SkOpts_sse2.cpp. It's sort of pointless: all our clients that will have SSE2 at runtime have it unconditionally at compile time, so the functions in namespace portable will pick up the SSE2 code. The procs in SkOpts_sse2.o were just duplicate code. A couple of the procs we had in _sse2.cpp can benefit slightly when compiled with SSSE3. I've moved those to _ssse3.cpp. This should lead to small speedups on platforms like Linux and Windows that have a baseline of SSE2. Similarly, I've removed the call to Init_neon() when NEON is available globally... it's a no-op. Renaming namespace portable to something clearer is TBD. BUG=skia:4117 Committed: https://skia.googlesource.com/skia/+/948376379362e54c5357005778ba5f53f3dc9d5e

Patch Set 1 #

Patch Set 2 : update runtime detection #

Patch Set 3 : ns #

Patch Set 4 : char ~0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -42 lines) Patch
M gyp/opts.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M src/core/SkOpts.cpp View 1 2 chunks +1 line, -5 lines 0 comments Download
D src/opts/SkOpts_sse2.cpp View 1 chunk +0 lines, -34 lines 0 comments Download
M src/opts/SkOpts_ssse3.cpp View 1 2 1 chunk +5 lines, -1 line 0 comments Download
M src/opts/SkPMFloat_sse.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 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/1294213002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294213002/40001
5 years, 4 months ago (2015-08-17 20:10:28 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294213002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294213002/60001
5 years, 4 months ago (2015-08-17 20:13:19 UTC) #4
mtklein_C
5 years, 4 months ago (2015-08-17 20:15:20 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-17 20:19:09 UTC) #8
djsollen
lgtm
5 years, 4 months ago (2015-08-18 12:07:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1294213002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1294213002/60001
5 years, 4 months ago (2015-08-18 12:18:17 UTC) #11
commit-bot: I haz the power
5 years, 4 months ago (2015-08-18 12:18:56 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/948376379362e54c5357005778ba5f53f3dc9d5e

Powered by Google App Engine
This is Rietveld 408576698