ptx_parser/type/instruction/
mad24.rs1#![allow(unused)]
9use crate::r#type::common::*;
10
11pub mod section_0 {
12 use crate::Spanned;
13 use crate::parser::Span;
14 use crate::r#type::common::*;
15
16 use serde::Serialize;
17
18 #[derive(Debug, Clone, PartialEq, Serialize)]
19 pub enum Mode {
20 Hi, Lo, }
23
24 #[derive(Debug, Clone, PartialEq, Serialize)]
25 pub enum Type {
26 U32, S32, }
29
30 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
31 pub struct Mad24ModeType {
32 pub mode: Mode, pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
39 }
40
41 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
42 pub struct Mad24HiSatS32 {
43 pub hi: (), pub sat: (), pub s32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
51 }
52}
53
54pub use section_0::Mad24HiSatS32;
57pub use section_0::Mad24ModeType;
58pub use section_0::Mode as Mode0;
59pub use section_0::Type as Type0;