Commit 1f2cc01a authored by Zhi An Ng's avatar Zhi An Ng Committed by Commit Bot

[wasm-simd][x64] Use Movaps to get AVX version if supported

Use Movaps so that when AVX is supported we get vmovaps, this avoids
mixing SSE and AVX code.

Change-Id: Icbcefa42bd368bed1a30f5f790ea6c5cea564e26
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2591856Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#71811}
parent 362e4c08
...@@ -1298,7 +1298,7 @@ void TurboAssembler::Move(Register dst, Register src) { ...@@ -1298,7 +1298,7 @@ void TurboAssembler::Move(Register dst, Register src) {
void TurboAssembler::Move(XMMRegister dst, XMMRegister src) { void TurboAssembler::Move(XMMRegister dst, XMMRegister src) {
if (dst != src) { if (dst != src) {
movaps(dst, src); Movaps(dst, src);
} }
} }
......
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