Expand description
Code generation utilities that turn normalized AARCHMRS data into compact Rust tables.
This crate does not participate in runtime encoding directly. Instead it generates:
- deduplicated
EncodingSpecpools, - mnemonic/variant dispatch tables,
- macro-side normalization and fast-dispatch metadata.
The output is consumed by jit at build time.
Enums§
- Codegen
Error - Errors emitted by codegen.
Functions§
- collect_
conditional_ branch_ alias_ rules - Collects generated conditional-branch alias spellings and their canonical mnemonic mappings.
- collect_
flat_ from_ generated_ rust - Collects normalized instruction variants from generated
aarchmrs-instructionsRust source. - generate_
encoder_ module - Generates a Rust module that declares encoding specs for all provided variants.
- generate_
macro_ normalization_ module - Generates a Rust module that declares JIT macro normalization rule tables.