The tables returned by recipe_names() and recipe_constraints() are now collected into an EncInfo struct that is available from TargetIsa::encoding_info(). This is equivalent to the register bank tables available fro TargetIsa::register_info(). This cleans of the TargetIsa interface and makes it easier to add encoding-related information.
10 lines
227 B
Rust
10 lines
227 B
Rust
//! Encoding tables for ARM64 ISA.
|
|
|
|
use ir::InstructionData;
|
|
use ir::types;
|
|
use isa::EncInfo;
|
|
use isa::constraints::*;
|
|
use isa::enc_tables::{Level1Entry, Level2Entry};
|
|
|
|
include!(concat!(env!("OUT_DIR"), "/encoding-arm64.rs"));
|