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 13ce301560d0be7883981a0037661a05211f4171..f619ddfb138919bb15bb000704cb6d7c45d8028e 100644 |
--- a/src/compiler/arm/code-generator-arm.cc |
+++ b/src/compiler/arm/code-generator-arm.cc |
@@ -859,6 +859,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
DCHECK_EQ(LeaveCC, i.OutputSBit()); |
break; |
} |
+ case kArmVcvtU32F32: { |
+ SwVfpRegister scratch = kScratchDoubleReg.low(); |
+ __ vcvt_u32_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)); |