| 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 3836e1d1c296ec1abfb4176751ad058cfa99fb2f..0591c955b158020a8eae98262cc12c7772980bf6 100644
|
| --- a/src/compiler/arm64/code-generator-arm64.cc
|
| +++ b/src/compiler/arm64/code-generator-arm64.cc
|
| @@ -1054,6 +1054,11 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| break;
|
| case kArm64Float64ToUint64:
|
| __ Fcvtzu(i.OutputRegister64(), i.InputDoubleRegister(0));
|
| + if (i.OutputCount() > 1) {
|
| + __ Fcmp(i.InputDoubleRegister(0), 0.0);
|
| + __ Ccmp(i.OutputRegister(0), -1, ZFlag, ge);
|
| + __ Cset(i.OutputRegister(1), ne);
|
| + }
|
| break;
|
| case kArm64Int32ToFloat64:
|
| __ Scvtf(i.OutputDoubleRegister(), i.InputRegister32(0));
|
|
|