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..9be910f31444179f97cef7e7c4c531c39be8cf96 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -831,6 +831,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |
break; |
} |
+ case kArmVcvtF32S32: { |
+ SwVfpRegister scratch = kScratchDoubleReg.low(); |
+ __ vmov(scratch, i.InputRegister(0)); |
+ __ vcvt_f32_s32(i.OutputFloat32Register(), scratch); |
+ DCHECK_EQ(LeaveCC, i.OutputSBit()); |
+ break; |
+ } |
case kArmVcvtF64S32: { |
SwVfpRegister scratch = kScratchDoubleReg.low(); |
__ vmov(scratch, i.InputRegister(0)); |