Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index a65cf15f41afeca210d29b3f85ca56dd849dcca4..8fadb7606c8f0c8203d443ab9e1eb0622eb527b6 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -2485,6 +2485,12 @@ void Assembler::vstm(BlockAddrMode am, |
} |
+void Assembler::vmov(const SwVfpRegister dst, float imm) { |
+ mov(ip, Operand(bit_cast<int32_t>(imm))); |
+ vmov(dst, ip); |
+} |
+ |
+ |
static void DoubleAsTwoUInt32(double d, uint32_t* lo, uint32_t* hi) { |
uint64_t i; |
memcpy(&i, &d, 8); |