1#![allow(unused)]
41use crate::r#type::common::*;
42
43pub mod section_0 {
44 use crate::Spanned;
45 use crate::parser::Span;
46 use crate::r#type::common::*;
47
48 use serde::Serialize;
49
50 #[derive(Debug, Clone, PartialEq, Serialize)]
51 pub enum Irnd {
52 Rni, Rzi, Rmi, Rpi, }
57
58 #[derive(Debug, Clone, PartialEq, Serialize)]
59 pub enum Dtype {
60 Bf16, U16, U32, U64, S16, S32, S64, F16, F32, F64, U8, S8, }
73
74 #[derive(Debug, Clone, PartialEq, Serialize)]
75 pub enum Atype {
76 Bf16, U16, U32, U64, S16, S32, S64, F16, F32, F64, U8, S8, }
89
90 #[derive(Debug, Clone, PartialEq, Serialize)]
91 pub enum Frnd {
92 Rn, Rz, Rm, Rp, }
97
98 #[derive(Debug, Clone, PartialEq, Serialize)]
99 pub enum Frnd2 {
100 Rn, Rz, }
103
104 #[derive(Debug, Clone, PartialEq, Serialize)]
105 pub enum F8x2type {
106 E4m3x2, E5m2x2, }
109
110 #[derive(Debug, Clone, PartialEq, Serialize)]
111 pub enum F8x4type {
112 E4m3x4, E5m2x4, }
115
116 #[derive(Debug, Clone, PartialEq, Serialize)]
117 pub enum F4x2type {
118 E2m1x2, }
120
121 #[derive(Debug, Clone, PartialEq, Serialize)]
122 pub enum F4x4type {
123 E2m1x4, }
125
126 #[derive(Debug, Clone, PartialEq, Serialize)]
127 pub enum F6x2type {
128 E2m3x2, E3m2x2, }
131
132 #[derive(Debug, Clone, PartialEq, Serialize)]
133 pub enum F6x4type {
134 E2m3x4, E3m2x4, }
137
138 #[derive(Debug, Clone, PartialEq, Serialize)]
139 pub enum Frnd3 {
140 Rz, Rp, }
143
144 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
145 pub struct CvtIrndFtzSatDtypeAtype {
146 pub irnd: Option<Irnd>, pub ftz: bool, pub sat: bool, pub dtype: Dtype, pub atype: Atype, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
154 }
155
156 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
157 pub struct CvtFrndFtzSatDtypeAtype {
158 pub frnd: Option<Frnd>, pub ftz: bool, pub sat: bool, pub dtype: Dtype, pub atype: Atype, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
166 }
167
168 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
169 pub struct CvtFrnd2ReluSatfiniteF16F32 {
170 pub frnd2: Frnd2, pub relu: bool, pub satfinite: bool, pub f16: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
178 }
179
180 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
181 pub struct CvtFrnd2ReluSatfiniteF16x2F32 {
182 pub frnd2: Frnd2, pub relu: bool, pub satfinite: bool, pub f16x2: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
191 }
192
193 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
194 pub struct CvtRsReluSatfiniteF16x2F32 {
195 pub rs: (), pub relu: bool, pub satfinite: bool, pub f16x2: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub rbits: GeneralOperand, pub span: Span,
205 }
206
207 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
208 pub struct CvtFrnd2ReluSatfiniteBf16F32 {
209 pub frnd2: Frnd2, pub relu: bool, pub satfinite: bool, pub bf16: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
217 }
218
219 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
220 pub struct CvtFrnd2ReluSatfiniteBf16x2F32 {
221 pub frnd2: Frnd2, pub relu: bool, pub satfinite: bool, pub bf16x2: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
230 }
231
232 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
233 pub struct CvtRsReluSatfiniteBf16x2F32 {
234 pub rs: (), pub relu: bool, pub satfinite: bool, pub bf16x2: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub rbits: GeneralOperand, pub span: Span,
244 }
245
246 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
247 pub struct CvtRnaSatfiniteTf32F32 {
248 pub rna: (), pub satfinite: bool, pub tf32: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
255 }
256
257 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
258 pub struct CvtFrnd2SatfiniteReluTf32F32 {
259 pub frnd2: Frnd2, pub satfinite: bool, pub relu: bool, pub tf32: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
267 }
268
269 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
270 pub struct CvtRnSatfiniteReluF8x2typeF32 {
271 pub rn: (), pub satfinite: (), pub relu: bool, pub f8x2type: F8x2type, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
280 }
281
282 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
283 pub struct CvtRnSatfiniteReluF8x2typeF16x2 {
284 pub rn: (), pub satfinite: (), pub relu: bool, pub f8x2type: F8x2type, pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
292 }
293
294 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
295 pub struct CvtRnReluF16x2F8x2type {
296 pub rn: (), pub relu: bool, pub f16x2: (), pub f8x2type: F8x2type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
303 }
304
305 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
306 pub struct CvtRsReluSatfiniteF8x4typeF32 {
307 pub rs: (), pub relu: bool, pub satfinite: (), pub f8x4type: F8x4type, pub f32: (), pub d: GeneralOperand, pub a: VectorOperand, pub rbits: GeneralOperand, pub span: Span,
316 }
317
318 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
319 pub struct CvtRnSatfiniteReluF4x2typeF32 {
320 pub rn: (), pub satfinite: (), pub relu: bool, pub f4x2type: F4x2type, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
329 }
330
331 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
332 pub struct CvtRnReluF16x2F4x2type {
333 pub rn: (), pub relu: bool, pub f16x2: (), pub f4x2type: F4x2type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
340 }
341
342 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
343 pub struct CvtRsReluSatfiniteF4x4typeF32 {
344 pub rs: (), pub relu: bool, pub satfinite: (), pub f4x4type: F4x4type, pub f32: (), pub d: GeneralOperand, pub a: VectorOperand, pub rbits: GeneralOperand, pub span: Span,
353 }
354
355 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
356 pub struct CvtRnSatfiniteReluF6x2typeF32 {
357 pub rn: (), pub satfinite: (), pub relu: bool, pub f6x2type: F6x2type, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
366 }
367
368 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
369 pub struct CvtRnReluF16x2F6x2type {
370 pub rn: (), pub relu: bool, pub f16x2: (), pub f6x2type: F6x2type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
377 }
378
379 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
380 pub struct CvtRsReluSatfiniteF6x4typeF32 {
381 pub rs: (), pub relu: bool, pub satfinite: (), pub f6x4type: F6x4type, pub f32: (), pub d: GeneralOperand, pub a: VectorOperand, pub rbits: GeneralOperand, pub span: Span,
390 }
391
392 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
393 pub struct CvtFrnd3SatfiniteUe8m0x2F32 {
394 pub frnd3: Frnd3, pub satfinite: bool, pub ue8m0x2: (), pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
402 }
403
404 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
405 pub struct CvtFrnd3SatfiniteUe8m0x2Bf16x2 {
406 pub frnd3: Frnd3, pub satfinite: bool, pub ue8m0x2: (), pub bf16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
413 }
414
415 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
416 pub struct CvtRnBf16x2Ue8m0x2 {
417 pub rn: (), pub bf16x2: (), pub ue8m0x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
423 }
424}
425
426pub use section_0::Atype as Atype0;
429pub use section_0::CvtFrnd2ReluSatfiniteBf16F32;
430pub use section_0::CvtFrnd2ReluSatfiniteBf16x2F32;
431pub use section_0::CvtFrnd2ReluSatfiniteF16F32;
432pub use section_0::CvtFrnd2ReluSatfiniteF16x2F32;
433pub use section_0::CvtFrnd2SatfiniteReluTf32F32;
434pub use section_0::CvtFrnd3SatfiniteUe8m0x2Bf16x2;
435pub use section_0::CvtFrnd3SatfiniteUe8m0x2F32;
436pub use section_0::CvtFrndFtzSatDtypeAtype;
437pub use section_0::CvtIrndFtzSatDtypeAtype;
438pub use section_0::CvtRnBf16x2Ue8m0x2;
439pub use section_0::CvtRnReluF16x2F4x2type;
440pub use section_0::CvtRnReluF16x2F6x2type;
441pub use section_0::CvtRnReluF16x2F8x2type;
442pub use section_0::CvtRnSatfiniteReluF4x2typeF32;
443pub use section_0::CvtRnSatfiniteReluF6x2typeF32;
444pub use section_0::CvtRnSatfiniteReluF8x2typeF16x2;
445pub use section_0::CvtRnSatfiniteReluF8x2typeF32;
446pub use section_0::CvtRnaSatfiniteTf32F32;
447pub use section_0::CvtRsReluSatfiniteBf16x2F32;
448pub use section_0::CvtRsReluSatfiniteF4x4typeF32;
449pub use section_0::CvtRsReluSatfiniteF6x4typeF32;
450pub use section_0::CvtRsReluSatfiniteF8x4typeF32;
451pub use section_0::CvtRsReluSatfiniteF16x2F32;
452pub use section_0::Dtype as Dtype0;
453pub use section_0::F4x2type as F4x2type0;
454pub use section_0::F4x4type as F4x4type0;
455pub use section_0::F6x2type as F6x2type0;
456pub use section_0::F6x4type as F6x4type0;
457pub use section_0::F8x2type as F8x2type0;
458pub use section_0::F8x4type as F8x4type0;
459pub use section_0::Frnd as Frnd0;
460pub use section_0::Frnd2 as Frnd20;
461pub use section_0::Frnd3 as Frnd30;
462pub use section_0::Irnd as Irnd0;