Progress: RDNA2 676/721 (VOPC verified on WARP) #15

Closed
github-bot wants to merge 1 commit from gh-pr/15/head into gh-pr/15/base
Owner

@⁠QuentinDanblon on GitHub · 2026-11-21 17:24 UTC · original
QuentinDanblon:progress/vopc-verified → main · +214 −111 · 6 files · 1 commits · closed without merging

Library / area: tombox-xshader / progress map (RDNA2 instructions)

Exports changed (exports.txt rows): none

Source of the behaviour: the existing ISA model in tests/exec_vop/vopc.rs (no code change)

tests/exec_vop/vopc.rs (vopc_f16, vopc_f32, vopc_f64, vopc_i32, vopc_u32) passes at 226938c on D3D12 WARP with DXC 1.9.2609 (official GitHub release; the Windows SDK 10.0.26100 bin folder has dxcompiler.dll but not dxil.dll, so tests fail with "not found" unless TOMBOX_DXC_DIR points at a full DXC). The 103 VOPC mnemonics it covers were missing from rdna2_verified, so the map counted them as not done.

TOMBOX_DXC_DIR=<dxc>\bin\x64 TOMBOX_EXEC_VERIFIED=<dir> cargo test -p tombox-xshader --release --test exec vopc
test result: ok. 5 passed; 0 failed   (105 s)

Result after python tools/progress/gen.py: RDNA2 instructions 573/721 → 676/721. Only the instruction metric changes in LIBRARY_MAP/MILESTONES/summary/badges.

Side note from the full --test exec run on this machine (Windows build 26300, WARP): 56 pass, 4 fail: vop::basic::{salu_basic, vop1_basic, vop2_basic, vop3_basic}. The failing cases are s_lshl_b64 SCC, s_bfm_b64 high dword, s_addk_i32 SCC, s_bfe_i32/v_bfe_i32 edges, v_fract_f32 (emitted as frac()), v_log/v_rsq/v_sqrt NaN sign, v_ceil_f16. None of these are in rdna2_verified; a follow-up PR fixes them.

  • cargo test -p tombox-xshader --release --test exec vopc passes
  • No game or console files and no binaries included
  • No fake success; anything not possible is left missing with a note
**@⁠QuentinDanblon** on GitHub · 2026-11-21 17:24 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/15) `QuentinDanblon:progress/vopc-verified` → `main` · +214 −111 · 6 files · 1 commits · closed without merging **Library / area:** tombox-xshader / progress map (RDNA2 instructions) **Exports changed (exports.txt rows):** none **Source of the behaviour:** the existing ISA model in `tests/exec_vop/vopc.rs` (no code change) `tests/exec_vop/vopc.rs` (`vopc_f16`, `vopc_f32`, `vopc_f64`, `vopc_i32`, `vopc_u32`) passes at 226938c on D3D12 WARP with DXC 1.9.2609 (official GitHub release; the Windows SDK 10.0.26100 `bin` folder has `dxcompiler.dll` but not `dxil.dll`, so tests fail with "not found" unless `TOMBOX_DXC_DIR` points at a full DXC). The 103 VOPC mnemonics it covers were missing from `rdna2_verified`, so the map counted them as not done. ``` TOMBOX_DXC_DIR=<dxc>\bin\x64 TOMBOX_EXEC_VERIFIED=<dir> cargo test -p tombox-xshader --release --test exec vopc test result: ok. 5 passed; 0 failed (105 s) ``` Result after `python tools/progress/gen.py`: **RDNA2 instructions 573/721 → 676/721**. Only the instruction metric changes in LIBRARY_MAP/MILESTONES/summary/badges. Side note from the full `--test exec` run on this machine (Windows build 26300, WARP): 56 pass, 4 fail: `vop::basic::{salu_basic, vop1_basic, vop2_basic, vop3_basic}`. The failing cases are s_lshl_b64 SCC, s_bfm_b64 high dword, s_addk_i32 SCC, s_bfe_i32/v_bfe_i32 edges, v_fract_f32 (emitted as `frac()`), v_log/v_rsq/v_sqrt NaN sign, v_ceil_f16. None of these are in `rdna2_verified`; a follow-up PR fixes them. - [x] `cargo test -p tombox-xshader --release --test exec vopc` passes - [x] No game or console files and no binaries included - [x] No fake success; anything not possible is left `missing` with a note
tests/exec_vop/vopc.rs (vopc_f16/f32/f64/i32/u32) passes at 226938c on
D3D12 WARP with DXC 1.9.2609: every v_cmp/v_cmpx condition as e32, e64
with abs/neg, SGPR destination, masked lanes and inline constants. The
103 VOPC mnemonics it covers were not yet in rdna2_verified.

Regenerated with tools/progress/gen.py.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 06:07:17 +00:00
github-bot closed this pull request 2026-11-26 06:07:17 +00:00
Author
Owner

@⁠QuentinDanblon on GitHub · 2026-11-21 18:17 UTC · original

Merged as ad43ad2, thanks. Closing.

**@⁠QuentinDanblon** on GitHub · 2026-11-21 18:17 UTC · [original](https://github.com/omonkeyz/xbox-emulator/pull/15#issuecomment-7067151386) Merged as ad43ad2, thanks. Closing.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.