cpu: lower VEX AVX packed sign/zero-extend, horizontal integer, and phminposuw #396
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/402"
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:24:18Z.
Change
tools/ffx_version_query.py:vpmovsxbw,vpmovsxbd,vpmovsxbq,vpmovsxwd,vpmovsxwq,vpmovsxdqvpmovzxbw,vpmovzxbd,vpmovzxbq,vpmovzxwd,vpmovzxwq,vpmovzxdqvphaddw,vphaddd,vphaddsw,vphsubw,vphsubd,vphsubsw,vphminposuwEncodingKind.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_int_extend_hadd.{asm,def,py}, CMake targetcpu_avx_int_extend_hadd_lifted, CTestcpu_aot_avx_int_extend_hadd, coverage mapping intools/form_coverage.py, and documentation indocs/experiments.md.Verification
cmake --build --preset dev --target cpu_avx_int_extend_hadd_lifted:ValueError: unsupported query operation at 0x1004: vpmovsxbw xmm0,xmm1cmake --build --preset dev --target cpu_avx_int_extend_hadd_liftedsucceeded with 0 warningsctest --preset dev --no-tests=error -R "^(cpu_aot_avx_int_extend_hadd|cpu_aot_bmi1)$" -V: 2/2 passed (19 VEX AVX extend/horizontal/minpos cases matched native and translated DLLs+ EVEXvpmovsxbwrejection 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:28:14Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
5704bd3ℹ️ 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-23T15:59:51Z.
Maintainer update at
5fbc4ab: resolved the shared-lowerer and CMake conflicts after #401, retaining all 19 original XMM cases. The new YMM controls are AVX2-gated and compare an 8-byte sign-extension read and a 32-byte horizontal add against native plus independent lane references. The shared width-aware memory read is used, and both EVEX and a VEX source outside the register profile produce a diagnostic.ctest --preset <dev|release> --no-tests=error -R '^cpu_aot_(avx_int_extend_hadd|avx_int_minmax_mul|avx_packed_int|avx_packed_fp)$'passed 4/4 in each preset, with the AVX2 controls exercised. The original PR branch was fast-forwarded and CI is rerunning.