ptx_parser/type/instruction/
szext.rs1#![allow(unused)]
8use crate::r#type::common::*;
9
10pub mod section_0 {
11 use crate::Spanned;
12 use crate::parser::Span;
13 use crate::r#type::common::*;
14
15 use serde::Serialize;
16
17 #[derive(Debug, Clone, PartialEq, Serialize)]
18 pub enum Mode {
19 Clamp, Wrap, }
22
23 #[derive(Debug, Clone, PartialEq, Serialize)]
24 pub enum Type {
25 U32, S32, }
28
29 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
30 pub struct SzextModeType {
31 pub mode: Mode, pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub span: Span,
37 }
38}
39
40pub use section_0::Mode as Mode0;
43pub use section_0::SzextModeType;
44pub use section_0::Type as Type0;