Commit ddbda0ee authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

PPC: Fix LoadSimd128 to used the passed scratch register

Change-Id: Id9a8f9d7a7ccf7dc85a140ed3da30f429fc073ba
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2587008Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#71723}
parent f664005a
......@@ -2957,7 +2957,7 @@ void TurboAssembler::LoadSimd128(Simd128Register dst, const MemOperand& mem,
sp, sp,
Operand(base::bits::WhichPowerOfTwo(16))); // equivalent to &= -16
addi(sp, sp, Operand(-16));
stxvd(kScratchDoubleReg, MemOperand(r0, sp));
stxvd(ScratchDoubleReg, MemOperand(r0, sp));
// Load it with correct lane ordering.
lvx(dst, MemOperand(r0, sp));
mr(sp, ScratchReg);
......
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