Index: src/compiler/arm/code-generator-arm.cc |
diff --git a/src/compiler/arm/code-generator-arm.cc b/src/compiler/arm/code-generator-arm.cc |
index 9b074b05ccd05e42842da6bc90f191daa25f5b43..b157148c1d87173855a6c6e6cba83275e7c2b662 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -845,6 +845,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |
break; |
} |
+ case kArmVcvtS32F32: { |
+ SwVfpRegister scratch = kScratchDoubleReg.low(); |
+ __ vcvt_s32_f32(scratch, i.InputFloat32Register(0)); |
+ __ vmov(i.OutputRegister(), scratch); |
+ DCHECK_EQ(LeaveCC, i.OutputSBit()); |
+ break; |
+ } |
case kArmVcvtS32F64: { |
SwVfpRegister scratch = kScratchDoubleReg.low(); |
__ vcvt_s32_f64(scratch, i.InputFloat64Register(0)); |