pub enum Rv64ZbsInstruction<Reg> {
Bset {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Bseti {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Bclr {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Bclri {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Binv {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Binvi {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Bext {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Bexti {
rd: Reg,
rs1: Reg,
shamt: u8,
},
}Expand description
RISC-V RV64 Zbs instruction (Single-bit instructions)
Variants§
Trait Implementations§
Source§impl<Reg: Clone> Clone for Rv64ZbsInstruction<Reg>
impl<Reg: Clone> Clone for Rv64ZbsInstruction<Reg>
Source§fn clone(&self) -> Rv64ZbsInstruction<Reg>
fn clone(&self) -> Rv64ZbsInstruction<Reg>
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 moreSource§impl<Reg: Debug> Debug for Rv64ZbsInstruction<Reg>
impl<Reg: Debug> Debug for Rv64ZbsInstruction<Reg>
Source§impl<Reg> Display for Rv64ZbsInstruction<Reg>where
Reg: Display,
impl<Reg> Display for Rv64ZbsInstruction<Reg>where
Reg: Display,
Source§impl<Reg> Instruction for Rv64ZbsInstruction<Reg>
impl<Reg> Instruction for Rv64ZbsInstruction<Reg>
Source§type Base = Rv64Instruction<Reg>
type Base = Rv64Instruction<Reg>
Lower-level instruction like
Rv64InstructionSource§fn try_decode(instruction: u32) -> Option<Self>
fn try_decode(instruction: u32) -> Option<Self>
Try to decode a single valid instruction
Source§impl<Reg: PartialEq> PartialEq for Rv64ZbsInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Rv64ZbsInstruction<Reg>
impl<Reg: Copy> Copy for Rv64ZbsInstruction<Reg>
impl<Reg: Eq> Eq for Rv64ZbsInstruction<Reg>
impl<Reg> StructuralPartialEq for Rv64ZbsInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Rv64ZbsInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Rv64ZbsInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Rv64ZbsInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Rv64ZbsInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Rv64ZbsInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnwindSafe for Rv64ZbsInstruction<Reg>where
Reg: UnwindSafe,
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