Tests: add disassembly verification for v_madak_f32 Xbox extension #1457
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1467"
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 ivall/xcl. Originally posted by Ayoub-devv on 2026-11-24T16:33:55Z.
What is in it
crates/xcl/src/gpu/rdna2.rs: add one#[test](console_madak_f32_disassembles) that decodes a fixed byte encoding of the Xbox console extensionv_madak_f32(opcode 0x21, ENC_VOP2, MADAK format) and asserts the disassembly string. No runtime code is changed; the test lives inside the existing#[cfg(test)] mod tests.Tested
XCL_SAMPLE_*required)cargo test -p xcl --lib console_madak_f32_disassembles: 1 passed, 0 failedfetch_updatedeprecation warning fromxgameruntime/mod.rswas emitted; unrelated to this diff.Regression run
#[cfg(test)];optimal_mode/disassembler runtime code is unmodified.Not tested
AI use
Imported from ivall/xcl. Originally posted by copilot-pull-request-reviewer[bot] on 2026-11-24T16:34:11Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Imported from ivall/xcl. Originally posted by futurepro62 on 2026-11-24T16:57:19Z.
Full-suite run, since this PR has no test report yet. Tested exact head
0293e77(on its baseb7aa9f3).Tested
cargo build --workspace, thenXCL_REQUIRE_GPU=mesh cargo test --workspace -- --test-threads=4: 771 passed, 0 failed, 41 ignored. SKIPPED (no wave64):gpu_geometry_wave32_prefix_count_over_a_mask,gpu_wave32_program_in_wave64_hardware.console_madak_f32_disassembles.XCL_ADAPTER=radeon),cargo test --workspace -- --test-threads=4: 771 passed, 0 failed, 41 ignored, no skips.Not tested
AI use
Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-24T18:53:04Z.
Verification on RTX 3060 Ti (Windows 11), branch merged with current
main:cargo test -p xcl --lib: all passed, 0 failed, ~21 ignored. (Intermittent single-test flake / 0xc0000005 abort under parallel scheduling; clean on single-threaded rerun — same flake seen on unmodifiedmain.)Thanks!
Imported from ivall/xcl. Originally posted by Toons29 on 2026-11-25T03:31:56Z.
Regression run of
0293e77bon the retail title, for this PR's Regression run section. Both blocks are fromscripts/smoke.ps1as printed, not edited:mainon4178e888, this PR on its head commit with no uncommitted changes, same title and time.Against the limits in CONTRIBUTING.md: 101 % of
main's frames, 100 % of its peak commit, no crash, no device removal.AMD Radeon RX 9070 (RDNA4, driver 32.0.32029.2010), Ryzen 7 7800X3D, 32 GB, Windows 11 build 26300, Rust 1.100.0,
cargo build --release -p xcl, 60 s,XCL_NETWORK=0. This is a regression check only: it does not show whether the run reaches the code this PR changes.AI use: Claude Code (Claude Opus 5.5) built both trees and ran
scripts/smoke.ps1; I checked the blocks before posting.upstream-sync referenced this pull request2026-11-25 06:04:27 +00:00
Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-29T07:40:56Z.
Nothing has happened on this PR for 3 days, so it is marked
staleand will be closed in 4 days. A push or a comment takes the mark off: rebase it ontomainif it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T05:51:58Z.
Triage (#1607) – head
0293e77No open or merged PR makes the same change. The test encodes
v_madak_f32 v1, v2, v3, 0x3f800000(VOP2 opcode 0x21, literal last) and matches the MADAK operand order ingpu/rdna2_xbox.rs; it complements the existingv_madmk_f32case inconsole_legacy_mad_mac. No problems found in the diff.Recommendation: keep open.
AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.