cpu: lower 128-bit legacy MOVDQU and 14 SSSE3 integer vector instructions #349
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/355"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by Vonsek on 2026-11-21T23:10:13Z.
Change
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
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-22T08:15:17Z.
Review: CHANGES_REQUESTED
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.Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T23:14:06Z.
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.