pub enum Zba64ExtInstruction<Reg> {
AddUw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh1add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh1addUw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh2add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh2addUw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh3add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh3addUw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
SlliUw {
rd: Reg,
rs1: Reg,
shamt: u8,
},
}Expand description
RISC-V Zba instruction (Address generation)
Variants§
Trait Implementations§
Source§impl<Reg: Clone> Clone for Zba64ExtInstruction<Reg>
impl<Reg: Clone> Clone for Zba64ExtInstruction<Reg>
Source§fn clone(&self) -> Zba64ExtInstruction<Reg>
fn clone(&self) -> Zba64ExtInstruction<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 Zba64ExtInstruction<Reg>
impl<Reg: Debug> Debug for Zba64ExtInstruction<Reg>
Source§impl<Reg> Display for Zba64ExtInstruction<Reg>where
Reg: Display,
impl<Reg> Display for Zba64ExtInstruction<Reg>where
Reg: Display,
Source§impl<Reg> Instruction for Zba64ExtInstruction<Reg>
impl<Reg> Instruction for Zba64ExtInstruction<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 Zba64ExtInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Zba64ExtInstruction<Reg>
impl<Reg: Copy> Copy for Zba64ExtInstruction<Reg>
impl<Reg: Eq> Eq for Zba64ExtInstruction<Reg>
impl<Reg> StructuralPartialEq for Zba64ExtInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Zba64ExtInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Zba64ExtInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Zba64ExtInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Zba64ExtInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Zba64ExtInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnwindSafe for Zba64ExtInstruction<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