Index: src/compiler/arm64/code-generator-arm64.cc |
diff --git a/src/compiler/arm64/code-generator-arm64.cc b/src/compiler/arm64/code-generator-arm64.cc |
index 46fff295515c61ddf20bf82f994bfef9c94410b6..bfab1a670ab8f13e9ee890f9924f9af777e0b2df 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -1022,6 +1022,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArm64Float64ToUint32: |
__ Fcvtzu(i.OutputRegister32(), i.InputDoubleRegister(0)); |
break; |
+ case kArm64Float32ToInt64: |
+ __ Fcvtzs(i.OutputRegister64(), i.InputFloat32Register(0)); |
+ break; |
case kArm64Float64ToInt64: |
__ Fcvtzs(i.OutputRegister64(), i.InputDoubleRegister(0)); |
break; |