|
[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}
|
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
|
Total messages: 16 (7 generated)
|