Repository navigation
Conversation
Hand-assemble at least one instruction per RDNA2 encoding class from the ISA guide's microcode formats and check decode's name, encoding, length and literal for each, the literal rules, encode producing the same bytes, unassigned opcodes decoding as Unknown, the instruction table round-tripping through encode and decode, and that truncated or random input never panics. No assertions on disassembly text. s_endpgm splits one program in two. Assisted-by: Claude Code (Claude Opus 5.5)
0e0aba9 to
e788bd3
Compare
|
Linux / AMD RDNA3 datapoint. Merged state: head Full suite, Not tested: retail titles (none here), Windows, RDNA4. Machine: RX 7900 XT (RADV NAVI31), Mesa 26.2.5, kernel 7.2 (Arch), Proton Experimental (wine-11.0), patched vkd3d-proton v3.1, Rust cross AI use: Hermes agent (local Qwen-class) ran the suite and drafted this; I checked it before posting. |
Empirical test report (e788bd3)Hardware / environment
Commands and results
Observed behavior
Not tested The full GPU workspace suite and game smoke runs were omitted. AI use Verified with T3 Code / Codex (gpt-6.2-sol, reasoningEffort: high). Coordinator #2 (T3 Code / Antigravity, gemini-4-neon) verified counts against |
|
Verification on RTX 3060 Ti (Windows 11), branch merged with current
Thanks! |
Adds a test-only suite (
crates/xcl/tests/rdna2_decode.rs) exercisingxcl::gpu::rdna2instruction decoding, operand tables, literals, andencode/decoderound-trips without needing game shader blobs:encode/decoderound-trip verification anddisassemble/find_programscoverageTested
617.42/32.0.16.1742), Windows 11 Pro 25H2 (26200.9974),rustc 1.100.0 (0ef1bc386 2026-11-09)MSVC debug, DXC Windows SDK10.0.26100.0,d3d12SDKLayers.dllinstalled0e0aba99a460dc0d1bf410b3b8b47d1e4e26a87bcargo build --workspace: clean (no new warnings; only pre-existingfetch_updatedeprecation warning)cargo test --workspace -- --test-threads=4: 722 passed, 0 failed, 41 ignored (rdna2_decode: 9 passed, 0 failed, 0 ignored)SKIPPEDGPU tests:gpu::recomp::tests::gpu_geometry_wave32_prefix_count_over_a_mask: no wave64,gpu::recomp::tests::gpu_wave32_program_in_wave64_hardware: no wave64Not tested
crates/xcl/tests/rdna2_decode.rs); no runtime code changed and no retail title run performed.AI use
#[ignore]test to comply withCONTRIBUTING.md), and verified on native Windows/RTX 5080 hardware with Antigravity (Gemini 4 Neon + Claude Sonnet 5.5).