diff options
author | Andrzej Janik <[email protected]> | 2021-09-14 23:38:06 +0000 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2021-09-14 23:38:06 +0000 |
commit | 467782b1d00da5f519840435aa417163fcb1a128 (patch) | |
tree | 71ab4fe934be7e839c8dcfac2e103870022bf52e /ptx/src/test/spirv_run/mod.rs | |
parent | 2cd0fcb65066cd4cddef66900593dc883743bc68 (diff) | |
download | ZLUDA-467782b1d00da5f519840435aa417163fcb1a128.tar.gz ZLUDA-467782b1d00da5f519840435aa417163fcb1a128.zip |
Fix some unhandled cases in cvt instruction
Diffstat (limited to 'ptx/src/test/spirv_run/mod.rs')
-rw-r--r-- | ptx/src/test/spirv_run/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ptx/src/test/spirv_run/mod.rs b/ptx/src/test/spirv_run/mod.rs index 13cf0f1..97cfbb5 100644 --- a/ptx/src/test/spirv_run/mod.rs +++ b/ptx/src/test/spirv_run/mod.rs @@ -204,6 +204,8 @@ test_ptx!( test_ptx!(non_scalar_ptr_offset, [1u32, 2u32, 3u32, 4u32], [7u32]);
test_ptx!(stateful_neg_offset, [1237518u64], [1237518u64]);
test_ptx!(const, [0u16], [10u16, 20, 30, 40]);
+test_ptx!(cvt_s16_s8, [0x139231C2u32], [0xFFFFFFC2u32]);
+test_ptx!(cvt_f64_f32, [0.125f32], [0.125f64]);
struct DisplayError<T: Debug> {
err: T,
|