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

Unified Diff: src/arm64/cpu-arm64.cc

Issue 271623002: Revert "Arm64: Ensure that csp is always aligned to 16 byte values even if jssp is not." and "Arm64… (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/arm64/cpu-arm64.h ('k') | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/arm64/cpu-arm64.cc
diff --git a/src/arm64/cpu-arm64.cc b/src/arm64/cpu-arm64.cc
index 4f69be9d274ee9625d3cbabf568bc2bed38862b4..0e1ed91be40996b642a41d524dae24ad4ddccc68 100644
--- a/src/arm64/cpu-arm64.cc
+++ b/src/arm64/cpu-arm64.cc
@@ -18,7 +18,6 @@ namespace internal {
bool CpuFeatures::initialized_ = false;
#endif
unsigned CpuFeatures::supported_ = 0;
-unsigned CpuFeatures::found_by_runtime_probing_only_ = 0;
unsigned CpuFeatures::cross_compile_ = 0;
@@ -127,24 +126,8 @@ void CPU::FlushICache(void* address, size_t length) {
void CpuFeatures::Probe(bool serializer_enabled) {
- ASSERT(supported_ == 0);
-
- if (serializer_enabled && FLAG_enable_always_align_csp) {
- // Always align csp in snapshot code - this is safe and ensures that csp
- // will always be aligned if it is enabled by probing at runtime.
- supported_ |= static_cast<uint64_t>(1) << ALWAYS_ALIGN_CSP;
- }
-
- if (!serializer_enabled) {
- CPU cpu;
- // Always align csp on Nvidia cores.
- if (cpu.implementer() == CPU::NVIDIA && FLAG_enable_always_align_csp) {
- found_by_runtime_probing_only_ |=
- static_cast<uint64_t>(1) << ALWAYS_ALIGN_CSP;
- }
-
- supported_ |= found_by_runtime_probing_only_;
- }
+ // AArch64 has no configuration options, no further probing is required.
+ supported_ = 0;
#ifdef DEBUG
initialized_ = true;
« no previous file with comments | « src/arm64/cpu-arm64.h ('k') | src/arm64/macro-assembler-arm64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698