Shader tests: a cross-device VALU fuzzer (hardware adapters vs WARP), ignored by default #129
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!129
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-129"
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?
@alexdeliu on GitHub · 2026-11-25 15:23 UTC · original
alexdeliu:test/valu-fuzz→main· +830 −0 · 2 files · 1 commits · openWhat
Adds
emit/fuzz_tests.rsand one#[cfg(all(test, windows))] mod fuzz_tests;line inemit/mod.rs. Nothing outside the tests changes.The test
valu_hardware_and_warp_agreetakes every VOP3- and VOP3P-encoded GFX10 opcode the translator lowers and runs each one alone as a one-thread compute shader. It runs on every hardware adapter and on WARP, with the same inputs on each: signed zeros, denormals, infinities, quiet and signalling NaNs, integer edges, f16 edges in either half, and pseudo-random dwords. It then reports every opcode whose results differ between devices, simplest inputs first, with the instruction words and inputs a regression test needs.It is
#[ignore]d because a run takes minutes of GPU time. With fewer than two devices (CI has WARP only) it returns without comparing.Switches:
VICTORY_FUZZ_CASES(default 160),VICTORY_FUZZ_OPS,VICTORY_FUZZ_MODS=1(abs/neg/clamp/omod),VICTORY_FUZZ_OUT(Markdown report).Why
This fork is tested on one RDNA4 card. The fuzzer shows where a translation relies on behaviour that DXIL leaves to the device, so the same title would compute different values on RDNA2, RDNA3, RDNA4 or another vendor. It is a port of the fuzzer from Marvisak/VIctory#1614 (same author), adapted to this fork's lowering. Its findings so far:
Tested
One machine: RX 9070 (RDNA4, 32.0.32029.2010), Ryzen 7 7700 iGPU (gfx1036, RDNA2, 32.0.21045.29003) and WARP; Windows 11 Pro 26200;
VICTORY_DXIL= dxil.dll 1.8.2502.11.cargo test -p victory-shader --lib -- --test-threads=1on the RX 9070: 266 passed, 0 failed, 9 ignored. The 3 extra ignored are this module's tests.cargo test -p victory-shader --lib fuzz_tests -- --ignored --nocaptureat71652a2: 307 opcodes compared, 160 inputs each, in 8.5 minutes. 38 differ, 39 are refused by the translator, and 4 lose a device (always-false/always-truev_cmp_f_*/v_cmp_tru_*on WARP only). Two runs gave identical results. The test fails when devices disagree, which is how it reports findings.v_fmac_f16,v_pk_fmac_f16,v_fma_f16,v_pk_fma_f16,v_fma_mixlo_f16,v_fma_mixhi_f16;v_add_f64andv_mul_f64: the shared-dword AMD bug, wrong on RDNA4 in this fork's shape.v_min/max/min3/max3/med3_f32, the f32 FMA forms and the f16 add/sub (denormal and rounding handling);v_cvt_f32_u32,v_cvt_f32_f64/v_cvt_f64_f32,v_cubesc/tc_f32, andv_sin/cos/log, which are approximate.The full per-opcode report, with the simplest disagreeing inputs and the instruction words for each, is attached as a comment.
Not tested
AI use: Claude Code (Claude Opus 5.5) ported the fuzzer and ran it on my machine.
🤖 Generated with Claude Code
@alexdeliu on GitHub · 2026-11-25 15:23 UTC · original
The full report of the run in the description (
71652a2, RX 9070 + gfx1036 iGPU + WARP, 160 inputs per opcode). Each section lists the simplest disagreeing inputs first, with the instruction words for a regression test.VALU cross-device fuzz report (38 opcodes differ)
VALU cross-device fuzz
Devices: AMD Radeon RX 9070, AMD Radeon(TM) Graphics, WARP.
307 opcodes compared, 160 inputs each; 38 differ; 39 refused by the translator; 4 lost a device.
v_cmp_lt_i64(VOP3 0x0a1): 57 of 160 differ0x000000000x0000ffff0x800103ff0x7fc000000x000000010x000000010x000000000x000000000x380056400x800103ff0x273894440x000000010x000000010x000000000x000000000xa989fbff0x800000000x000100010x000000010x000000010x000000000x0000000f0x3f0000000x000000000x000000010x000000010x000000010x000000000x83ff3c010x808000000x000000000x4b8000000x000000000x000000000x000000010x9220fe000x000000000x404000000x091f3eab0x000000000x000000000x000000010xffc000000x000000000x73ed38000xbbf049fb0x000000000x000000000x000000010x000000010x7bf03c010x4b8000000xa9d07e000x000000010x000000010x00000000Repro:
build(&[0xd4a10014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0x0000ffff, 0x800103ff, 0x7fc00000].v_cmp_le_i64(VOP3 0x0a3): 60 of 160 differ0x000000000x0000003f0x000000010x400000000x000000010x000000010x000000000x000000000x7d1c132e0xa0db40000xffff80000x000000010x000000010x000000000x000000010x4f0000000x000000000x000000400x000000010x000000010x000000000x3fc000000x5014f8b60x000000000x32de20b50x000000010x000000010x000000000x404000000x000000000x5fe283ff0x0000000f0x000000000x000000000x000000010xaed5e2e00x000000000x00007fff0xbf8000000x000000000x000000000x000000010x000000010x7c00fe000xfc2d1c4f0x3f7fffff0x000000010x000000010x000000000x000000400x4e8000000x17bdfe000xdeadbeef0x000000010x000000010x00000000Repro:
build(&[0xd4a30014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0x0000003f, 0x00000001, 0x40000000].v_cmp_gt_i64(VOP3 0x0a4): 78 of 160 differ0x000000000x4b7fffff0x0000007f0x000100010x000000000x000000000x000000010x000080000x000000000x1582ad110xfc0000010x000000010x000000010x000000000x000080000xde3d04000x80017e000x000000000x000000000x000000000x000000010x3f7fffff0x000000000x04003bff0x000000020x000000010x000000010x000000000x000000010x040000010x800000000x2edbe6ff0x000000000x000000000x000000010x000000010x5014f8b60xf45500000x4b7fffff0x000000000x000000000x000000010x000000010x7f8000010x4b8000000x77a403ff0x000000000x000000000x000000010x000000010xdeadbeef0xbbb8da170x000000010x000000000x000000000x00000001Repro:
build(&[0xd4a40014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0x4b7fffff, 0x0000007f, 0x00010001].v_cmp_ge_i64(VOP3 0x0a6): 69 of 160 differ0x000000000xfe003c000x959e90d00x7c0080000x000000000x000000000x000000010x00013c010x000000000x7f7fffff0x3f7fffff0x000000010x000000010x000000000x40490fdb0x000000000x7f8000010x7e0000000x000000010x000000010x000000000x5330ea0e0xbf70c0cb0x83ff03ff0x000000000x000000000x000000000x000000010xaaaaaaaa0x000000000x1dba70580x000080000x000000010x000000010x000000000xffc000000xfc003c010x177443d00x000000000x000000010x000000010x000000000x000000030xff8000000xd9ad19b60x7f8000010x000000000x000000000x000000010x0000001f0x7fc000000xb39214000x4e8000000x000000000x000000000x00000001Repro:
build(&[0xd4a60014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0xfe003c00, 0x959e90d0, 0x7c008000].v_cmp_lt_u64(VOP3 0x0e1): 104 of 160 differ0x000000000xffff80000x83ff7bff0x1fbd40000x000000010x000000010x000000000x000100010x241b23b80x000000000xa113b09c0x000000010x000000010x000000000x4b8000000x3effffff0x9de503ff0x000000000x000000000x000000000x000000010x9716fbff0x000000000xdeadbeef0x000000800x000000000x000000000x000000010x000000010x626efe000x4f8000000x0000ffff0x000000010x000000010x000000000x000000020x03ff7bff0x008000000xa328fbff0x000000010x000000010x000000000x000000020x7bff7bff0x560e2d8a0x3f7fffff0x000000010x000000010x000000000x000000020x7f8000000x000000100x2992ec940x000000010x000000010x00000000Repro:
build(&[0xd4e10014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0xffff8000, 0x83ff7bff, 0x1fbd4000].v_cmp_le_u64(VOP3 0x0e3): 95 of 160 differ0x040000000xfe0003ff0x3e24602a0x000000000x000000010x000000010x000000000x6b4a7c000x000000000x4f0000000xdfc1c2870x000000000x000000000x000000010x7fc000000x000000000x6fc56eb40x0000001f0x000000000x000000000x000000010xfa96fc000x000000000x544614000x03ff3bff0x000000000x000000000x000000010xffffff800x000000000x2ed87c010xff7fffff0x000000000x000000000x000000010x000000100x903a28290x00007fff0x766cfada0x000000010x000000010x000000000x000000100xffff80000xbf8000000xee8714000x000000010x000000010x000000000x000000210x3f7fffff0x00007fff0x000000ff0x000000010x000000010x00000000Repro:
build(&[0xd4e30014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x04000000, 0xfe0003ff, 0x3e24602a, 0x00000000].v_cmp_gt_u64(VOP3 0x0e4): 108 of 160 differ0x000000000x4f0000000x4b7fffff0x4e3a7bff0x000000000x000000000x000000010x000000000xff7fffff0xfc0084000x7fc000000x000000000x000000000x000000010x000000400x000000000x800000010x00007c000x000000010x000000010x000000000x009456400x404000000x000000000x800014000x000000000x000000000x000000010x162714000x4b135e1b0x000000000x0c3080a10x000000000x000000000x000000010x202b620a0x000000000x7fffffff0x808000000x000000010x000000010x000000000x2abe3c000x000000000x404000000xcbd277c80x000000010x000000010x000000000x3998819a0x000000000x7fc000000x9f80eb650x000000010x000000010x00000000Repro:
build(&[0xd4e40014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0x4f000000, 0x4b7fffff, 0x4e3a7bff].v_cmp_ge_u64(VOP3 0x0e6): 110 of 160 differ0x000000000xaaaaaaaa0x0000001f0xa0d03c000x000000000x000000000x000000010x000000000xe17eb2d00x7fc000000x7fffffff0x000000000x000000000x000000010x00007fff0x63c4fbff0x000000000x7f8000000x000000000x000000000x000000010x0001bc000x31354e210x000000000xe1d147700x000000000x000000000x000000010x48c8a6400x4b8000000x000000000x007fffff0x000000000x000000000x000000010x4f8000000xe3ac80000x000000000x0000007f0x000000000x000000000x000000010x7f8000000xe3f169810x000000000x2edbe6ff0x000000000x000000000x000000010xaf2ed1310xfbffbc000xfbff00000x000000000x000000000x000000000x00000001Repro:
build(&[0xd4e60014, 0x02020501, 0xd5010000, 0x00510280])with v1..v4 =[0x00000000, 0xaaaaaaaa, 0x0000001f, 0xa0d03c00].v_fmac_legacy_f32(VOP3 0x106): 13 of 160 differ0x000000010xffff80000x687e14000x000100000x000100000x000100000x000000000x0000003f0x3c0180010x3f7fffff0x000000200x000000200x000000200x000000000x000000800xe74400000xb2d280010x800138000x800138000x800138000x000000000x00007fff0x3bff7c010xd00b639c0x000100010x000100010x000100010x000000000x3bfffe000x00007fff0x400000000x800000000x800000000x800000000x000000000x4b7fffff0x800000000x000080000x000000210x000000210x000000210x000000000x747db0e20x800000010x000000200x007fffff0x007fffff0x007fffff0x000000000x7f8000000x000080000x008000000x807fffff0x807fffff0x807fffff0x00000000Repro:
build(&[0xd5060000, 0x040e0501])with v1..v4 =[0x00000001, 0xffff8000, 0x687e1400, 0x00010000].v_min_f32(VOP3 0x10f): 5 of 160 differ0x000000100x7fc000000x4f0000000x3f8000000x000000000x000000000x000000100x000000200x7f8000010x5014f8b60x7f8000010x000000000x000000000x000000200x800000010x000000030x3c017e000xe09da3270x800000000x800000000x000000000x800000010x0000001f0x4f0000000x03e07c010x800000000x800000000x000000000x800084000x0000000f0xfc0000010xda9000010x800000000x800000000x00000000Repro:
build(&[0xd50f0000, 0x040e0501])with v1..v4 =[0x00000010, 0x7fc00000, 0x4f000000, 0x3f800000].v_max_f32(VOP3 0x110): 2 of 160 differ0x000000100x7fffffff0x00003c000xbc0083ff0x000000000x000000000x000000100x007fffff0x7f8000010xe04a86710xff7fffff0x000000000x000000000x007fffffRepro:
build(&[0xd5100000, 0x040e0501])with v1..v4 =[0x00000010, 0x7fffffff, 0x00003c00, 0xbc0083ff].v_fmac_f32(VOP3 0x12b): 5 of 160 differ0x765480010x9464aace0x000000000x3fc000000xcb3dcfc70xcb3dcfc70xcb3dcfc80x040000000x9dc01bda0x4f8000000x000056400x800000000x800000000x000000000x211b00000xe57afbff0x777f2d150x477f83ff0x46cf1ad70x46cf1ad70x46cf1ad80x3931c3450x7e0038000x7c007c010x6c878c490x77b2110d0x77b2110d0x77b2110c0xff7fffff0xcf0000000xdd8a8bc00xff8000000xff8000000xff8000000xffc00000Repro:
build(&[0xd52b0000, 0x040e0501])with v1..v4 =[0x76548001, 0x9464aace, 0x00000000, 0x3fc00000].v_add_f16(VOP3 0x132): 4 of 160 differ0x000000030x3c00fbff0x800180000xfd597c010xfd59fbfe0xfd59fbfe0xfd59fbff0x3f8000010x4000fbff0x000080000x7c0084000x7c00fbfe0x7c00fbfe0x7c00fbff0x5014f8b60x3f8000010x4f8000000x7fc000000x7fc0f8b50x7fc0f8b50x7fc0f8b60x8400fbff0x000000100x5014f8b60x53617c000x5361fbfe0x5361fbfe0x5361fbffRepro:
build(&[0xd5320000, 0x040e0501])with v1..v4 =[0x00000003, 0x3c00fbff, 0x80018000, 0xfd597c01].v_sub_f16(VOP3 0x133): 6 of 160 differ0x000000400xde9573cd0x64763ee70x58209ada0x5820f3cc0x5820f3cc0x5820f3cd0x000001000x6e52607c0xbc0040000x036fb3a80x036fe07b0x036fe07b0x036fe07c0x000100010xb7a940000x000000210x6f843c760x6f84bfff0x6f84bfff0x6f84c0000x3ac666c80x3f8000010xffff80000x0f0f0f0f0x0f0f66c70x0f0f66c70x0f0f66c80x41b700830xfe286b100x000001000x3f0000000x3f00eb0f0x3f00eb0f0x3f00eb100x7f8000010x800140000x19b114000x0a2eb7140x0a2ebfff0x0a2ebfff0x0a2ec000Repro:
build(&[0xd5330000, 0x040e0501])with v1..v4 =[0x00000040, 0xde9573cd, 0x64763ee7, 0x58209ada].v_subrev_f16(VOP3 0x134): 6 of 160 differ0x000000010x7bff56400x1b5400010xbf8000000xbf80563f0xbf80563f0xbf8056400x56403c010x000100010x40490fdb0x8ec3f81e0x8ec3bc000x8ec3bc000x8ec3bc010xaeb866330x000000210x7190ada50x400000000x4000e6320x4000e6320x4000e6330xc3ba77d30x800003ff0x808000000x4e8000000x4e80f7d20x4e80f7d20x4e80f7d30xd43b83ff0x78b9f2f70x0000bc000x4e8000000x4e80f2f60x4e80f2f60x4e80f2f70xfd0b7bff0x000000030x8001bc000xbf8000000xbf80fbfe0xbf80fbfe0xbf80fbffRepro:
build(&[0xd5340000, 0x040e0501])with v1..v4 =[0x00000001, 0x7bff5640, 0x1b540001, 0xbf800000].v_fmac_f16(VOP3 0x136): 4 of 160 differ0x000000010x000000400x1aabc0b10xdeadbeef0xdeadbeef0xdeadbeee0xdeadbeef0x000100010xec3a83ff0x8400bc000xca9940000xca9940000xca993fff0xca9940000x3d4c38000x000100010x4f0000000x76f6c3250x76f6c3250x76f6c3240x76f6c3250x7bff03ff0x0f7514000x83cb38000x9e1bea560x9e1bea560x9e1bea550x9e1bea56Repro:
build(&[0xd5360000, 0x040e0501])with v1..v4 =[0x00000001, 0x00000040, 0x1aabc0b1, 0xdeadbeef].v_pk_fmac_f16(VOP3 0x13c): 6 of 160 differ0x008000000x0f0f0f0f0x4b7fffff0xdbc853f70xdbc853f70xdbc753f70xdbc853f70x008000000xa0d7bf1a0x38007bff0x6b6ae9630x6b6ae9630x6b69e9630x6b6ae9630x3af59a520xfc0014000xffc000000x7c017bff0x7e017bff0x7e017bfe0x7fff7bff0x3fc000000x3c017bff0x94c504000x03ff04000x3fc204000x3fc104000x3fc204000xafc29c100x000100010x00017bff0x3fc000000x3fc080000x3fbf80000x3fc080000xb44700010xfe0003ff0xff8000000x99fff4670xfe00f4670xfe00f4660xfffff467Repro:
build(&[0xd53c0000, 0x040e0501])with v1..v4 =[0x00800000, 0x0f0f0f0f, 0x4b7fffff, 0xdbc853f7].v_fma_legacy_f32(VOP3 0x140): 14 of 160 differ0xd7ffd2d80x000000000x000104000x8ee838000x000104000x000104000x000000000xe071bc000x000000000x000000010x3c003c010x000000010x000000010x000000000xf2d3e2680x000000000x000001000x000000100x000001000x000001000x000000000x000000010x36acbc000x00007fff0x0000ffff0x00007fff0x00007fff0x000000000x000000010x800156400x0000ffff0x3bff00010x0000ffff0x0000ffff0x000000000x000000400x000000100x807fffff0x2cb03c010x807fffff0x807fffff0x000000000x000100010x000080000x80017bff0x0000000f0x80017bff0x80017bff0x000000000x0001fc000x7fffffff0x0000ffff0x7f7fffff0x0000ffff0x0000ffff0x00000000Repro:
build(&[0xd5400000, 0x040e0501])with v1..v4 =[0xd7ffd2d8, 0x00000000, 0x00010400, 0x8ee83800].v_cubesc_f32(VOP3 0x145): 19 of 160 differ0x000000010x000000100xe2b8c27d0xcf0000000x800000010x800000010x800000000x000000010x2b5f71b00xb7b389520x000001000x800000010x800000010x800000000x0000ffff0x812b47e60x8382a0430x7f8000000x8000ffff0x8000ffff0x800000000x000100010x0001fbff0xc02000000x000000020x800100010x800100010x800000000x03ff7bff0x83ff14000x000000800x81d8813f0x800000800x800000800x800000000x400000000x3effffff0x800000010xfffffffe0x000000010x000000010x000000000x404000000x7fc000000x000000ff0xffffffff0x800000ff0x800000ff0x800000000x40490fdb0x800000000x0000003f0x4f8000000x8000003f0x8000003f0x80000000Repro:
build(&[0xd5450000, 0x040e0501])with v1..v4 =[0x00000001, 0x00000010, 0xe2b8c27d, 0xcf000000].v_cubetc_f32(VOP3 0x146): 32 of 160 differ0x2edbe6ff0x000000030x7f7fffff0x000000000x800000030x800000030x800000000x4b8000000x800000010x3f7fffff0x000000000x000000010x000000010x000000000x000000010x000000010x808000000xa4b87bff0x800000010x800000010x800000000x000000010x006a985f0x000000020x310a77c40x806a985f0x806a985f0x800000000x0000001f0x00017e000x40490fdb0x4f0000000x80017e000x80017e000x800000000x000000200x000000030x404000000x007fffff0x800000030x800000030x800000000x000001000x800000010xff7fffff0x7fffffff0x000000010x000000010x000000000x007fffff0x800000010x3f8000000xfe003c010x000000010x000000010x00000000Repro:
build(&[0xd5460000, 0x040e0501])with v1..v4 =[0x2edbe6ff, 0x00000003, 0x7f7fffff, 0x00000000].v_fma_f32(VOP3 0x14b): 1 of 160 differ0xfc003bff0x20b700010x4fa97e000x00007bff0xdd3755c70xdd3755c70xdd3755c8Repro:
build(&[0xd54b0000, 0x040e0501])with v1..v4 =[0xfc003bff, 0x20b70001, 0x4fa97e00, 0x00007bff].v_min3_f32(VOP3 0x151): 2 of 160 differ0x03f984000x807fffff0x000100000x000000000x800000000x800000000x000000000x800000000x000000200x4e8000000x000000210x800000000x800000000x00000000Repro:
build(&[0xd5510000, 0x040e0501])with v1..v4 =[0x03f98400, 0x807fffff, 0x00010000, 0x00000000].v_max3_f32(VOP3 0x154): 2 of 160 differ0x0000001f0x840083ff0x800000010x50aebc000x000000000x000000000x800000000xff7fffff0x000000100x807fffff0xa8a040000x000000000x000000000x80000000Repro:
build(&[0xd5540000, 0x040e0501])with v1..v4 =[0x0000001f, 0x840083ff, 0x80000001, 0x50aebc00].v_med3_f32(VOP3 0x157): 10 of 160 differ0x000000010x4e8000000x807fffff0xfd7f5df00x000000000x000000000x800000000x0000000f0x3f8000010x800000010x4e8000000x000000000x000000000x800000000x0000001f0x807fffff0x3c0040000x03ffbc000x000000000x000000000x800000000x0000003f0x800000000x7f7fffff0xaf913c000x000000000x000000000x800000000x00007fff0x80017c010x6b457c010x000180010x000000000x000000000x800000000x000100010x0000000f0x807fffff0x800000010x000000000x000000000x800000000x000100010x800000000x3f8000000x000000030x000000000x000000000x800000000x38007e000x000000100x800000000x4f0000000x000000000x000000000x80000000Repro:
build(&[0xd5570000, 0x040e0501])with v1..v4 =[0x00000001, 0x4e800000, 0x807fffff, 0xfd7f5df0].v_add_f64(VOP3 0x164): 148 of 160 differ0x000000000x3effffff0x7f8000010x3f8000000x1f8000000x3effffff0x3effffff0x000000010xff8000000x000000000x40490fdb0x7fc000000x000000010x000000010x3f8000000x7f8000010xbc5da8580x000000000x5f8000000x3f8000000x3f8000000x4f0000000x0000001f0x37a77c000x000000000x4f00001f0x0000001f0x0000001f0x7f7fffff0x000080000x2a503c010x000000000x7f807fff0x000080000x000080000x86d4bc000x000000000x89e92df80x3fc000000x86d4bc000x000000000x000000000xdeadbeef0xafb528f60x1400bc000x000000000xc73173f20xdeadbeef0xdeadbeef0xfc007c000x7f8000000xaa492d940x000000000xbdc03e000xfc007c000xfc007c00Repro:
build(&[0xd5640000, 0x040e0501])with v1..v4 =[0x00000000, 0x3effffff, 0x7f800001, 0x3f800000].v_mul_f64(VOP3 0x165): 118 of 160 differ0x000000000x808000000xf33a80000x7f8000010x000000000x808000000x808000000x000000ff0xff8000000x000000000xcb4404000x000000000x000001fd0x000001fd0xd357a0e30x000000000x5014f8b60x4e8000000x000000000xb5e449620xb5e449620xff8000000x2edbe6ff0x000000000x00007fff0xd13432560x000000000x000000000x0000000f0x54d33bff0x3fc000000x0000003f0xfe78fa250x65f8ea220x65f8ea220x000000100x140000000x4f0000000x7fc000000x000000000x140000100x140000100x0000003f0x40490fdb0x0f0f0f0f0x0000ffff0x3d83b6c80x886f96d40x886f96d40x0000003f0x51a33c000xb73ea63d0xfc003c000x6223fbad0x1b71fded0x1b71fdedRepro:
build(&[0xd5650000, 0x040e0501])with v1..v4 =[0x00000000, 0x80800000, 0xf33a8000, 0x7f800001].v_cvt_f32_u32(VOP3 0x186): 2 of 160 differ0xde84975e0xff7fffff0x404000000x3c013c000x4f5e84970x4f5e84970x4f5e84980xeb8bc49b0xe6aaf6820x3f8000010xe7b114000x4f6b8bc50x4f6b8bc50x4f6b8bc4Repro:
build(&[0xd5860000, 0x040e0501])with v1..v4 =[0xde84975e, 0xff7fffff, 0x40400000, 0x3c013c00].v_cvt_f32_f64(VOP3 0x18f): 2 of 160 differ0xd31c7e000xb74f5a2b0x4f0000000x3f8000010x800000000x800000000x800007d70xfffffffe0x38007e000x800000010x800000000x000000000x000000000x0041f804Repro:
build(&[0xd58f0000, 0x040e0501])with v1..v4 =[0xd31c7e00, 0xb74f5a2b, 0x4f000000, 0x3f800001].v_cvt_f64_f32(VOP3 0x190): 3 of 160 differ0x007fffff0x6f67ac470x000000000xfaf2bd7e0x000000000x000000000xc00000000x807fffff0x000080000xeee804000x46774ff10x000000000x000000000xc00000000x807fffff0x65ec00000x400000000xc15e49a70x000000000x000000000xc0000000Repro:
build(&[0xd5900000, 0x040e0501])with v1..v4 =[0x007fffff, 0x6f67ac47, 0x00000000, 0xfaf2bd7e].v_log_f32(VOP3 0x1a7): 1 of 160 differ0x3f7fffff0xe5f27c000x4f0000000xffffff800xb3b8aa3c0xb3b8aa3c0xb3e00000Repro:
build(&[0xd5a70000, 0x040e0501])with v1..v4 =[0x3f7fffff, 0xe5f27c00, 0x4f000000, 0xffffff80].v_sin_f32(VOP3 0x1b5): 54 of 160 differ0x91d87c010x03ff3c010x3f8000000x000000000x932a06c00x932a06c00x000000000xae7c7bff0x000000000x74cc14000x9a119ee50xafc64cf80xafc64cf80x000000000xb77e80000x0f0f0f0f0x000000000x0001fc000xb8c7e23d0xb8c7e23d0xb8cc50000x008000000x800000010x30433ecb0x7bb284b50x01c90fd50x01c90fd50x01c90fdb0x008000000xfbff7c000x3f7fffff0x3effffff0x01c90fd50x01c90fd50x01c90fdb0x03177c000x3effffff0xbc007e000x040004000x046df3750x046df3750x046df37c0x04007c000xe5c54bd30xff7fffff0x7fffffff0x0549d29c0x0549d29c0x0549d2a20x135afbff0x000000020x3f7fffff0x6ea3fc000x14abfd650x14abfd650x14abfd6bRepro:
build(&[0xd5b50000, 0x040e0501])with v1..v4 =[0x91d87c01, 0x03ff3c01, 0x3f800000, 0x00000000].v_cos_f32(VOP3 0x1b6): 4 of 160 differ0x3effffff0x3f0000000x3c0180000x4fc080010xbf8000000xbf8000000xbf7ffff90x3f7fffff0xb2afa67b0x040000010x000084000x3f8000000x3f8000000x3f7ffff90xb5e1c56a0x289e7a520x97c581670xc1ac5e9c0x3f8000000x3f8000000x3f7ffffa0xb7a256400x3bff7bff0x84f33c000x83ff56400x3f8000000x3f8000000x3f7ffffaRepro:
build(&[0xd5b60000, 0x040e0501])with v1..v4 =[0x3effffff, 0x3f000000, 0x3c018000, 0x4fc08001].v_sin_f16(VOP3 0x1e0): 9 of 160 differ0x09e880940x1bb39ec10x3f7fffff0x3f7fffff0x3f7f83a10x3f7f83a10x3f7f83c80x140084000x000000200x0000007f0x000001000x00008e480x00008e480x00008e520x4f7a83ff0xffffff800x0000000f0x5014f8b60x50148e460x50148e460x50148e500x800083ff0x40003c000xff8000000x807fffff0x807f8e460x807f8e460x807f8e500x800184000x3c003c010xfe0083ff0x00007fff0x00008e480x00008e480x00008e520x9a9d80010x000103ff0x0d2c2f250xa292130d0xa29280060xa29280060xa292802c0xa027820d0xf6ff84000x6afec4520x808000000x80808a710x80808a710x80808a840xaf8484000x0000007f0x59f827560xfdfa396c0xfdfa8e480xfdfa8e480xfdfa8e52Repro:
build(&[0xd5e00000, 0x040e0501])with v1..v4 =[0x09e88094, 0x1bb39ec1, 0x3f7fffff, 0x3f7fffff].v_fma_f16(VOP3 0x34b): 2 of 160 differ0x000000800x709284000x1c3962380x807fffff0x807f62380x807f62370x807f62380x693c00010xfbff03ff0x0064abb60x3c0003ff0x3c00abb60x3c00abb50x3c00abb6Repro:
build(&[0xd74b0000, 0x040e0501])with v1..v4 =[0x00000080, 0x70928400, 0x1c396238, 0x807fffff].v_pk_fma_f16(VOP3P 0x0e): 8 of 160 differ0x000000030x5b313c000xb269e99d0xc02000000xb269e99d0xb269e99c0xb269e99d0x000100010x000000100xeee8b2db0x000000030xeee8b2db0xeee8b2da0xeee8b2db0x7c0180010x03ff80010x5014f8b60x800180010x7e01f8b60x7e01f8b50x7ffff8b60x800000010x817223440x126ee3230x3f8000000x126ee3230x126ee3220x126ee3230x800000010xfc00bc000x56403c010xcf0000000xfe003c010xfe003c000xffff3c010x80017c000xcbce80010xcead56400x2edbe6ff0xceadfc000xceacfc000xceadfc000xdeadbeef0x067a0e060xae5e75450x7e00fe000xb08875450xb08875440xb08875450xe46004000x03ff84000x5cfc3c4e0x3f8000000x5cfb3c4e0x5cfb3c4d0x5cfb3c4eRepro:
build(&[0xcc0e4000, 0x1c0e0501])with v1..v4 =[0x00000003, 0x5b313c00, 0xb269e99d, 0xc0200000].v_pk_add_f16(VOP3P 0x0f): 11 of 160 differ0x000000ff0x0400fbff0xa07a80010x2a48ef2f0x0400fbfe0x0400fbfe0x0400fbff0x000100010xfb0251fa0x800000010x3f8000000xfb0151fa0xfb0151fa0xfb0251fa0x04a6e4da0x7f8000010xfc003c010x0000003f0x7f80e4d90x7f80e4d90x7fffe4da0x08f8fa910x0000000f0xaea8f1ad0x83fffc000x08f8fa900x08f8fa900x08f8fa910x5014f8b60x000000030x800000000x2d9e53240x5014f8b50x5014f8b50x5014f8b60x5014f8b60x800180010x800000000x7fc438000x5013f8b60x5013f8b60x5014f8b60x800156400x530ffbff0xd71c14000x000000210x530efbfb0x530efbfb0x530ffbfb0x80017bff0xbfb380010x4f8000000xfe0080010xbfb37bfe0xbfb37bfe0xbfb37bffRepro:
build(&[0xcc0f4000, 0x1c0e0501])with v1..v4 =[0x000000ff, 0x0400fbff, 0xa07a8001, 0x2a48ef2f].v_fma_mixlo_f16(VOP3P 0x21): 5 of 160 differ0x000000010x000000210x5014f8b60x000056400x0000f8b60x0000f8b50x0000f8b60x000000200x83ff80010xc41e770a0x00007fff0x0000770a0x000077090x0000770a0x0000003f0x000000010x9630bc000x000000100x0000bc000x0000bbff0x0000bc000x000100010xe54284000x400038000x8000fc000x800038000x800037ff0x800038000x3f8000010xaaaaaaaa0x56403c010x000000200x00003c010x00003c000x00003c01Repro:
build(&[0xcc214000, 0x1c0e0501])with v1..v4 =[0x00000001, 0x00000021, 0x5014f8b6, 0x00005640].v_fma_mixhi_f16(VOP3P 0x22): 1 of 160 differ0x588600010xe60fa19c0x3b1f56400x634566780x564066780x563f66780x56406678Repro:
build(&[0xcc224000, 0x1c0e0501])with v1..v4 =[0x58860001, 0xe60fa19c, 0x3b1f5640, 0x63456678].Device lost or dispatch failed
v_cmp_f_f32on WARP: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.v_cmp_tru_f32on WARP: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.v_cmp_f_f16on WARP: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.v_cmp_tru_f16on WARP: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.Refused by the translator
v_cndmask_b32: : lower: Unsupported { offset: 40, what: "a select on an untracked mask" }v_dot2c_f32_f16: : lower: Unsupported { offset: 40, what: "half dot product rounding is unspecified by the emitter" }v_madmk_f32: : lower: Unsupported { offset: 40, what: "a missing operand" }v_madak_f32: : lower: Unsupported { offset: 40, what: "a missing operand" }v_add_co_ci_u32: : lower: Unsupported { offset: 40, what: "a carry-in from an untracked mask" }v_sub_co_ci_u32: : lower: Unsupported { offset: 40, what: "a carry-in from an untracked mask" }v_subrev_co_ci_u32: : lower: Unsupported { offset: 40, what: "a carry-in from an untracked mask" }v_fmamk_f32: : lower: Unsupported { offset: 40, what: "a missing operand" }v_fmaak_f32: : lower: Unsupported { offset: 40, what: "a missing operand" }v_fmamk_f16: : lower: Unsupported { offset: 40, what: "half FMA requires a single rounding to f16" }v_fmaak_f16: : lower: Unsupported { offset: 40, what: "half FMA requires a single rounding to f16" }v_ldexp_f16: : lower: Unsupported { offset: 40, what: "ldexp requires the console floating-point rounding and denormal mode" }v_fma_f64: : DXIL validation: Function: main: error: 'dx.op.fma.f64' is not a DXILOpFuncition for DXILOpcode 'Fma'.v_mullit_f32: : lower: Unsupported { offset: 40, what: "lighting multiply needs the console NaN, infinity and overflow rules" }v_div_fixup_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_min_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_max_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_ldexp_f64: : lower: Unsupported { offset: 40, what: "ldexp requires the console floating-point rounding and denormal mode" }v_div_scale_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_div_fmas_f32: : lower: Unsupported { offset: 40, what: "v_div_fmas_f32 without VCC" }v_div_fmas_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_cvt_i32_f64: : DXIL validation: error: Flags must match usage.v_cvt_f64_i32: : DXIL validation: error: Flags must match usage.v_cvt_u32_f64: : DXIL validation: error: Flags must match usage.v_cvt_f64_u32: : DXIL validation: error: Flags must match usage.v_trunc_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_ceil_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_rndne_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_floor_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_rcp_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_rsq_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_sqrt_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_fract_f64: : lower: Unsupported { offset: 40, what: "floating-point arithmetic in f64 is not implemented by the DXIL emitter" }v_cvt_pknorm_i16_f16: : lower: Unsupported { offset: 40, what: "normalized conversion needs the console rounding and NaN rules" }v_cvt_pknorm_u16_f16: : lower: Unsupported { offset: 40, what: "normalized conversion needs the console rounding and NaN rules" }v_div_fixup_f16: : lower: Unsupported { offset: 40, what: "v_div_fixup_f16" }v_cvt_pknorm_i16_f32: : lower: Unsupported { offset: 40, what: "normalized conversion needs the console rounding and NaN rules" }v_cvt_pknorm_u16_f32: : lower: Unsupported { offset: 40, what: "normalized conversion needs the console rounding and NaN rules" }v_dot2_f32_f16: : lower: Unsupported { offset: 40, what: "half dot product rounding is unspecified by the emitter" }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.