Skip to main content

Crate wave_decode

Crate wave_decode 

Source
Expand description

Shared instruction decoder for the WAVE ISA. Provides opcode definitions,

instruction decoding from binary to structured types, and WBIN container format parsing. Used by wave-dis and wave-emu.

Re-exports§

pub use decoder::decode_all;
pub use decoder::decode_at;
pub use decoder::DecodeError;
pub use decoder::Decoder;
pub use instruction::DecodedInstruction;
pub use instruction::Operation;
pub use opcodes::special_register_name;
pub use opcodes::AtomicOp;
pub use opcodes::BitOpType;
pub use opcodes::CmpOp;
pub use opcodes::ControlOp;
pub use opcodes::CvtType;
pub use opcodes::F16Op;
pub use opcodes::F16PackedOp;
pub use opcodes::F64DivSqrtOp;
pub use opcodes::F64Op;
pub use opcodes::FUnaryOp;
pub use opcodes::MemWidth;
pub use opcodes::MiscOp;
pub use opcodes::Opcode;
pub use opcodes::Scope;
pub use opcodes::SyncOp;
pub use opcodes::WaveOpType;
pub use opcodes::WaveReduceType;
pub use opcodes::SPECIAL_REGISTER_NAMES;
pub use wbin::KernelInfo;
pub use wbin::WbinError;
pub use wbin::WbinFile;
pub use wbin::WbinHeader;
pub use wbin::WBIN_MAGIC;
pub use wbin::WBIN_VERSION;

Modules§

decoder
Core instruction decoder. Reads binary instruction words and produces
instruction
Decoded instruction types. Represents WAVE instructions in a structured
opcodes
Opcode definitions and constants for WAVE ISA decoding.
wbin
WBIN container reader. Parses the .wbin binary format produced by wave-asm,