Repository navigation
test(relinker): execute lane-split memory operands - #27680
nedara312-art wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
MarcZX10
left a comment
There was a problem hiding this comment.
Reviewed — looks good
Nothing blocks this change; the review found no verified defects in the changed code.
What I ran
Reviewed head 80f1021bff73ad815a0d73d64d301a6100808e89. No commands or tests were run in this review; the build and test results below were reported by the author.
Results
| Check | Result | Note |
|---|---|---|
| Code review | passed | All three changed files read |
| Build and tests | not run | Author reports build and 1165 tests passed |
| Other reported checks | not run | Debt, conventions, and diff checks reported passed |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The reported build, tests, and repository checks were not independently run. No title or homebrew was tested, per the PR description. All changed files listed in the manifest were read; no files were excluded.
To get this to a good state
Nothing is required.
Plyxen
left a comment
There was a problem hiding this comment.
Checked head 80f1021bff. I applied it to main ad7582bad4 together with #27668, #27649 and #27560, which touch different files. On Windows 11 with WinLibs GCC 15.2 (Release), tools/check_conventions.py --head on each head and tools/debt_fold.py --check passed, the build succeeded, and all 4,930 CPU tests passed (I left out the GPU tests). The ten relinker and codegen tests I ran for these four (amd64_only_converter, amd64_only_windows, red_zone_framer, red_zone_framer_execution, lane_split_lowering, relinker_conversion and four more) passed.
lane_split_lowering now runs the memory-source forms through [rdi+512], and VPMOVMSKB into every destination register from 0 to 15, RDI included. For that, the shared harness saves RDI on the stack and reloads it from there (push rdi, mov rdi, [rsp], and pop rdi before the return). This is test-only, so there is no main-source control to run.
AI-assisted: yes (Claude Code)
|
Thank you for your contribution! Authors with no pull requests merged into |
What
Extend the lane-split execution tests to run memory sources through
[rdi+512]for every supported form except the register-only shift-immediate forms. Check the split results, source-memory preservation, other registers, and the red zone.Run VPMOVMSKB with every destination register from 0 through 15, including RDI. Update the shared vector execution harness to preserve and reload its RDI pointer without shifting RSP before snapshots, while retaining the existing destination-RSP capture path.
Tested
Windows 11, WinLibs GCC 16.2.0, relinker-only Release on current
main. No title or homebrew tested.cmake --build build-relinker --parallel 4: passed.ctest --test-dir build-relinker --output-on-failure -j4: 1165/1165 passed in 296.26 seconds.python tools/debt_fold.py --check: passed.python tools/check_conventions.py: passed.git diff --check upstream/main...HEAD: passed.python tools/pr_overlap.py --branch test/relinker-lanesplit-memory: reported feat(relinker): lower reciprocal approximations with measured Zen 2 tables #23747 and feat(relinker): lower FMA under --to-avx #24472 and could not automatically compare feat(relinker): lower the remaining AVX2 instructions under --to-avx #23636. Manual comparison confirmed that feat(relinker): lower the remaining AVX2 instructions under --to-avx #23636 adds lane-split forms and native comparisons, while feat(relinker): lower reciprocal approximations with measured Zen 2 tables #23747 and feat(relinker): lower FMA under --to-avx #24472 extend the shared Runner for reciprocal and FMA lowering. None implements this memory-operand coverage, and this PR does not build on them.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit