1#![allow(unused)]
22use crate::r#type::common::*;
23
24pub mod section_0 {
25 use crate::Spanned;
26 use crate::parser::Span;
27 use crate::r#type::common::*;
28
29 use serde::Serialize;
30
31 #[derive(Debug, Clone, PartialEq, Serialize)]
32 pub enum Rnd {
33 Rn, Rz, Rm, Rp, }
38
39 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
40 pub struct FmaRndFtzSatF32 {
41 pub rnd: Rnd, pub ftz: bool, pub sat: bool, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
50 }
51
52 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
53 pub struct FmaRndFtzF32x2 {
54 pub rnd: Rnd, pub ftz: bool, pub f32x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
62 }
63
64 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
65 pub struct FmaRndF64 {
66 pub rnd: Rnd, pub f64: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
73 }
74}
75
76pub mod section_1 {
77 use crate::Spanned;
78 use crate::parser::Span;
79 use crate::r#type::common::*;
80
81 use serde::Serialize;
82
83 #[derive(Debug, Clone, PartialEq, Serialize)]
84 pub enum Rnd {
85 Rn, }
87
88 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
89 pub struct FmaRndFtzSatF16 {
90 pub rnd: Rnd, pub ftz: bool, pub sat: bool, pub f16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
99 }
100
101 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
102 pub struct FmaRndFtzSatF16x2 {
103 pub rnd: Rnd, pub ftz: bool, pub sat: bool, pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
112 }
113
114 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
115 pub struct FmaRndFtzReluF16 {
116 pub rnd: Rnd, pub ftz: bool, pub relu: (), pub f16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
125 }
126
127 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
128 pub struct FmaRndFtzReluF16x2 {
129 pub rnd: Rnd, pub ftz: bool, pub relu: (), pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
138 }
139
140 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
141 pub struct FmaRndReluBf16 {
142 pub rnd: Rnd, pub relu: bool, pub bf16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
150 }
151
152 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
153 pub struct FmaRndReluBf16x2 {
154 pub rnd: Rnd, pub relu: bool, pub bf16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
162 }
163
164 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
165 pub struct FmaRndOobReluType {
166 pub rnd: Rnd, pub oob: (), pub relu: bool, pub type_: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
175 }
176}
177
178pub mod section_2 {
179 use crate::Spanned;
180 use crate::parser::Span;
181 use crate::r#type::common::*;
182
183 use serde::Serialize;
184
185 #[derive(Debug, Clone, PartialEq, Serialize)]
186 pub enum Rnd {
187 Rn, Rz, Rm, Rp, }
192
193 #[derive(Debug, Clone, PartialEq, Serialize)]
194 pub enum Abtype {
195 Bf16, F16, }
198
199 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
200 pub struct FmaRndSatF32Abtype {
201 pub rnd: Rnd, pub sat: bool, pub f32: (), pub abtype: Abtype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
210 }
211}
212
213pub use section_0::FmaRndF64;
216pub use section_0::FmaRndFtzF32x2;
217pub use section_0::FmaRndFtzSatF32;
218pub use section_0::Rnd as Rnd0;
219pub use section_1::FmaRndFtzReluF16;
220pub use section_1::FmaRndFtzReluF16x2;
221pub use section_1::FmaRndFtzSatF16;
222pub use section_1::FmaRndFtzSatF16x2;
223pub use section_1::FmaRndOobReluType;
224pub use section_1::FmaRndReluBf16;
225pub use section_1::FmaRndReluBf16x2;
226pub use section_1::Rnd as Rnd1;
227pub use section_2::Abtype as Abtype2;
228pub use section_2::FmaRndSatF32Abtype;
229pub use section_2::Rnd as Rnd2;