cpu: lower baseline 128-bit SSE2 saturating, multiply, min/max, avg, and sad instructions #361
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/367"
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:35:17Z.
Change
movdquand 20 baseline SSE2 packed integer instructions intools/ffx_version_query.py:paddsb,paddsw,paddusb,paddusw,psubsb,psubsw,psubusb,psubuswpmulhw,pmulhuw,pmullw,pmaddwd,pmuludqpminub,pmaxub,pminsw,pmaxsw,pavgb,pavgw,psadbwEncodingKind.LEGACYXMM forms, preserving upper YMM bytes (16..31) and rejecting 64-bit MMX encodings.tests/cpu/sse2_sat_mul.{asm,def,py}, CMake targetcpu_sse2_sat_mul_lifted, CTestcpu_aot_sse2_sat_mul, coverage mapping intools/form_coverage.py, and documentation indocs/experiments.md.Verification
cmake --build --preset dev --target cpu_sse2_sat_mul_lifted:ValueError: unsupported query operation at 0x1000: movdqu xmm0,[rcx]cmake --build --preset dev --target cpu_sse2_sat_mul_liftedsucceeded with 0 warningsctest --preset dev --no-tests=error -R "^(cpu_aot_sse2_sat_mul|cpu_aot_bmi1)$" -V: 2/2 passed (20 baseline 128-bit SSE2 saturating/mul/minmax/avg/sad cases matched native and translated DLLs, including saturation extremes,INT16_MIN * INT16_MINwrapping inpmaddwd, and 64-bit MMXpaddsb mm0, mm1rejection control).\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py:form coverage checks passedEvidence and follow-up
movdqu+ 20 packed integer ops) are baseline x86-64 SSE2 and require no CPUID capability gate.MMX-grouped mnemonics, 8SSE-grouped mnemonics, and 2SSE2-grouped mnemonics indocs/coverage/x64_zen2.tsvusing source-built fixtures.Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T23:38:54Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
8c712acℹ️ 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.