PPC: Use scratch register passed to SwapSimd128
Change-Id: I8545da4fa9eff1ff7de3779022fe2c34966951d6 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3846853 Reviewed-by: Junliang Yan <junyan@redhat.com> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#82674}
This commit is contained in:
parent
6b0252c289
commit
57c3b86366
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user