#![allow(unused)]
use crate::lexer::PtxToken;
use crate::unparser::{PtxUnparser, common::*};
pub mod section_0 {
use super::*;
use crate::r#type::instruction::mbarrier_inval::section_0::*;
impl PtxUnparser for MbarrierInvalStateB64 {
fn unparse_tokens(&self, tokens: &mut ::std::vec::Vec<PtxToken>) {
push_opcode(tokens, "mbarrier");
push_directive(tokens, "inval");
if let Some(state_0) = self.state.as_ref() {
match state_0 {
State::SharedCta => {
push_directive(tokens, "shared::cta");
}
State::Shared => {
push_directive(tokens, "shared");
}
}
}
push_directive(tokens, "b64");
self.addr.unparse_tokens(tokens);
tokens.push(PtxToken::Semicolon);
}
}
}