pub enum Rv64ZbkbInstruction<Reg> {
Show 14 variants
Andn {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Orn {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Xnor {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rol {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rolw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Ror {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rori {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Roriw {
rd: Reg,
rs1: Reg,
shamt: u8,
},
Rorw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Rev8 {
rd: Reg,
rs1: Reg,
},
Pack {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Packh {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Packw {
rd: Reg,
rs1: Reg,
rs2: Reg,
},
Brev8 {
rd: Reg,
rs1: Reg,
},
}Expand description
RISC-V RV64 Zbkb instruction (Bit-manipulation for Cryptography)
Variants§
Andn
Orn
Xnor
Rol
Rolw
Ror
Rori
Roriw
Rorw
Rev8
Pack
Pack low 32 bits of rs1 and rs2 into rd
Packh
Pack low 8 bits of rs1 and rs2 into rd bytes 0 and 1
Packw
Pack low 16 bits of rs1 and rs2 into lower 32 bits of rd, sign-extend
Brev8
Reverse bits in each byte of rs1
Trait Implementations§
Source§impl<Reg: Clone> Clone for Rv64ZbkbInstruction<Reg>
impl<Reg: Clone> Clone for Rv64ZbkbInstruction<Reg>
Source§fn clone(&self) -> Rv64ZbkbInstruction<Reg>
fn clone(&self) -> Rv64ZbkbInstruction<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 Rv64ZbkbInstruction<Reg>
impl<Reg: Debug> Debug for Rv64ZbkbInstruction<Reg>
§impl<Reg> Display for Rv64ZbkbInstruction<Reg>
impl<Reg> Display for Rv64ZbkbInstruction<Reg>
§impl<Reg> Instruction for Rv64ZbkbInstruction<Reg>
impl<Reg> Instruction for Rv64ZbkbInstruction<Reg>
Source§impl<Reg: PartialEq> PartialEq for Rv64ZbkbInstruction<Reg>
impl<Reg: PartialEq> PartialEq for Rv64ZbkbInstruction<Reg>
impl<Reg: Copy> Copy for Rv64ZbkbInstruction<Reg>
impl<Reg: Eq> Eq for Rv64ZbkbInstruction<Reg>
impl<Reg> StructuralPartialEq for Rv64ZbkbInstruction<Reg>
Auto Trait Implementations§
impl<Reg> Freeze for Rv64ZbkbInstruction<Reg>where
Reg: Freeze,
impl<Reg> RefUnwindSafe for Rv64ZbkbInstruction<Reg>where
Reg: RefUnwindSafe,
impl<Reg> Send for Rv64ZbkbInstruction<Reg>where
Reg: Send,
impl<Reg> Sync for Rv64ZbkbInstruction<Reg>where
Reg: Sync,
impl<Reg> Unpin for Rv64ZbkbInstruction<Reg>where
Reg: Unpin,
impl<Reg> UnsafeUnpin for Rv64ZbkbInstruction<Reg>where
Reg: UnsafeUnpin,
impl<Reg> UnwindSafe for Rv64ZbkbInstruction<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