diff options
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, +}); |