ptx_parser/type/instruction/
bfind.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 Type {
19 U32, U64, S32, S64, }
24
25 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
26 pub struct BfindType {
27 pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
31 }
32
33 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
34 pub struct BfindShiftamtType {
35 pub shiftamt: (), pub type_: Type, pub d: GeneralOperand, pub a: GeneralOperand, pub span: Span,
40 }
41}
42
43pub use section_0::BfindShiftamtType;
46pub use section_0::BfindType;
47pub use section_0::Type as Type0;