Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index da1ab68a76d0ae1bf47d35444df3f51524ad314a..6e65677aba1b382a4097ca8c1933ea55adfa2b19 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -2596,7 +2596,8 @@ void Assembler::vmov(const DwVfpRegister dst, |
} else if (scratch.is(no_reg)) { |
mov(ip, Operand(lo)); |
vmov(dst, VmovIndexLo, ip); |
- if ((lo & 0xffff) == (hi & 0xffff)) { |
+ if (((lo & 0xffff) == (hi & 0xffff)) && |
+ CpuFeatures::IsSupported(ARMv7)) { |
movt(ip, hi >> 16); |
} else { |
mov(ip, Operand(hi)); |