pub enum ZawrsInstruction<Hart>where
Hart: HartConfig,{
WrsNto { /* private fields */ },
WrsSto { /* private fields */ },
}Expand description
RISC-V Zawrs instruction (Wait-on-Reservation-Set)
Variants§
Trait Implementations§
Source§impl<Hart> Clone for ZawrsInstruction<Hart>
impl<Hart> Clone for ZawrsInstruction<Hart>
Source§fn clone(&self) -> ZawrsInstruction<Hart>
fn clone(&self) -> ZawrsInstruction<Hart>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<Hart> Copy for ZawrsInstruction<Hart>
Source§impl<Hart> Debug for ZawrsInstruction<Hart>
impl<Hart> Debug for ZawrsInstruction<Hart>
§impl<Reg, Hart> Display for ZawrsInstruction<Hart>where
Reg: Display,
Hart: HartConfig<Reg = Reg>,
impl<Reg, Hart> Display for ZawrsInstruction<Hart>where
Reg: Display,
Hart: HartConfig<Reg = Reg>,
impl<Hart> Eq for ZawrsInstruction<Hart>
§impl<Reg, Hart> Instruction for ZawrsInstruction<Hart>where
Reg: Register,
Hart: HartConfig<Reg = Reg>,
impl<Reg, Hart> Instruction for ZawrsInstruction<Hart>where
Reg: Register,
Hart: HartConfig<Reg = Reg>,
§const IMPLEMENTED_EXTENSIONS: &'static [ImplementedExtension]
const IMPLEMENTED_EXTENSIONS: &'static [ImplementedExtension]
All implemented extensions, including this instruction itself, with their ISA extensions. Read more
§const OWN_ISA_EXTENSIONS: &'static [IsaExtension]
const OWN_ISA_EXTENSIONS: &'static [IsaExtension]
ISA extensions defined by this instruction enum itself, without inherited ones. Read more
§fn try_decode(instruction: u32) -> Option<Self>
fn try_decode(instruction: u32) -> Option<Self>
Try to decode a single valid instruction
Source§const ISA_STRING: &'static str = _
const ISA_STRING: &'static str = _
ISA string as used in the
Tag_RISCV_arch attribute of ELF files, for example,
rv64i2p1_m2p0_zmmul1p0. Read moreSource§fn implements_extension<E>() -> boolwhere
E: Instruction<Hart = Self::Hart>,
fn implements_extension<E>() -> boolwhere
E: Instruction<Hart = Self::Hart>,
Checks whether this instruction implements the given extension, see
Self::IMPLEMENTED_EXTENSIONS for detailsSource§impl<Hart> PartialEq for ZawrsInstruction<Hart>
impl<Hart> PartialEq for ZawrsInstruction<Hart>
impl<Hart> StructuralPartialEq for ZawrsInstruction<Hart>
Auto Trait Implementations§
impl<Hart> Freeze for ZawrsInstruction<Hart>
impl<Hart> RefUnwindSafe for ZawrsInstruction<Hart>
impl<Hart> Send for ZawrsInstruction<Hart>
impl<Hart> Sync for ZawrsInstruction<Hart>
impl<Hart> Unpin for ZawrsInstruction<Hart>
impl<Hart> UnsafeUnpin for ZawrsInstruction<Hart>
impl<Hart> UnwindSafe for ZawrsInstruction<Hart>
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