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 47df78565688f1a8d33183231bf5cce0c2b401a4..fa73763383d762a748d363b3576f2704dbdeea56 100644 |
--- a/src/compiler/arm64/code-generator-arm64.cc |
+++ b/src/compiler/arm64/code-generator-arm64.cc |
@@ -597,14 +597,17 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
case kArm64Float64RoundDown: |
__ Frintm(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
+ case kArm64Float64RoundUp: |
+ __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kArm64Float64RoundTiesAway: |
__ Frinta(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
case kArm64Float64RoundTruncate: |
__ Frintz(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
- case kArm64Float64RoundUp: |
- __ Frintp(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ case kArm64Float64RoundTiesEven: |
+ __ Frintn(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
case kArm64Add: |
__ Add(i.OutputRegister(), i.InputOrZeroRegister64(0), |