cpu: lower 128-bit legacy MOVDQU and 14 SSSE3 integer vector instructions #355
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!355
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/355/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:10 UTC · original
Vonsek:ag/cpu-lower-ssse3-int→main· +353 −0 · 6 files · 3 commits · merged 2026-11-22 16:18 UTCChange
movdquand 14 SSSE3 integer vector instructions (pabsb,pabsw,pabsd,psignb,psignw,psignd,pshufb,palignr,phaddw,phaddd,phsubw,phsubd,phaddsw,phsubsw) intools/ffx_version_query.py, rejecting 64-bit MMX forms.tests/cpu/ssse3_int.asm,tests/cpu/ssse3_int.def) and differential test (tests/cpu/ssse3_int.py) wired intoCMakeLists.txtascpu_aot_ssse3_intwith ahost_has_ssse3()CPUID leaf 1 ECX bit 9 check andSKIP_RETURN_CODE 77on unsupported hosts.INT_MIN/INT_MAX,pshufbzeroing,palignrshifts > 16, and signed 16-bit saturation) plus a synthetic 64-bit MMXpabsbrejection control.ssse3_int->cpu_aot_ssse3_intintools/form_coverage.py(+14SSE3-4mnemonics andmovdquindocs/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_ssse3_int_liftedfailed with:cmake --build --preset dev --target cpu_ssse3_int_liftedsucceeded.ctest --preset dev --no-tests=error -R "^(cpu_aot_ssse3_int|cpu_aot_bmi1|cpu_aot_shift_count|cpu_aot_version_query|cpu_aot_address_size)$" -V: 5/5 passed (15 SSSE3 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 (0/86 -> 14/86) plusmovdqu(SSE2) todocs/coverage/x64_zen2.tsvcoverage.Checklist
@chatgpt-codex-connector[bot] on GitHub · 2026-11-21 23:14 UTC · original · edited 2026-11-21 23:17 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
1750e92ℹ️ 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.
@R0Y00 on GitHub · 2026-11-22 08:15 UTC · original · requested changes
On
7729344I decoded 66 0f 38 1c c3 c3 (pabsb xmm0,xmm3; ret). lower() raises KeyError: 80 from wide_xmm[i.op1_register]. The destination is in the supported set but the source is outside it. Please check the register source before indexing, issue the normal unsupported-operation diagnostic with the instruction address, and add this sequence as a rejection control. A valid xmm0–2 source should continue to translate.