ptx_parser/type/instruction/
ldmatrix.rs1#![allow(unused)]
14use crate::r#type::common::*;
15
16pub mod section_0 {
17 use crate::Spanned;
18 use crate::parser::Span;
19 use crate::r#type::common::*;
20
21 use serde::Serialize;
22
23 #[derive(Debug, Clone, PartialEq, Serialize)]
24 pub enum Shape {
25 M16n16, M8n8, }
28
29 #[derive(Debug, Clone, PartialEq, Serialize)]
30 pub enum Num {
31 X1, X2, X4, }
35
36 #[derive(Debug, Clone, PartialEq, Serialize)]
37 pub enum Ss {
38 SharedCta, Shared, }
41
42 #[derive(Debug, Clone, PartialEq, Serialize)]
43 pub enum Type {
44 B16, B8, }
47
48 #[derive(Debug, Clone, PartialEq, Serialize)]
49 pub enum DstFmt {
50 B8x16, }
52
53 #[derive(Debug, Clone, PartialEq, Serialize)]
54 pub enum SrcFmt {
55 B6x16P32, B4x16P64, }
58
59 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
60 pub struct LdmatrixSyncAlignedShapeNumTransSsType {
61 pub sync: (), pub aligned: (), pub shape: Shape, pub num: Num, pub trans: bool, pub ss: Option<Ss>, pub type_: Type, pub r: GeneralOperand, pub p: AddressOperand, pub span: Span,
71 }
72
73 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
74 pub struct LdmatrixSyncAlignedM8n16NumSsDstFmtSrcFmt {
75 pub sync: (), pub aligned: (), pub m8n16: (), pub num: Num, pub ss: Option<Ss>, pub dst_fmt: DstFmt, pub src_fmt: SrcFmt, pub r: GeneralOperand, pub p: AddressOperand, pub span: Span,
85 }
86
87 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
88 pub struct LdmatrixSyncAlignedM16n16NumTransSsDstFmtSrcFmt {
89 pub sync: (), pub aligned: (), pub m16n16: (), pub num: Num, pub trans: (), pub ss: Option<Ss>, pub dst_fmt: DstFmt, pub src_fmt: SrcFmt, pub r: GeneralOperand, pub p: AddressOperand, pub span: Span,
100 }
101}
102
103pub use section_0::DstFmt as DstFmt0;
106pub use section_0::LdmatrixSyncAlignedM8n16NumSsDstFmtSrcFmt;
107pub use section_0::LdmatrixSyncAlignedM16n16NumTransSsDstFmtSrcFmt;
108pub use section_0::LdmatrixSyncAlignedShapeNumTransSsType;
109pub use section_0::Num as Num0;
110pub use section_0::Shape as Shape0;
111pub use section_0::SrcFmt as SrcFmt0;
112pub use section_0::Ss as Ss0;
113pub use section_0::Type as Type0;