ptx_parser/type/instruction/
slct.rs1#![allow(unused)]
11use crate::r#type::common::*;
12
13pub mod section_0 {
14 use crate::Spanned;
15 use crate::parser::Span;
16 use crate::r#type::common::*;
17
18 use serde::Serialize;
19
20 #[derive(Debug, Clone, PartialEq, Serialize)]
21 pub enum Dtype {
22 B16, B32, B64, U16, U32, U64, S16, S32, S64, F32, F64, }
34
35 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
36 pub struct SlctDtypeS32 {
37 pub dtype: Dtype, pub s32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
44 }
45
46 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
47 pub struct SlctFtzDtypeF32 {
48 pub ftz: bool, pub dtype: Dtype, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
56 }
57}
58
59pub use section_0::Dtype as Dtype0;
62pub use section_0::SlctDtypeS32;
63pub use section_0::SlctFtzDtypeF32;