From cf07f9e4927d40eaf1e3ecc2130d689afb219c83 Mon Sep 17 00:00:00 2001 From: Milad Farazmand Date: Tue, 13 Aug 2019 10:52:59 -0400 Subject: [PATCH] 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 Commit-Queue: Milad Farazmand Cr-Commit-Position: refs/heads/master@{#63193} --- src/compiler/backend/ppc/code-generator-ppc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/backend/ppc/code-generator-ppc.cc b/src/compiler/backend/ppc/code-generator-ppc.cc index 8271cd5e4b..205935c4ed 100644 --- a/src/compiler/backend/ppc/code-generator-ppc.cc +++ b/src/compiler/backend/ppc/code-generator-ppc.cc @@ -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: