Repository navigation
Conversation
…32 class The translator handled these RDNA2 instructions but nothing ran them on a device, so signedness, -0 ordering and the f32 class-bit mapping could break unseen. Adds the synthetic hardware cases requested in Marvisak#799, Marvisak#800, Marvisak#802 and
|
Windows CI passed: https://github.com/Altorru/VIctory/actions/runs/45391712656 — clippy (default and all-features) and cargo test --workspace. The new tests ran, not skipped: v_cmp_class_f32_matches_rdna2, bfe_signed_and_unsigned_match_rdna2, max_and_min_order_negative_zero_below_positive_zero and v_med3_min3_max3_integer_matches_rdna2 all report ok on WARP. |
|
Windows CI passed: 45391712656 — clippy (default and all-features) and cargo test --workspace. Four RDNA2 tests (v_med3_min3_max3_i32/u32, v_max_f16 zero-order, s_bfe_u32, v_cmp_class_f32) all ran and report ok on WARP. No game data. Ready for merge or cherry-pick by a Marvisak collaborator. |
1 similar comment
|
Windows CI passed: 45391712656 — clippy (default and all-features) and cargo test --workspace. Four RDNA2 tests (v_med3_min3_max3_i32/u32, v_max_f16 zero-order, s_bfe_u32, v_cmp_class_f32) all ran and report ok on WARP. No game data. Ready for merge or cherry-pick by a Marvisak collaborator. |
|
CI pass confirmed: 45391712656 — clippy + all-features + cargo test --workspace. Four RDNA2 tests all ran and report ok on WARP. No game data. Ready for merge/cherry-pick. |
Adds the four synthetic RDNA2 hardware tests that upstream issues Marvisak#799, Marvisak#800, Marvisak#802 and Marvisak#803 list as missing, so this fork PR is also the CI run for them:
v_min3_i32/u32,v_max3_i32/u32,v_med3_i32/u32with signed/unsigned negatives and INT_MIN/INT_MAX (Shaders: v_min3/max3/med3 integer variants (i32, u32) have no synthetic hardware tests Marvisak/VIctory#800).-0ordering forv_max_f16,v_min_f16,v_max3_f16,v_min3_f16(Shaders: v_max_f16/v_min_f16/v_max3_f16/v_min3_f16 have no negative-zero ordering test Marvisak/VIctory#802). The two-operand forms are VOP2 0x039/0x03a here, not the VOP3 values in the issue text.s_bfe_u32(SOP2 0x27) including the 7-bit width=32 case (Shaders: s_bfe_u32 (SOP2 0x27) has no scalar hardware test Marvisak/VIctory#803).v_cmp_class_f32(VOPC 0x088) across all ten IEEE-754 classes (Shaders: v_cmp_class_f32 (VOPC 0x088) has no synthetic hardware test Marvisak/VIctory#799).No game data. Tested by this PR's Windows CI (
cargo test --workspace); locally onlyrustfmt,git diff --checkand the unaffected CPU tests could run because the harness iscfg(all(test, windows)).AI-assisted: the tests were written by an agent (Codebuff) at the maintainer's request; no hardware was available locally, so the first execution is CI's WARP/hardware run.