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

[wasm-simd][x64] Use movaps in i8x16.swizzle

Bug: v8:11346
Change-Id: I95a82da62feb6c42562f655f954407ad58c4ca33
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2718660Reviewed-by: 's avatarDeepti Gandluri <gdeepti@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73055}
parent 12eaa0fe
...@@ -2610,7 +2610,7 @@ void TurboAssembler::I8x16Swizzle(XMMRegister dst, XMMRegister src, ...@@ -2610,7 +2610,7 @@ void TurboAssembler::I8x16Swizzle(XMMRegister dst, XMMRegister src,
vpshufb(dst, src, kScratchDoubleReg); vpshufb(dst, src, kScratchDoubleReg);
} else { } else {
CpuFeatureScope sse_scope(this, SSSE3); CpuFeatureScope sse_scope(this, SSSE3);
movdqa(kScratchDoubleReg, op); movaps(kScratchDoubleReg, op);
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