Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 8fadb7606c8f0c8203d443ab9e1eb0622eb527b6..fd44f4d5f8b2a302bbb4f5abfbec3fce7cc78294 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -127,6 +127,11 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
} |
if (FLAG_enable_32dregs && cpu.has_vfp3_d32()) supported_ |= 1u << VFP32DREGS; |
+ |
+ if (cpu.implementer() == base::CPU::NVIDIA && |
+ cpu.variant() == base::CPU::NVIDIA_DENVER) { |
+ supported_ |= 1u << COHERENT_CACHE; |
+ } |
#endif |
DCHECK(!IsSupported(VFP3) || IsSupported(ARMv7)); |
@@ -188,14 +193,15 @@ void CpuFeatures::PrintTarget() { |
void CpuFeatures::PrintFeatures() { |
printf( |
"ARMv7=%d VFP3=%d VFP32DREGS=%d NEON=%d SUDIV=%d UNALIGNED_ACCESSES=%d " |
- "MOVW_MOVT_IMMEDIATE_LOADS=%d", |
+ "MOVW_MOVT_IMMEDIATE_LOADS=%d COHERENT_CACHE=%d", |
CpuFeatures::IsSupported(ARMv7), |
CpuFeatures::IsSupported(VFP3), |
CpuFeatures::IsSupported(VFP32DREGS), |
CpuFeatures::IsSupported(NEON), |
CpuFeatures::IsSupported(SUDIV), |
CpuFeatures::IsSupported(UNALIGNED_ACCESSES), |
- CpuFeatures::IsSupported(MOVW_MOVT_IMMEDIATE_LOADS)); |
+ CpuFeatures::IsSupported(MOVW_MOVT_IMMEDIATE_LOADS), |
+ CpuFeatures::IsSupported(COHERENT_CACHE)); |
#ifdef __arm__ |
bool eabi_hardfloat = base::OS::ArmUsingHardFloat(); |
#elif USE_EABI_HARDFLOAT |