ptx_parser/unparser/instruction/
fns.rs1#![allow(unused)]
6
7use crate::lexer::PtxToken;
8use crate::unparser::{PtxUnparser, common::*};
9
10pub mod section_0 {
11 use super::*;
12 use crate::r#type::instruction::fns::section_0::*;
13
14 impl PtxUnparser for FnsB32 {
15 fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
16 push_opcode(tokens, "fns");
17 push_directive(tokens, "b32");
18 self.d.unparse_tokens(tokens);
19 tokens.push(PtxToken::Comma);
20 self.mask.unparse_tokens(tokens);
21 tokens.push(PtxToken::Comma);
22 self.base.unparse_tokens(tokens);
23 tokens.push(PtxToken::Comma);
24 self.offset.unparse_tokens(tokens);
25 tokens.push(PtxToken::Semicolon);
26 }
27 }
28}