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 c3a4f408568716f2ffb0b0fefe3ece17ec6e10cb..38c6531c5f3a4f4a49efb136ebe347bc3e3a068a 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -222,6 +222,18 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArchTruncateDoubleToI: |
__ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |
break; |
+ case kArm64Float64Ceil: |
+ __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
+ case kArm64Float64Floor: |
+ __ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
+ case kArm64Float64RoundTruncate: |
+ __ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
+ case kArm64Float64RoundTiesAway: |
+ __ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kArm64Add: |
__ Add(i.OutputRegister(), i.InputRegister(0), i.InputOperand2_64(1)); |
break; |