1#![allow(unused)]
21use crate::r#type::common::*;
22
23pub mod section_0 {
24 use crate::Spanned;
25 use crate::parser::Span;
26 use crate::r#type::common::*;
27
28 use serde::Serialize;
29
30 #[derive(Debug, Clone, PartialEq, Serialize)]
31 pub enum Cmpop {
32 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, Lo, Ls, Hi, Hs, }
51
52 #[derive(Debug, Clone, PartialEq, Serialize)]
53 pub enum Type {
54 B16, B32, B64, U16, U32, U64, S16, S32, S64, F32, F64, }
66
67 #[derive(Debug, Clone, PartialEq, Serialize)]
68 pub enum Boolop {
69 And, Xor, Or, }
73
74 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
75 pub struct SetpCmpopFtzType {
76 pub cmpop: Cmpop, pub ftz: bool, pub type_: Type, pub p: GeneralOperand, pub q: Option<GeneralOperand>, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
84 }
85
86 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
87 pub struct SetpCmpopBoolopFtzType {
88 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub type_: Type, pub p: GeneralOperand, pub q: Option<GeneralOperand>, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
99 }
100}
101
102pub mod section_1 {
103 use crate::Spanned;
104 use crate::parser::Span;
105 use crate::r#type::common::*;
106
107 use serde::Serialize;
108
109 #[derive(Debug, Clone, PartialEq, Serialize)]
110 pub enum Cmpop {
111 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, }
126
127 #[derive(Debug, Clone, PartialEq, Serialize)]
128 pub enum Boolop {
129 And, Xor, Or, }
133
134 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
135 pub struct SetpCmpopFtzF16 {
136 pub cmpop: Cmpop, pub ftz: bool, pub f16: (), pub p: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
143 }
144
145 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
146 pub struct SetpCmpopBoolopFtzF16 {
147 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub f16: (), pub p: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
157 }
158
159 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
160 pub struct SetpCmpopFtzF16x2 {
161 pub cmpop: Cmpop, pub ftz: bool, pub f16x2: (), pub p: GeneralOperand, pub q: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
169 }
170
171 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
172 pub struct SetpCmpopBoolopFtzF16x2 {
173 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub f16x2: (), pub p: GeneralOperand, pub q: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
184 }
185
186 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
187 pub struct SetpCmpopBf16 {
188 pub cmpop: Cmpop, pub bf16: (), pub p: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
194 }
195
196 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
197 pub struct SetpCmpopBoolopBf16 {
198 pub cmpop: Cmpop, pub boolop: Boolop, pub bf16: (), pub p: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
207 }
208
209 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
210 pub struct SetpCmpopBf16x2 {
211 pub cmpop: Cmpop, pub bf16x2: (), pub p: GeneralOperand, pub q: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
218 }
219
220 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
221 pub struct SetpCmpopBoolopBf16x2 {
222 pub cmpop: Cmpop, pub boolop: Boolop, pub bf16x2: (), pub p: GeneralOperand, pub q: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
232 }
233}
234
235pub use section_0::Boolop as Boolop0;
238pub use section_0::Cmpop as Cmpop0;
239pub use section_0::SetpCmpopBoolopFtzType;
240pub use section_0::SetpCmpopFtzType;
241pub use section_0::Type as Type0;
242pub use section_1::Boolop as Boolop1;
243pub use section_1::Cmpop as Cmpop1;
244pub use section_1::SetpCmpopBf16;
245pub use section_1::SetpCmpopBf16x2;
246pub use section_1::SetpCmpopBoolopBf16;
247pub use section_1::SetpCmpopBoolopBf16x2;
248pub use section_1::SetpCmpopBoolopFtzF16;
249pub use section_1::SetpCmpopBoolopFtzF16x2;
250pub use section_1::SetpCmpopFtzF16;
251pub use section_1::SetpCmpopFtzF16x2;