#![allow(unused)]
use crate::r#type::common::*;
pub mod section_0 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Mode {
Wide, Hi, Lo, }
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Type {
U16, U32, U64, S16, S32, S64, }
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulModeType {
pub mode: Mode, pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
}
pub mod section_1 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Rnd {
Rn, Rz, Rm, Rp, }
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndFtzSatF32 {
pub rnd: Option<Rnd>, pub ftz: bool, pub sat: bool, pub f32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndFtzF32x2 {
pub rnd: Option<Rnd>, pub ftz: bool, pub f32x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndF64 {
pub rnd: Option<Rnd>, pub f64: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
}
pub mod section_2 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Rnd {
Rn, }
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndFtzSatF16 {
pub rnd: Option<Rnd>, pub ftz: bool, pub sat: bool, pub f16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndFtzSatF16x2 {
pub rnd: Option<Rnd>, pub ftz: bool, pub sat: bool, pub f16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndBf16 {
pub rnd: Option<Rnd>, pub bf16: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MulRndBf16x2 {
pub rnd: Option<Rnd>, pub bf16x2: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
}
}
pub use section_0::Mode as Mode0;
pub use section_0::MulModeType;
pub use section_0::Type as Type0;
pub use section_1::MulRndF64;
pub use section_1::MulRndFtzF32x2;
pub use section_1::MulRndFtzSatF32;
pub use section_1::Rnd as Rnd1;
pub use section_2::MulRndBf16;
pub use section_2::MulRndBf16x2;
pub use section_2::MulRndFtzSatF16;
pub use section_2::MulRndFtzSatF16x2;
pub use section_2::Rnd as Rnd2;