cpu: lower 14 128-bit SSE4.1 integer vector instructions #359
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!359
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/359/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Vonsek on GitHub · 2026-11-21 23:18 UTC · original
Vonsek:ag/cpu-lower-sse41-int→main· +341 −1 · 6 files · 3 commits · merged 2026-11-22 10:19 UTCChange
movdquand 14 SSE4.1 integer vector instructions (pminsb,pmaxsb,pminuw,pmaxuw,pminsd,pmaxsd,pminud,pmaxud,pmulld,pmuldq,pcmpeqq,packusdw,pblendw,pblendvb) intools/ffx_version_query.py.tests/cpu/sse41_int.asm,tests/cpu/sse41_int.def) and differential test (tests/cpu/sse41_int.py) wired intoCMakeLists.txtascpu_aot_sse41_intwith ahost_has_sse41()CPUID leaf 1 ECX bit 19 check andSKIP_RETURN_CODE 77on unsupported hosts.packusdw, immediatepblendw, and implicit-XMM0pblendvb).sse41_int->cpu_aot_sse41_intintools/form_coverage.py(+14SSE3-4mnemonics indocs/coverage/x64_zen2.tsv) and document the test indocs/experiments.md.Verification
Tested on Windows 11 (VS 2022 Build Tools 17.14, MSVC 19.44, ML64 14.44, Windows SDK 10.0.26100, Python 3.12):
cmake --build --preset dev --target cpu_sse41_int_liftedfailed with:cmake --build --preset dev --target cpu_sse41_int_liftedsucceeded.ctest --preset dev --no-tests=error -R "^(cpu_aot_sse41_int|cpu_aot_bmi1|cpu_aot_shift_count|cpu_aot_version_query|cpu_aot_address_size)$" -V: 5/5 passed (14 SSE4.1 integer vector cases across 14 instructions matched native and translated DLLs).python -B tests/form_coverage_check.py:form coverage checks passed.Evidence and follow-up
SSE3-4mnemonics (pminsb,pmaxsb,pminuw,pmaxuw,pminsd,pmaxsd,pminud,pmaxud,pmulld,pmuldq,pcmpeqq,packusdw,pblendw,pblendvb) todocs/coverage/x64_zen2.tsvcoverage; complements #355 (14 SSSE3 integer mnemonics).Checklist
@chatgpt-codex-connector[bot] on GitHub · 2026-11-21 23:22 UTC · original · edited 2026-11-21 23:26 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
c123410ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.