cpu: lower baseline 128-bit SSE2 packed integer ALU instructions #360
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/366"
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:31:43Z.
Change
movdquand 18 baseline SSE2 packed integer ALU instructions intools/ffx_version_query.py:paddb,paddw,paddd,paddq,psubb,psubw,psubd,psubqpand,pandn,por,pxorpcmpeqb,pcmpeqw,pcmpeqd,pcmpgtb,pcmpgtw,pcmpgtdEncodingKind.LEGACYXMM forms, preserving upper YMM bytes (16..31) and rejecting 64-bit MMX encodings.tests/cpu/sse2_int.{asm,def,py}, CMake targetcpu_sse2_int_lifted, CTestcpu_aot_sse2_int, coverage mapping intools/form_coverage.py, and documentation indocs/experiments.md.Verification
cmake --build --preset dev --target cpu_sse2_int_lifted:ValueError: unsupported query operation at 0x1000: movdqu xmm0,[rcx]cmake --build --preset dev --target cpu_sse2_int_liftedsucceeded with 0 warningsctest --preset dev --no-tests=error -R "^(cpu_aot_sse2_int|cpu_aot_bmi1)$" -V: 2/2 passed (18 baseline 128-bit SSE2 packed integer ALU cases matched native and translated DLLs+ MMX 64-bitpaddb mm0, mm1rejection control).\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py:form coverage checks passedEvidence and follow-up
movdqu+ 18 packed integer ALU ops) are baseline x86-64 SSE2 and require no CPUID capability gate.MMX-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:42:37Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
bedf35d195ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T23:38:03Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
bedf35dℹ️ 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.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-21T23:42:38Z.
Code review location:
docs/experiments.md; line 417A passing
cpu_aot_sse2_intdoes not perform the independent-reference check claimed here:tests/cpu/sse2_int.py:51-57only calls the native and lifted functions and compares their output buffers. This establishes native-versus-translated agreement, not the additional reference validation described in the experiment notes. Either add independently computed expected results or remove that claim, consistent withAGENTS.md's requirement to “State what was measured.”AGENTS.md reference: AGENTS.md:L135-L136
Useful? React with 👍 / 👎.