Commit 23f9d7a5 authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

PPC [liftoff]: Use scratch instead of ip

scratch is already being initialized to avoid
overwriting offset_reg. We will need to use it instead of ip.

Change-Id: I4ffb93341f64dd8520e2409d6a28783738627ca2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3322977Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#78303}
parent 3b9091c8
......@@ -432,7 +432,7 @@ void LiftoffAssembler::Load(LiftoffRegister dst, Register src_addr,
scratch = GetRegisterThatIsNotOneOf(src_addr);
push(scratch);
}
LoadF64LE(dst.fp(), src_op, r0, ip);
LoadF64LE(dst.fp(), src_op, r0, scratch);
if (offset_reg == ip) {
pop(scratch);
}
......
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