pub enum Op<D: RiscVDisassembler> {
Show 105 variants
Load(LoadTypeInst<D>),
Fence(ITypeIntInst<D>),
FenceI(ITypeIntInst<D>),
AddI(ITypeIntInst<D>),
SltI(ITypeIntInst<D>),
SltIU(ITypeIntInst<D>),
XorI(ITypeIntInst<D>),
OrI(ITypeIntInst<D>),
AndI(ITypeIntInst<D>),
SllI(ITypeIntInst<D>),
SrlI(ITypeIntInst<D>),
SraI(ITypeIntInst<D>),
Auipc(UTypeInst<D>),
Store(StoreTypeInst<D>),
Add(RTypeIntInst<D>),
Sll(RTypeIntInst<D>),
Slt(RTypeIntInst<D>),
SltU(RTypeIntInst<D>),
Xor(RTypeIntInst<D>),
Srl(RTypeIntInst<D>),
Or(RTypeIntInst<D>),
And(RTypeIntInst<D>),
Sub(RTypeIntInst<D>),
Sra(RTypeIntInst<D>),
Lui(UTypeInst<D>),
Beq(BTypeInst<D>),
Bne(BTypeInst<D>),
Blt(BTypeInst<D>),
Bge(BTypeInst<D>),
BltU(BTypeInst<D>),
BgeU(BTypeInst<D>),
Jalr(ITypeIntInst<D>),
Jal(JTypeInst<D>),
Ecall,
Ebreak,
Csrrw(CsrTypeInst<D>),
Csrrs(CsrTypeInst<D>),
Csrrc(CsrTypeInst<D>),
CsrrwI(CsrITypeInst<D>),
CsrrsI(CsrITypeInst<D>),
CsrrcI(CsrITypeInst<D>),
Uret,
Sret,
Mret,
Wfi,
SfenceVm(RTypeIntInst<D>),
SfenceVma(RTypeIntInst<D>),
AddIW(ITypeIntInst<D>),
SllIW(ITypeIntInst<D>),
SrlIW(ITypeIntInst<D>),
SraIW(ITypeIntInst<D>),
AddW(RTypeIntInst<D>),
SllW(RTypeIntInst<D>),
SrlW(RTypeIntInst<D>),
SubW(RTypeIntInst<D>),
SraW(RTypeIntInst<D>),
Mul(RTypeIntInst<D>),
MulH(RTypeIntInst<D>),
MulHSU(RTypeIntInst<D>),
MulHU(RTypeIntInst<D>),
Div(RTypeIntInst<D>),
DivU(RTypeIntInst<D>),
Rem(RTypeIntInst<D>),
RemU(RTypeIntInst<D>),
MulW(RTypeIntInst<D>),
DivW(RTypeIntInst<D>),
DivUW(RTypeIntInst<D>),
RemW(RTypeIntInst<D>),
RemUW(RTypeIntInst<D>),
Lr(AtomicInst<D>),
Sc(AtomicInst<D>),
AmoSwap(AtomicInst<D>),
AmoAdd(AtomicInst<D>),
AmoXor(AtomicInst<D>),
AmoAnd(AtomicInst<D>),
AmoOr(AtomicInst<D>),
AmoMin(AtomicInst<D>),
AmoMax(AtomicInst<D>),
AmoMinU(AtomicInst<D>),
AmoMaxU(AtomicInst<D>),
LoadFp(FpMemInst<D>),
StoreFp(FpMemInst<D>),
Fmadd(FpMAddInst<D>),
Fmsub(FpMAddInst<D>),
Fnmsub(FpMAddInst<D>),
Fnmadd(FpMAddInst<D>),
Fadd(RTypeFloatRoundInst<D>),
Fsub(RTypeFloatRoundInst<D>),
Fmul(RTypeFloatRoundInst<D>),
Fdiv(RTypeFloatRoundInst<D>),
Fsqrt(RTypeFloatRoundInst<D>),
Fsgnj(RTypeFloatInst<D>),
Fsgnjn(RTypeFloatInst<D>),
Fsgnjx(RTypeFloatInst<D>),
Fmin(RTypeFloatInst<D>),
Fmax(RTypeFloatInst<D>),
Fle(RTypeFloatCmpInst<D>),
Flt(RTypeFloatCmpInst<D>),
Feq(RTypeFloatCmpInst<D>),
Fcvt(FpCvtInst<D>),
FcvtToInt(FpCvtToIntInst<D>),
FcvtFromInt(FpCvtFromIntInst<D>),
FmvToInt(FpMvToIntInst<D>),
FmvFromInt(FpMvFromIntInst<D>),
Fclass(FpClassInst<D>),
}Variants§
Load(LoadTypeInst<D>)
Fence(ITypeIntInst<D>)
FenceI(ITypeIntInst<D>)
AddI(ITypeIntInst<D>)
SltI(ITypeIntInst<D>)
SltIU(ITypeIntInst<D>)
XorI(ITypeIntInst<D>)
OrI(ITypeIntInst<D>)
AndI(ITypeIntInst<D>)
SllI(ITypeIntInst<D>)
SrlI(ITypeIntInst<D>)
SraI(ITypeIntInst<D>)
Auipc(UTypeInst<D>)
Store(StoreTypeInst<D>)
Add(RTypeIntInst<D>)
Sll(RTypeIntInst<D>)
Slt(RTypeIntInst<D>)
SltU(RTypeIntInst<D>)
Xor(RTypeIntInst<D>)
Srl(RTypeIntInst<D>)
Or(RTypeIntInst<D>)
And(RTypeIntInst<D>)
Sub(RTypeIntInst<D>)
Sra(RTypeIntInst<D>)
Lui(UTypeInst<D>)
Beq(BTypeInst<D>)
Bne(BTypeInst<D>)
Blt(BTypeInst<D>)
Bge(BTypeInst<D>)
BltU(BTypeInst<D>)
BgeU(BTypeInst<D>)
Jalr(ITypeIntInst<D>)
Jal(JTypeInst<D>)
Ecall
Ebreak
Csrrw(CsrTypeInst<D>)
Csrrs(CsrTypeInst<D>)
Csrrc(CsrTypeInst<D>)
CsrrwI(CsrITypeInst<D>)
CsrrsI(CsrITypeInst<D>)
CsrrcI(CsrITypeInst<D>)
Uret
Sret
Mret
Wfi
SfenceVm(RTypeIntInst<D>)
SfenceVma(RTypeIntInst<D>)
AddIW(ITypeIntInst<D>)
SllIW(ITypeIntInst<D>)
SrlIW(ITypeIntInst<D>)
SraIW(ITypeIntInst<D>)
AddW(RTypeIntInst<D>)
SllW(RTypeIntInst<D>)
SrlW(RTypeIntInst<D>)
SubW(RTypeIntInst<D>)
SraW(RTypeIntInst<D>)
Mul(RTypeIntInst<D>)
MulH(RTypeIntInst<D>)
MulHSU(RTypeIntInst<D>)
MulHU(RTypeIntInst<D>)
Div(RTypeIntInst<D>)
DivU(RTypeIntInst<D>)
Rem(RTypeIntInst<D>)
RemU(RTypeIntInst<D>)
MulW(RTypeIntInst<D>)
DivW(RTypeIntInst<D>)
DivUW(RTypeIntInst<D>)
RemW(RTypeIntInst<D>)
RemUW(RTypeIntInst<D>)
Lr(AtomicInst<D>)
Sc(AtomicInst<D>)
AmoSwap(AtomicInst<D>)
AmoAdd(AtomicInst<D>)
AmoXor(AtomicInst<D>)
AmoAnd(AtomicInst<D>)
AmoOr(AtomicInst<D>)
AmoMin(AtomicInst<D>)
AmoMax(AtomicInst<D>)
AmoMinU(AtomicInst<D>)
AmoMaxU(AtomicInst<D>)
LoadFp(FpMemInst<D>)
StoreFp(FpMemInst<D>)
Fmadd(FpMAddInst<D>)
Fmsub(FpMAddInst<D>)
Fnmsub(FpMAddInst<D>)
Fnmadd(FpMAddInst<D>)
Fadd(RTypeFloatRoundInst<D>)
Fsub(RTypeFloatRoundInst<D>)
Fmul(RTypeFloatRoundInst<D>)
Fdiv(RTypeFloatRoundInst<D>)
Fsqrt(RTypeFloatRoundInst<D>)
Fsgnj(RTypeFloatInst<D>)
Fsgnjn(RTypeFloatInst<D>)
Fsgnjx(RTypeFloatInst<D>)
Fmin(RTypeFloatInst<D>)
Fmax(RTypeFloatInst<D>)
Fle(RTypeFloatCmpInst<D>)
Flt(RTypeFloatCmpInst<D>)
Feq(RTypeFloatCmpInst<D>)
Fcvt(FpCvtInst<D>)
FcvtToInt(FpCvtToIntInst<D>)
FcvtFromInt(FpCvtFromIntInst<D>)
FmvToInt(FpMvToIntInst<D>)
FmvFromInt(FpMvFromIntInst<D>)
Fclass(FpClassInst<D>)
Trait Implementations§
impl<D: Copy + RiscVDisassembler> Copy for Op<D>
Auto Trait Implementations§
impl<D> Freeze for Op<D>
impl<D> RefUnwindSafe for Op<D>where
D: RefUnwindSafe,
impl<D> Send for Op<D>
impl<D> Sync for Op<D>
impl<D> Unpin for Op<D>where
D: Unpin,
impl<D> UnwindSafe for Op<D>where
D: 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