pub struct DecodedInstruction {}Expand description
Flat decoded instruction for executor dispatch
Fields§
§opcode: Opcode§rd: u8§rs1: u8§rs2: u8§rs3: u8§rs4: u8§modifier: u8§scope: u8§pred_reg: u8§pred_neg: bool§flags: u8§immediate: u32§size: u32Implementations§
Source§impl DecodedInstruction
impl DecodedInstruction
pub fn is_predicated(&self) -> bool
pub fn is_sync_op(&self) -> bool
pub fn is_misc_op(&self) -> bool
pub fn is_non_returning_atomic(&self) -> bool
pub fn is_wave_reduce(&self) -> bool
Trait Implementations§
Source§impl Clone for DecodedInstruction
impl Clone for DecodedInstruction
Source§fn clone(&self) -> DecodedInstruction
fn clone(&self) -> DecodedInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DecodedInstruction
impl RefUnwindSafe for DecodedInstruction
impl Send for DecodedInstruction
impl Sync for DecodedInstruction
impl Unpin for DecodedInstruction
impl UnsafeUnpin for DecodedInstruction
impl UnwindSafe for DecodedInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more