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

Issue 272503006: Improved x86 SSE build and run-time checks. (Closed)

Created:
6 years, 7 months ago by henrik.smiding
Modified:
6 years, 7 months ago
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Improved x86 SSE build and run-time checks. Replaces the current build/run-time checks for SSE level in opts_check_x86.cpp with a simpler and more future-proof version. Also adds SSE versions 4.1 and 4.2 to the config file. Author: henrik.smiding@intel.com Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>; Committed: http://code.google.com/p/skia/source/detail?r=14644 Committed: http://code.google.com/p/skia/source/detail?r=14693

Patch Set 1 #

Total comments: 7

Patch Set 2 : Fixed review comments #

Patch Set 3 : Check for undefined SSE flag #

Total comments: 2

Patch Set 4 : Added 64-bit check for VisualStudio #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -66 lines) Patch
M include/core/SkPreConfig.h View 1 2 3 2 chunks +11 lines, -3 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 2 16 chunks +57 lines, -63 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
henrik.smiding
6 years, 7 months ago (2014-05-07 17:02:12 UTC) #1
mtklein
https://codereview.chromium.org/272503006/diff/1/include/core/SkPreConfig.h File include/core/SkPreConfig.h (right): https://codereview.chromium.org/272503006/diff/1/include/core/SkPreConfig.h#newcode133 include/core/SkPreConfig.h:133: #if defined(__SSE4_2__) || defined(__SSE4__) Are there compilers where __SSE4_2__ ...
6 years, 7 months ago (2014-05-07 17:34:41 UTC) #2
henrik.smiding
https://codereview.chromium.org/272503006/diff/1/include/core/SkPreConfig.h File include/core/SkPreConfig.h (right): https://codereview.chromium.org/272503006/diff/1/include/core/SkPreConfig.h#newcode133 include/core/SkPreConfig.h:133: #if defined(__SSE4_2__) || defined(__SSE4__) On 2014/05/07 17:34:41, mtklein wrote: ...
6 years, 7 months ago (2014-05-08 11:02:45 UTC) #3
mtklein
lgtm
6 years, 7 months ago (2014-05-08 12:40:43 UTC) #4
henrik.smiding
The CQ bit was checked by henrik.smiding@intel.com
6 years, 7 months ago (2014-05-08 14:35:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/272503006/20001
6 years, 7 months ago (2014-05-08 14:36:50 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-08 14:37:01 UTC) #7
commit-bot: I haz the power
Presubmit check for 272503006-20001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 7 months ago (2014-05-08 14:37:02 UTC) #8
reed1
lgtm
6 years, 7 months ago (2014-05-08 14:57:16 UTC) #9
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-05-08 14:57:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/272503006/20001
6 years, 7 months ago (2014-05-08 14:58:39 UTC) #11
commit-bot: I haz the power
Change committed as 14644
6 years, 7 months ago (2014-05-08 15:17:52 UTC) #12
mtklein
A revert of this CL has been created in https://codereview.chromium.org/277593004/ by mtklein@google.com. The reason for ...
6 years, 7 months ago (2014-05-08 15:26:31 UTC) #13
henrik.smiding
On 2014/05/08 15:26:31, mtklein wrote: > A revert of this CL has been created in ...
6 years, 7 months ago (2014-05-08 16:30:10 UTC) #14
mtklein
https://codereview.chromium.org/272503006/diff/40001/include/core/SkPreConfig.h File include/core/SkPreConfig.h (right): https://codereview.chromium.org/272503006/diff/40001/include/core/SkPreConfig.h#newcode147 include/core/SkPreConfig.h:147: #ifndef SK_CPU_SSE_LEVEL Am I thinking right that this means ...
6 years, 7 months ago (2014-05-08 16:55:07 UTC) #15
henrik.smiding
https://codereview.chromium.org/272503006/diff/40001/include/core/SkPreConfig.h File include/core/SkPreConfig.h (right): https://codereview.chromium.org/272503006/diff/40001/include/core/SkPreConfig.h#newcode147 include/core/SkPreConfig.h:147: #ifndef SK_CPU_SSE_LEVEL On 2014/05/08 16:55:08, mtklein wrote: > Am ...
6 years, 7 months ago (2014-05-09 08:30:29 UTC) #16
mtklein
Thank you. Sorry for the delays. LGTM. Let's try this again...
6 years, 7 months ago (2014-05-12 14:10:09 UTC) #17
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-05-12 14:10:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/henrik.smiding@intel.com/272503006/60001
6 years, 7 months ago (2014-05-12 14:10:22 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 14:16:22 UTC) #20
Message was sent while issue was closed.
Change committed as 14693

Powered by Google App Engine
This is Rietveld 408576698