Commit 8e3d7e82 authored by Junliang Yan's avatar Junliang Yan Committed by V8 LUCI CQ

ppc: [liftoff] fix MoveStackValue

Change-Id: I501d81c461f16ea483d4d2246fceb8b40cae261e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3167310Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/main@{#76903}
parent 367f86de
......@@ -616,16 +616,16 @@ void LiftoffAssembler::MoveStackValue(uint32_t dst_offset, uint32_t src_offset,
switch (kind) {
case kI32:
case kF32:
LoadU32(ip, liftoff::GetStackSlot(dst_offset + stack_bias), r0);
StoreU32(ip, liftoff::GetStackSlot(src_offset + stack_bias), r0);
LoadU32(ip, liftoff::GetStackSlot(src_offset + stack_bias), r0);
StoreU32(ip, liftoff::GetStackSlot(dst_offset + stack_bias), r0);
break;
case kI64:
case kOptRef:
case kRef:
case kRtt:
case kF64:
LoadU64(ip, liftoff::GetStackSlot(dst_offset), r0);
StoreU64(ip, liftoff::GetStackSlot(src_offset), r0);
LoadU64(ip, liftoff::GetStackSlot(src_offset), r0);
StoreU64(ip, liftoff::GetStackSlot(dst_offset), r0);
break;
case kS128:
bailout(kSimd, "simd op");
......
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