pub enum Zbs64ExtInstruction<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 Zbs instruction (Single-bit instructions)
Variants§
Trait Implementations§
Source§impl<Reg: Clone> Clone for Zbs64ExtInstruction<Reg>
impl<Reg: Clone> Clone for Zbs64ExtInstruction<Reg>
Source§fn clone(&self) -> Zbs64ExtInstruction<Reg>
fn clone(&self) -> Zbs64ExtInstruction<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 Zbs64ExtInstruction<Reg>
impl<Reg: Debug> Debug for Zbs64ExtInstruction<Reg>
Source§impl<Reg> Display for Zbs64ExtInstruction<Reg>where
Reg: Display,
impl<Reg> Display for Zbs64ExtInstruction<Reg>where
Reg: Display,
Source§impl<Reg> Instruction for Zbs64ExtInstruction<Reg>
impl<Reg> Instruction for Zbs64ExtInstruction<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 Zbs64ExtInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Zbs64ExtInstruction<Reg>
impl<Reg: Copy> Copy for Zbs64ExtInstruction<Reg>
impl<Reg: Eq> Eq for Zbs64ExtInstruction<Reg>
impl<Reg> StructuralPartialEq for Zbs64ExtInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Zbs64ExtInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Zbs64ExtInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Zbs64ExtInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Zbs64ExtInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Zbs64ExtInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnwindSafe for Zbs64ExtInstruction<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