ptx_parser/type/instruction/
shf.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, Spanned, Serialize)]
24 pub struct ShfLModeB32 {
25 pub l: (), pub mode: Mode, pub b32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
33 }
34
35 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
36 pub struct ShfRModeB32 {
37 pub r: (), pub mode: Mode, pub b32: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
45 }
46}
47
48pub use section_0::Mode as Mode0;
51pub use section_0::ShfLModeB32;
52pub use section_0::ShfRModeB32;