cpu: lower VEX AVX packed integer ALU instructions #395
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!395
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/395/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-22 00:15 UTC · original
Vonsek:ag/cpu-lower-avx-packed-int→main· +522 −0 · 6 files · 5 commits · merged 2026-11-23 15:11 UTCChange
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.@chatgpt-codex-connector[bot] on GitHub · 2026-11-22 00:19 UTC · original · edited 2026-11-22 00:23 UTC
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.
@R0Y00 on GitHub · 2026-11-23 14:52 UTC · original
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.