diff options
author | Andrzej Janik <[email protected]> | 2020-10-01 20:28:57 +0200 |
---|---|---|
committer | Andrzej Janik <[email protected]> | 2020-10-01 20:28:57 +0200 |
commit | bd3d440dba9a913e2214de89a151f9c2c34984fe (patch) | |
tree | e90bd1e36968d3abae492b0c5bf22791f119fb80 /ptx/src/ast.rs | |
parent | 96a342e33f221803874ff897f4aa1aa3aae8e71c (diff) | |
download | ZLUDA-bd3d440dba9a913e2214de89a151f9c2c34984fe.tar.gz ZLUDA-bd3d440dba9a913e2214de89a151f9c2c34984fe.zip |
Implement or
Diffstat (limited to 'ptx/src/ast.rs')
-rw-r--r-- | ptx/src/ast.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ptx/src/ast.rs b/ptx/src/ast.rs index b509dfe..8c64ebf 100644 --- a/ptx/src/ast.rs +++ b/ptx/src/ast.rs @@ -345,6 +345,7 @@ pub enum Instruction<P: ArgParams> { Call(CallInst<P>), Abs(AbsDetails, Arg2<P>), Mad(MulDetails, Arg4<P>), + Or(OrType, Arg3<P>), } #[derive(Copy, Clone)] @@ -802,3 +803,10 @@ pub enum StCacheOperator { pub struct RetData { pub uniform: bool, } + +sub_scalar_type!(OrType { + Pred, + B16, + B32, + B64, +}); |