Commit b586e795 authored by Ng Zhi An's avatar Ng Zhi An Committed by V8 LUCI CQ

[x64] Add missing SSE4_1 scope for pextrq

Bug introduced In crrev.com/c/3150138.

Fixed: v8:12220
Change-Id: I5cae11fdd43dc47dad0c8bf55daa6b925b629da0
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3158543Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/main@{#76804}
parent 89d22866
......@@ -864,6 +864,7 @@ void TurboAssembler::Pextrq(Register dst, XMMRegister src, int8_t imm8) {
CpuFeatureScope avx_scope(this, AVX);
vpextrq(dst, src, imm8);
} else {
CpuFeatureScope sse_scope(this, SSE4_1);
pextrq(dst, src, imm8);
}
}
......
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