cpu: lower VEX AVX packed saturating, min/max, avg, multiply, and sad instructions #395
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/401"
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:21:51Z.
Change
tools/ffx_version_query.py:vpaddsb,vpaddsw,vpaddusb,vpaddusw,vpsubsb,vpsubsw,vpsubusb,vpsubuswvpminsb,vpmaxsb,vpminub,vpmaxub,vpminsw,vpmaxsw,vpminuw,vpmaxuw,vpminsd,vpmaxsd,vpminud,vpmaxudvpavgb,vpavgw,vpmulhw,vpmulhuw,vpmullw,vpmulld,vpmuldq,vpmuludq,vpmulhrsw,vpmaddwd,vpmaddubsw,vpsadbw,vmpsadbwEncodingKind.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_minmax_mul.{asm,def,py}, CMake targetcpu_avx_int_minmax_mul_lifted, CTestcpu_aot_avx_int_minmax_mul, coverage mapping intools/form_coverage.py, and documentation indocs/experiments.md.Verification
cmake --build --preset dev --target cpu_avx_int_minmax_mul_lifted:ValueError: unsupported query operation at 0x1008: vpaddsb xmm0,xmm1,xmm2cmake --build --preset dev --target cpu_avx_int_minmax_mul_liftedsucceeded with 0 warningsctest --preset dev --no-tests=error -R "^(cpu_aot_avx_int_minmax_mul|cpu_aot_bmi1)$" -V: 2/2 passed (33 VEX AVX saturating/minmax/avg/mul/sad cases matched native and translated DLLs+ EVEXvpmulldrejection 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:17Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
5700d1eℹ️ 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:44:41Z.
Maintainer update at
e2a1f8c: resolved the conflict on main after #387, keeping both CTest registrations and the original 128-bit MASM controls. The independent comparisons also cover the modular VPMADDWD boundary and a 32-byte memory VMPSADBW whose immediate selects different offsets in the two lanes.ctest --preset <dev|release> --no-tests=error -R '^cpu_aot_(avx_int_minmax_mul|avx_packed_fp|avx_packed_int|sse2_sat_mul|ssse3_int)$'passed 5/5 in each preset. The original branch is fast-forwarded and Windows CI is rerunning.