ppc64: [baseline] fix condition register
Change-Id: Ia6f542104887624d80eebd309f16b7da94159fc4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3679978 Reviewed-by: Milad Farazmand <mfarazma@redhat.com> Commit-Queue: Junliang Yan <junyan@redhat.com> Cr-Commit-Position: refs/heads/main@{#80861}
This commit is contained in:
parent
2bdd845a7c
commit
b77ff66b4c
@ -237,7 +237,7 @@ void BaselineAssembler::TestAndBranch(Register value, int mask, Condition cc,
|
||||
Label* target, Label::Distance) {
|
||||
ASM_CODE_COMMENT(masm_);
|
||||
__ AndU64(r0, value, Operand(mask), ip, SetRC);
|
||||
__ b(AsMasmCondition(cc), target);
|
||||
__ b(AsMasmCondition(cc), target, cr0);
|
||||
}
|
||||
|
||||
void BaselineAssembler::JumpIf(Condition cc, Register lhs, const Operand& rhs,
|
||||
|
@ -75,8 +75,8 @@ void BaselineCompiler::PrologueFillFrame() {
|
||||
for (int i = 0; i < kLoopUnrollSize; ++i) {
|
||||
__ Push(kInterpreterAccumulatorRegister);
|
||||
}
|
||||
__ masm()->SubS64(scratch, scratch, Operand(1));
|
||||
__ masm()->b(gt, &loop);
|
||||
__ masm()->SubS64(scratch, scratch, Operand(1), r0, LeaveOE, SetRC);
|
||||
__ masm()->bgt(&loop, cr0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user