PPC: [compiler] Using cr0 implicitly when executing kArchStackPointerGreaterThan

Change-Id: If917f11f72d08e237fcb4ee43fabfc0c133dace6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1752143
Reviewed-by: Junliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#63193}
This commit is contained in:
Milad Farazmand 2019-08-13 10:52:59 -04:00 committed by Commit Bot
parent 1687c0486b
commit cf07f9e492

View File

@ -1128,7 +1128,7 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
case kArchStackPointerGreaterThan: {
constexpr size_t kValueIndex = 0;
DCHECK(instr->InputAt(kValueIndex)->IsRegister());
__ cmpl(sp, i.InputRegister(kValueIndex));
__ cmpl(sp, i.InputRegister(kValueIndex), cr0);
break;
}
case kArchTruncateDoubleToI: