Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 45465119b35a6a7f945a2fb9c097596f5ac27ff9..90018eae837075007e4ac55abbd7f4ae6497845d 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -109,6 +109,9 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
if (cpu.architecture() >= 7) { |
if (FLAG_enable_armv7) supported_ |= 1u << ARMv7; |
+ if (FLAG_enable_armv8 && cpu.architecture() >= 8) { |
+ supported_ |= 1u << ARMv8; |
+ } |
if (FLAG_enable_unaligned_accesses) supported_ |= 1u << UNALIGNED_ACCESSES; |
// Use movw/movt for QUALCOMM ARMv7 cores. |
if (FLAG_enable_movw_movt && cpu.implementer() == base::CPU::QUALCOMM) { |