pub enum M64ExtInstruction<Reg> {
Show 13 variants
Mul {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Mulh {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Mulhsu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Mulhu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Div {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Divu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rem {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Remu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Mulw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Divw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Divuw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Remw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Remuw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
}Expand description
RISC-V M instruction
Variants§
Trait Implementations§
Source§impl<Reg: Clone> Clone for M64ExtInstruction<Reg>
impl<Reg: Clone> Clone for M64ExtInstruction<Reg>
Source§fn clone(&self) -> M64ExtInstruction<Reg>
fn clone(&self) -> M64ExtInstruction<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 M64ExtInstruction<Reg>
impl<Reg: Debug> Debug for M64ExtInstruction<Reg>
Source§impl<Reg> Display for M64ExtInstruction<Reg>where
Reg: Display,
impl<Reg> Display for M64ExtInstruction<Reg>where
Reg: Display,
Source§impl<Reg> Instruction for M64ExtInstruction<Reg>
impl<Reg> Instruction for M64ExtInstruction<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 M64ExtInstruction<Reg>
impl<Reg: PartialEq> PartialEq for M64ExtInstruction<Reg>
impl<Reg: Copy> Copy for M64ExtInstruction<Reg>
impl<Reg: Eq> Eq for M64ExtInstruction<Reg>
impl<Reg> StructuralPartialEq for M64ExtInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for M64ExtInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for M64ExtInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for M64ExtInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for M64ExtInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for M64ExtInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnwindSafe for M64ExtInstruction<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