Repository navigation
test(recompiler): cover BDA store boundary faults and written pages - #3513
Merged
adriadam10 merged 1 commit intoOct 11, 2026
Merged
Conversation
9 tasks done
Collaborator
|
Re-triggering CI: the base checkout failed on a stray gitlink in main, removed by #3511 (a rerun keeps the old base). |
Collaborator
|
Re-triggering CI: the base checkout failed on a stray gitlink in main, removed by #3511 (a rerun keeps the old base). |
Collaborator
|
Checked on Linux (scoped build + ctest of libSceAgcDriver): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Replaces #2447, which was closed during the earlier intake pause. GitHub rejects reopening that PR after the branch rebase, including after restoring its recorded head.
Extend
agc_driver_bda_devicewith 16 single-invocation byte, halfword and dword store cases that exercise the production BDA emitter. They check final bytes, unchanged surrounding bytes in the fixture buffers, first-fault address/width/PC/stage/reason, exact written-page sets and unique written-chunk claim counts. Both coherent and noncoherent stores are covered.Cases cross mapped-range, page and chunk boundaries at a high guest address, including writable-to-read-only transitions, an unmapped byte between mapped ranges, and an aligned dword whose whole-span lookup must fail without partial writes. The fixture uses the current chunk-key, page-mask and claim-list ABI and validates generated SPIR-V when SPIRV-Tools is enabled.
The new cases run on CPU Vulkan. Existing upstream read and multi-dword write cases retain their explicit CPU skip, so this does not claim those subtests executed on lavapipe. The merged #2305 span/multi-dword fixtures and written-range decoder checks are preserved. Four test files change; production code and instruction semantics are unchanged.
Rebased onto
main0f863c102207dae4b77b1a2bad16c3aedec34691, with candidate6199661506b8ca0265fe17e86a5ef814d53930fe. Open #2837 adds adjacent read cases and #3472 changes production written-page bookkeeping; neither supplies these boundary-store tests, and this PR does not depend on either.Tested
Private validation run 38137044665 passed on locally managed runner
lab-github-actions-runner, with source pinned to6199661506b8ca0265fe17e86a5ef814d53930feand workflow commitfce46875d092f3e6672b012fa1e17de8e1c903ba.agc_driver_bda_device: 1/1 passed in 4.43 s, zero CTest skips, with all 16 new store cases executing. The existing read/multi-dword CPU subtest skips are reported inside that executable.The historical full-suite results for the old #1265/#1280 integration branches apply to their earlier base, not this rebased test-only head. No title, Windows or physical-GPU testing is claimed. Existing CPU read/multi-dword skips remain explicit.
Upstream automatic CI on base
2220effbe42c850d7f8df56dbac52e3cdea54009currently fails during checkout, before the conventions checker or build:3rdparty/imguiis a gitlink without a URL in.gitmodules. Upstream #3511 addresses that base-branch issue. The independent pinned lab results above passed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)