cpu: lower VEX AVX packed integer ALU instructions #389
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/395"
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-22T00:15:46Z.
Change
tools/ffx_version_query.py:vpaddb,vpaddw,vpaddq,vpsubb,vpsubw,vpsubd,vpsubqvpand,vpandn,vporvpcmpeqb,vpcmpeqw,vpcmpeqd,vpcmpeqq,vpcmpgtb,vpcmpgtw,vpcmpgtd,vpcmpgtqvpabsb,vpabsw,vpabsd,vpsignb,vpsignw,vpsignd,vpshufb,vpalignrEncodingKind.VEX(rejecting EVEX encodings) and zero upper YMM bytes for 128-bit XMM destinations.OSXSAVE) and 28 (AVX) plus XCR0 XMM/YMM state before invoking the native fixture (exiting 77 withSKIP_RETURN_CODE 77on hosts without AVX).tests/cpu/avx_packed_int.{asm,def,py}, CMake targetcpu_avx_packed_int_lifted, CTestcpu_aot_avx_packed_int, coverage mapping intools/form_coverage.py, and documentation indocs/experiments.md.Verification
cmake --build --preset dev --target cpu_avx_packed_int_lifted:ValueError: unsupported query operation at 0x1008: vpaddb xmm0,xmm1,xmm2cmake --build --preset dev --target cpu_avx_packed_int_liftedsucceeded with 0 warningsctest --preset dev --no-tests=error -R "^(cpu_aot_avx_packed_int|cpu_aot_bmi1)$" -V: 2/2 passed (26 VEX AVX packed integer ALU cases matched native and translated DLLs+ EVEXvpaddbrejection control).\out\pe-env\Scripts\python.exe -B tests/form_coverage_check.py:form coverage checks passedEvidence and follow-up
AVX-grouped mnemonics indocs/coverage/x64_zen2.tsvusing source-built fixtures, gated by a runtime CPUID/XCR0 check.Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-22T00:19:39Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
0fd139bℹ️ 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 R0Y00 on 2026-11-23T14:52:17Z.
I resolved the shared vector and CMake conflicts on the current branch after #666. All 26 original VEX.128 exports still match. The added VEX.256 VPSHUFB uses a 32-byte memory source and different reference patterns for its two lanes. The translator now rejects a register outside the shared profile with a normal error and preserves the memory operand's width. Both Debug and Release passed seven focused CPU CTests. GitHub CI is rerunning.