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

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

Issue 1287173004: Make FlushICache NOP for Nvidia Denver 1.0 only (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@lkgr
Patch Set: Created 5 years, 4 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
Index: src/arm64/assembler-arm64.cc
diff --git a/src/arm64/assembler-arm64.cc b/src/arm64/assembler-arm64.cc
index 8db7126fcf44c3be8c93d4453e3cece753a1eca8..235b5ee2bcaa96078ceddbb4f543133a4b040781 100644
--- a/src/arm64/assembler-arm64.cc
+++ b/src/arm64/assembler-arm64.cc
@@ -52,7 +52,8 @@ void CpuFeatures::ProbeImpl(bool cross_compile) {
// Probe for runtime features
base::CPU cpu;
if (cpu.implementer() == base::CPU::NVIDIA &&
- cpu.variant() == base::CPU::NVIDIA_DENVER) {
+ cpu.variant() == base::CPU::NVIDIA_DENVER &&
Rodolph Perfetta (ARM) 2015/08/19 08:19:27 Denver is a CPU part (like A57, A53 for ARM), so i
avanbrunt 2015/08/19 16:35:38 Implementer == 'N' and and variant == 0x0 combined
+ cpu.part() <= base::CPU::NVIDIA_DENVER_V10) {
supported_ |= 1u << COHERENT_CACHE;
}
}
« src/arm/assembler-arm.cc ('K') | « src/arm/assembler-arm.cc ('k') | src/base/cpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698