1#![allow(unused)]
45use crate::r#type::common::*;
46
47pub mod section_0 {
48 use crate::Spanned;
49 use crate::parser::Span;
50 use crate::r#type::common::*;
51
52 use serde::Serialize;
53
54 #[derive(Debug, Clone, PartialEq, Serialize)]
55 pub enum Cmpop {
56 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, Lo, Ls, Hi, Hs, }
75
76 #[derive(Debug, Clone, PartialEq, Serialize)]
77 pub enum Dtype {
78 U32, S32, F32, }
82
83 #[derive(Debug, Clone, PartialEq, Serialize)]
84 pub enum Stype {
85 B16, B32, B64, U16, U32, U64, S16, S32, S64, F32, F64, }
97
98 #[derive(Debug, Clone, PartialEq, Serialize)]
99 pub enum Boolop {
100 And, Xor, Or, }
104
105 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
106 pub struct SetCmpopFtzDtypeStype {
107 pub cmpop: Cmpop, pub ftz: bool, pub dtype: Dtype, pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
115 }
116
117 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
118 pub struct SetCmpopBoolopFtzDtypeStype {
119 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub dtype: Dtype, pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
130 }
131}
132
133pub mod section_1 {
134 use crate::Spanned;
135 use crate::parser::Span;
136 use crate::r#type::common::*;
137
138 use serde::Serialize;
139
140 #[derive(Debug, Clone, PartialEq, Serialize)]
141 pub enum Cmpop {
142 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, Lo, Ls, Hi, Hs, }
161
162 #[derive(Debug, Clone, PartialEq, Serialize)]
163 pub enum Stype {
164 B16, B32, B64, U16, U32, U64, S16, S32, S64, F32, F64, }
176
177 #[derive(Debug, Clone, PartialEq, Serialize)]
178 pub enum Boolop {
179 And, Xor, Or, }
183
184 #[derive(Debug, Clone, PartialEq, Serialize)]
185 pub enum Dtype {
186 U16, S16, U32, S32, }
191
192 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
193 pub struct SetCmpopFtzF16Stype {
194 pub cmpop: Cmpop, pub ftz: bool, pub f16: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
202 }
203
204 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
205 pub struct SetCmpopBoolopFtzF16Stype {
206 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub f16: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
217 }
218
219 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
220 pub struct SetCmpopBf16Stype {
221 pub cmpop: Cmpop, pub bf16: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
228 }
229
230 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
231 pub struct SetCmpopBoolopBf16Stype {
232 pub cmpop: Cmpop, pub boolop: Boolop, pub bf16: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
242 }
243
244 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
245 pub struct SetCmpopFtzDtypeF16 {
246 pub cmpop: Cmpop, pub ftz: bool, pub dtype: Dtype, pub f16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
254 }
255
256 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
257 pub struct SetCmpopBoolopFtzDtypeF16 {
258 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub dtype: Dtype, pub f16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
269 }
270}
271
272pub mod section_2 {
273 use crate::Spanned;
274 use crate::parser::Span;
275 use crate::r#type::common::*;
276
277 use serde::Serialize;
278
279 #[derive(Debug, Clone, PartialEq, Serialize)]
280 pub enum Cmpop {
281 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, Lo, Ls, Hi, Hs, }
300
301 #[derive(Debug, Clone, PartialEq, Serialize)]
302 pub enum Dtype {
303 U16, S16, U32, S32, }
308
309 #[derive(Debug, Clone, PartialEq, Serialize)]
310 pub enum Boolop {
311 And, Xor, Or, }
315
316 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
317 pub struct SetCmpopDtypeBf16 {
318 pub cmpop: Cmpop, pub dtype: Dtype, pub bf16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
325 }
326
327 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
328 pub struct SetCmpopBoolopDtypeBf16 {
329 pub cmpop: Cmpop, pub boolop: Boolop, pub dtype: Dtype, pub bf16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
339 }
340}
341
342pub mod section_3 {
343 use crate::Spanned;
344 use crate::parser::Span;
345 use crate::r#type::common::*;
346
347 use serde::Serialize;
348
349 #[derive(Debug, Clone, PartialEq, Serialize)]
350 pub enum Cmpop {
351 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, Lo, Ls, Hi, Hs, }
370
371 #[derive(Debug, Clone, PartialEq, Serialize)]
372 pub enum Dtype {
373 F16x2, U32, S32, }
377
378 #[derive(Debug, Clone, PartialEq, Serialize)]
379 pub enum Boolop {
380 And, Xor, Or, }
384
385 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
386 pub struct SetCmpopFtzDtypeF16x2 {
387 pub cmpop: Cmpop, pub ftz: bool, pub dtype: Dtype, pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
395 }
396
397 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
398 pub struct SetCmpopBoolopFtzDtypeF16x2 {
399 pub cmpop: Cmpop, pub boolop: Boolop, pub ftz: bool, pub dtype: Dtype, pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
410 }
411}
412
413pub mod section_4 {
414 use crate::Spanned;
415 use crate::parser::Span;
416 use crate::r#type::common::*;
417
418 use serde::Serialize;
419
420 #[derive(Debug, Clone, PartialEq, Serialize)]
421 pub enum Cmpop {
422 Equ, Neu, Ltu, Leu, Gtu, Geu, Num, Nan, Eq, Ne, Lt, Le, Gt, Ge, }
437
438 #[derive(Debug, Clone, PartialEq, Serialize)]
439 pub enum Dtype {
440 Bf16x2, U32, S32, }
444
445 #[derive(Debug, Clone, PartialEq, Serialize)]
446 pub enum Boolop {
447 And, Xor, Or, }
451
452 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
453 pub struct SetCmpopDtypeBf16x2 {
454 pub cmpop: Cmpop, pub dtype: Dtype, pub bf16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
461 }
462
463 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
464 pub struct SetCmpopBoolopDtypeBf16x2 {
465 pub cmpop: Cmpop, pub boolop: Boolop, pub dtype: Dtype, pub bf16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c_op: bool, pub c: GeneralOperand, pub span: Span,
475 }
476}
477
478pub use section_0::Boolop as Boolop0;
481pub use section_0::Cmpop as Cmpop0;
482pub use section_0::Dtype as Dtype0;
483pub use section_0::SetCmpopBoolopFtzDtypeStype;
484pub use section_0::SetCmpopFtzDtypeStype;
485pub use section_0::Stype as Stype0;
486pub use section_1::Boolop as Boolop1;
487pub use section_1::Cmpop as Cmpop1;
488pub use section_1::Dtype as Dtype1;
489pub use section_1::SetCmpopBf16Stype;
490pub use section_1::SetCmpopBoolopBf16Stype;
491pub use section_1::SetCmpopBoolopFtzDtypeF16;
492pub use section_1::SetCmpopBoolopFtzF16Stype;
493pub use section_1::SetCmpopFtzDtypeF16;
494pub use section_1::SetCmpopFtzF16Stype;
495pub use section_1::Stype as Stype1;
496pub use section_2::Boolop as Boolop2;
497pub use section_2::Cmpop as Cmpop2;
498pub use section_2::Dtype as Dtype2;
499pub use section_2::SetCmpopBoolopDtypeBf16;
500pub use section_2::SetCmpopDtypeBf16;
501pub use section_3::Boolop as Boolop3;
502pub use section_3::Cmpop as Cmpop3;
503pub use section_3::Dtype as Dtype3;
504pub use section_3::SetCmpopBoolopFtzDtypeF16x2;
505pub use section_3::SetCmpopFtzDtypeF16x2;
506pub use section_4::Boolop as Boolop4;
507pub use section_4::Cmpop as Cmpop4;
508pub use section_4::Dtype as Dtype4;
509pub use section_4::SetCmpopBoolopDtypeBf16x2;
510pub use section_4::SetCmpopDtypeBf16x2;