Skip to main content

ab_riscv_primitives/
prelude.rs

1//! Re-export of all public items from the crate
2
3pub use crate::instructions::Instruction;
4pub use crate::instructions::rv32::Rv32Instruction;
5pub use crate::instructions::rv32::a::Rv32AInstruction;
6pub use crate::instructions::rv32::a::zaamo::Rv32ZaamoInstruction;
7pub use crate::instructions::rv32::a::zalrsc::Rv32ZalrscInstruction;
8pub use crate::instructions::rv32::b::Rv32BInstruction;
9pub use crate::instructions::rv32::b::zba::Rv32ZbaInstruction;
10pub use crate::instructions::rv32::b::zbb::Rv32ZbbInstruction;
11pub use crate::instructions::rv32::b::zbc::Rv32ZbcInstruction;
12pub use crate::instructions::rv32::b::zbs::Rv32ZbsInstruction;
13pub use crate::instructions::rv32::c::zca::Rv32ZcaInstruction;
14pub use crate::instructions::rv32::m::Rv32MInstruction;
15pub use crate::instructions::rv32::m::zmmul::Rv32ZmmulInstruction;
16pub use crate::instructions::rv32::zabha::Rv32ZabhaInstruction;
17pub use crate::instructions::rv32::zacas::Rv32ZacasInstruction;
18pub use crate::instructions::rv32::zalasr::Rv32ZalasrInstruction;
19pub use crate::instructions::rv32::zce::zcb::{Rv32ZcbInstruction, Rv32ZcbOnlyInstruction};
20pub use crate::instructions::rv32::zce::zcmp::{
21    Rv32ZcmpInstruction, Rv32ZcmpOnlyInstruction, ZcmpRegister, ZcmpUrlist,
22};
23pub use crate::instructions::rv32::zk::zbkb::Rv32ZbkbInstruction;
24pub use crate::instructions::rv32::zk::zbkc::Rv32ZbkcInstruction;
25pub use crate::instructions::rv32::zk::zbkx::Rv32ZbkxInstruction;
26pub use crate::instructions::rv32::zk::zkn::Rv32ZknInstruction;
27pub use crate::instructions::rv32::zk::zkn::zknd::{Rv32AesBs, Rv32ZkndInstruction};
28pub use crate::instructions::rv32::zk::zkn::zkne::Rv32ZkneInstruction;
29pub use crate::instructions::rv32::zk::zkn::zknh::Rv32ZknhInstruction;
30pub use crate::instructions::rv64::Rv64Instruction;
31pub use crate::instructions::rv64::a::Rv64AInstruction;
32pub use crate::instructions::rv64::a::zaamo::Rv64ZaamoInstruction;
33pub use crate::instructions::rv64::a::zalrsc::Rv64ZalrscInstruction;
34pub use crate::instructions::rv64::b::Rv64BInstruction;
35pub use crate::instructions::rv64::b::zba::Rv64ZbaInstruction;
36pub use crate::instructions::rv64::b::zbb::Rv64ZbbInstruction;
37pub use crate::instructions::rv64::b::zbc::Rv64ZbcInstruction;
38pub use crate::instructions::rv64::b::zbs::Rv64ZbsInstruction;
39pub use crate::instructions::rv64::c::zca::Rv64ZcaInstruction;
40pub use crate::instructions::rv64::m::Rv64MInstruction;
41pub use crate::instructions::rv64::m::zmmul::Rv64ZmmulInstruction;
42pub use crate::instructions::rv64::zabha::Rv64ZabhaInstruction;
43pub use crate::instructions::rv64::zacas::Rv64ZacasInstruction;
44pub use crate::instructions::rv64::zalasr::Rv64ZalasrInstruction;
45pub use crate::instructions::rv64::zce::zcb::{Rv64ZcbInstruction, Rv64ZcbOnlyInstruction};
46pub use crate::instructions::rv64::zce::zcmp::{Rv64ZcmpInstruction, Rv64ZcmpOnlyInstruction};
47pub use crate::instructions::rv64::zk::zbkb::Rv64ZbkbInstruction;
48pub use crate::instructions::rv64::zk::zbkc::Rv64ZbkcInstruction;
49pub use crate::instructions::rv64::zk::zbkx::Rv64ZbkxInstruction;
50pub use crate::instructions::rv64::zk::zkn::Rv64ZknInstruction;
51pub use crate::instructions::rv64::zk::zkn::zknd::{Rv64ZkndInstruction, Rv64ZkndKsRnum};
52pub use crate::instructions::rv64::zk::zkn::zkne::Rv64ZkneInstruction;
53pub use crate::instructions::rv64::zk::zkn::zknh::Rv64ZknhInstruction;
54pub use crate::instructions::utils::{I24, I24WithZeroedBits};
55pub use crate::instructions::v::zvexx::ZveXxInstruction;
56pub use crate::instructions::v::zvexx::arith::ZveXxArithInstruction;
57pub use crate::instructions::v::zvexx::carry::ZveXxCarryInstruction;
58pub use crate::instructions::v::zvexx::config::ZveXxConfigInstruction;
59pub use crate::instructions::v::zvexx::fixed_point::ZveXxFixedPointInstruction;
60pub use crate::instructions::v::zvexx::load::{LoadStoreNreg, Nf, SegVmNf, ZveXxLoadInstruction};
61pub use crate::instructions::v::zvexx::mask::ZveXxMaskInstruction;
62pub use crate::instructions::v::zvexx::muldiv::ZveXxMulDivInstruction;
63pub use crate::instructions::v::zvexx::perm::ZveXxPermInstruction;
64pub use crate::instructions::v::zvexx::reduction::ZveXxReductionInstruction;
65pub use crate::instructions::v::zvexx::store::ZveXxStoreInstruction;
66pub use crate::instructions::v::zvexx::widen_narrow::ZveXxWidenNarrowInstruction;
67pub use crate::instructions::v::{
68    Eew, Elen, SUPPORTED_ELEN_VLEN, V, Vl, Vlen, Vlmul, VsStatus, Vsew, VsewFactor, Vstart, Vtype,
69    Vxrm,
70};
71pub use crate::instructions::zawrs::ZawrsInstruction;
72pub use crate::instructions::zicond::ZicondInstruction;
73pub use crate::instructions::zicsr::ZicsrInstruction;
74pub use crate::instructions::zkr::{SEED_CSR_INDEX, ZkrInstruction};
75pub use crate::instructions::zvbb::ZvbbInstruction;
76pub use crate::instructions::zvbb::zvkb::ZvkbInstruction;
77pub use crate::instructions::zvbc::ZvbcInstruction;
78pub use crate::privilege::*;
79pub use crate::registers::general_purpose::*;
80pub use crate::registers::machine::*;
81pub use crate::registers::vector::*;