ptx_parser/type/instruction/fns.rs
1//! Original PTX specification:
2//!
3//! fns.b32 d, mask, base, offset;
4
5#![allow(unused)]
6use crate::r#type::common::*;
7
8pub mod section_0 {
9 use crate::Spanned;
10 use crate::parser::Span;
11 use crate::r#type::common::*;
12
13 use serde::Serialize;
14
15 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
16 pub struct FnsB32 {
17 pub b32: (), // .b32
18 pub d: GeneralOperand, // d
19 pub mask: GeneralOperand, // mask
20 pub base: GeneralOperand, // base
21 pub offset: GeneralOperand, // offset
22 pub span: Span,
23 }
24}
25
26// Re-export types with section suffixes to avoid naming conflicts
27// e.g., Type0 for section_0::Type, Type1 for section_1::Type
28pub use section_0::FnsB32;