Commit cf07f9e4 authored by Milad Farazmand's avatar Milad Farazmand Committed by Commit Bot

PPC: [compiler] Using cr0 implicitly when executing kArchStackPointerGreaterThan

Change-Id: If917f11f72d08e237fcb4ee43fabfc0c133dace6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1752143Reviewed-by: 's avatarJunliang Yan <jyan@ca.ibm.com>
Commit-Queue: Milad Farazmand <miladfar@ca.ibm.com>
Cr-Commit-Position: refs/heads/master@{#63193}
parent 1687c048
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment