pub enum Rv32BInstruction<Reg> {
Show 29 variants
Sh1add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh2add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sh3add {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Andn {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Orn {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Xnor {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Clz {
rd: Reg,
rs1: Reg,
},
Ctz {
rd: Reg,
rs1: Reg,
},
Cpop {
rd: Reg,
rs1: Reg,
},
Max {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Maxu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Min {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Minu {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Sextb {
rd: Reg,
rs1: Reg,
},
Sexth {
rd: Reg,
rs1: Reg,
},
Zexth {
rd: Reg,
rs1: Reg,
},
Rol {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Ror {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rori {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Orcb {
rd: Reg,
rs1: Reg,
},
Rev8 {
rd: Reg,
rs1: 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 RV32 B (Zba + Zbb + Zbs) instruction
Variants§
Sh1add
Sh2add
Sh3add
Andn
Orn
Xnor
Clz
Ctz
Cpop
Max
Maxu
Min
Minu
Sextb
Sexth
Zexth
Rol
Ror
Rori
Orcb
Rev8
Bset
Bseti
Bclr
Bclri
Binv
Binvi
Bext
Bexti
Trait Implementations§
Source§impl<Reg: Clone> Clone for Rv32BInstruction<Reg>
impl<Reg: Clone> Clone for Rv32BInstruction<Reg>
Source§fn clone(&self) -> Rv32BInstruction<Reg>
fn clone(&self) -> Rv32BInstruction<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 Rv32BInstruction<Reg>
impl<Reg: Debug> Debug for Rv32BInstruction<Reg>
§impl<Reg> Display for Rv32BInstruction<Reg>
impl<Reg> Display for Rv32BInstruction<Reg>
§impl<Reg> Instruction for Rv32BInstruction<Reg>
impl<Reg> Instruction for Rv32BInstruction<Reg>
Source§impl<Reg: PartialEq> PartialEq for Rv32BInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Rv32BInstruction<Reg>
impl<Reg: Copy> Copy for Rv32BInstruction<Reg>
impl<Reg: Eq> Eq for Rv32BInstruction<Reg>
impl<Reg> StructuralPartialEq for Rv32BInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Rv32BInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Rv32BInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Rv32BInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Rv32BInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Rv32BInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnsafeUnpin for Rv32BInstruction<Reg>where
Reg: UnsafeUnpin,
impl<Reg> UnwindSafe for Rv32BInstruction<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