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

Issue 2360243002: [arm] Clean up use of IsSupported and IsEnabled. (Closed)

Created:
4 years, 2 months ago by jbramley
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[arm] Clean up use of IsSupported and IsEnabled. CpuFeatures::IsSupported(feature) indicates that the feature is available on the target. AssemblerBase::IsEnabled(feature) indicates that we've checked for support (using CpuFeatureScope). The main benefit is that we can test on (for example) ARMv8, but have some assurance that we won't generate ARMv8 instructions on ARMv7 targets. This patch simply cleans up the usage, which had become inconsistent. The instruction emission functions now check not only that their dependent features are supported, but also that we've verified that using CpuFeatureScope. BUG= Committed: https://crrev.com/73518a9070896d964fac750793a784f34f5172d3 Cr-Commit-Position: refs/heads/master@{#39676}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -199 lines) Patch
M src/arm/assembler-arm.h View 1 chunk +6 lines, -0 lines 0 comments Download
M src/arm/assembler-arm.cc View 76 chunks +119 lines, -101 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/arm/code-stubs-arm.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M src/arm/codegen-arm.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M src/arm/deoptimizer-arm.cc View 2 chunks +13 lines, -10 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 10 chunks +11 lines, -1 line 0 comments Download
M src/assembler.h View 2 chunks +14 lines, -2 lines 0 comments Download
M src/assembler.cc View 1 chunk +4 lines, -12 lines 0 comments Download
M src/compiler/arm/code-generator-arm.cc View 1 chunk +27 lines, -9 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 chunk +9 lines, -0 lines 0 comments Download
M src/globals.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-assembler-arm.cc View 3 chunks +47 lines, -54 lines 0 comments Download
M test/cctest/test-disasm-arm.cc View 5 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
jbramley
4 years, 2 months ago (2016-09-22 12:59:28 UTC) #2
Benedikt Meurer
lgtm
4 years, 2 months ago (2016-09-23 03:53:10 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2360243002/1
4 years, 2 months ago (2016-09-23 07:15:40 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: v8_win64_rel_ng on master.tryserver.v8 (JOB_TIMED_OUT, no build URL) v8_win_compile_dbg on ...
4 years, 2 months ago (2016-09-23 09:16:08 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2360243002/1
4 years, 2 months ago (2016-09-23 09:31:36 UTC) #9
commit-bot: I haz the power
Exceeded global retry quota
4 years, 2 months ago (2016-09-23 10:35:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2360243002/1
4 years, 2 months ago (2016-09-23 13:52:20 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-09-23 15:29:16 UTC) #14
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 15:29:29 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/73518a9070896d964fac750793a784f34f5172d3
Cr-Commit-Position: refs/heads/master@{#39676}

Powered by Google App Engine
This is Rietveld 408576698