Commit 57c3b863 authored by Milad Fa's avatar Milad Fa Committed by V8 LUCI CQ

PPC: Use scratch register passed to SwapSimd128

Change-Id: I8545da4fa9eff1ff7de3779022fe2c34966951d6
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3846853Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#82674}
parent 6b0252c2
......@@ -3989,7 +3989,7 @@ void TurboAssembler::SwapSimd128(Simd128Register src, MemOperand dst,
Simd128Register scratch1, Register scratch2) {
DCHECK(src != scratch1);
LoadSimd128(scratch1, dst, scratch2);
StoreSimd128(src, dst, ip);
StoreSimd128(src, dst, scratch2);
vor(src, scratch1, scratch1);
}
......
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