diff options
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). |