diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 15:51:40 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 15:51:40 +0100 |
| commit | df91c6624b69ee4e6c6eeca20ed68d331ed0e728 (patch) | |
| tree | 323c88b9df89bf8abaa2b98d10808474ab675dc2 /tests/test_values.py | |
| parent | b40d8039a98f57b26bd05860febbabbe59b97873 (diff) | |
| parent | 6a6704df1592e1dc4a3215ddf1423a78adb52045 (diff) | |
Merge main into test/valu-int-misc (#1492)
Conflicted files: runtime/test/shaders/check.py, scripts/run_gpu_tests.py
AI-assisted.
Diffstat (limited to 'tests/test_values.py')
| -rw-r--r-- | tests/test_values.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_values.py b/tests/test_values.py index 012122ab3..7bfbe77e9 100644 --- a/tests/test_values.py +++ b/tests/test_values.py | |||
| @@ -87,6 +87,10 @@ CASES = { | |||
| 87 | "v_pack_b32_f16_neg_lo": ("v_pack_b32_f16 v3, neg(v1), v2", 0xAAAA3C00, 0xBBBB4000, 0, 0x4000BC00), | 87 | "v_pack_b32_f16_neg_lo": ("v_pack_b32_f16 v3, neg(v1), v2", 0xAAAA3C00, 0xBBBB4000, 0, 0x4000BC00), |
| 88 | "v_pack_b32_f16_neg_hi_sel": ("v_pack_b32_f16 v3, v1, neg(v2) op_sel:[0,1,0]", 0xAAAA3C00, 0x4000BBBB, 0, | 88 | "v_pack_b32_f16_neg_hi_sel": ("v_pack_b32_f16 v3, v1, neg(v2) op_sel:[0,1,0]", 0xAAAA3C00, 0x4000BBBB, 0, |
| 89 | 0xC0003C00), | 89 | 0xC0003C00), |
| 90 | # `abs` is the ISA's sign clear (|S|), applied before `neg`; it has no hardware run of this instruction yet. | ||
| 91 | "v_pack_b32_f16_abs_lo": ("v_pack_b32_f16 v3, abs(v1), v2", 0xAAAABC00, 0xBBBB4000, 0, 0x40003C00), | ||
| 92 | "v_pack_b32_f16_abs_snan": ("v_pack_b32_f16 v3, abs(v1), v2", 0xAAAAFC01, 0xBBBB4000, 0, 0x40007C01), | ||
| 93 | "v_pack_b32_f16_neg_abs": ("v_pack_b32_f16 v3, -abs(v1), v2", 0xAAAA3C00, 0xBBBB4000, 0, 0x4000BC00), | ||
| 90 | # 16-bit float add keeps the other half of the destination (GFX10 partial write; see docs/design.md). | 94 | # 16-bit float add keeps the other half of the destination (GFX10 partial write; see docs/design.md). |
| 91 | # These pin the translator's keep; they do not reproduce the AMD driver quirk in valu_fuzz f16 | 95 | # These pin the translator's keep; they do not reproduce the AMD driver quirk in valu_fuzz f16 |
| 92 | # seed 3 programme 38, where the same keep is lost on the GPU (driver 26.11.1, RX 9070). | 96 | # seed 3 programme 38, where the same keep is lost on the GPU (driver 26.11.1, RX 9070). |