19 lines
466 B
Rust
19 lines
466 B
Rust
//! Encoding tables for RISC-V.
|
|
|
|
use super::registers::*;
|
|
use crate::ir;
|
|
use crate::isa;
|
|
use crate::isa::constraints::*;
|
|
use crate::isa::enc_tables::*;
|
|
use crate::isa::encoding::{base_size, RecipeSizing};
|
|
use crate::predicates;
|
|
|
|
// Include the generated encoding tables:
|
|
// - `LEVEL1_RV32`
|
|
// - `LEVEL1_RV64`
|
|
// - `LEVEL2`
|
|
// - `ENCLIST`
|
|
// - `INFO`
|
|
include!(concat!(env!("OUT_DIR"), "/encoding-riscv.rs"));
|
|
include!(concat!(env!("OUT_DIR"), "/legalize-riscv.rs"));
|