aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/ast.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ptx/src/ast.rs')
-rw-r--r--ptx/src/ast.rs8
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,
+});