Add an empty isa/riscv module scaffold.
Targeted ISAs will be defined as sub-modules of isa.
This commit is contained in:
6
src/libcretonne/isa/mod.rs
Normal file
6
src/libcretonne/isa/mod.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
//! Instruction Set Architectures.
|
||||
//!
|
||||
//! The sub-modules of this `isa` module provide definitions for the instruction sets that Cretonne
|
||||
//! can target.
|
||||
|
||||
pub mod riscv;
|
||||
1
src/libcretonne/isa/riscv/mod.rs
Normal file
1
src/libcretonne/isa/riscv/mod.rs
Normal file
@@ -0,0 +1 @@
|
||||
//! RISC-V Instruction Set Architecture.
|
||||
@@ -8,6 +8,7 @@
|
||||
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
pub mod ir;
|
||||
pub mod isa;
|
||||
pub mod write;
|
||||
pub mod cfg;
|
||||
pub mod dominator_tree;
|
||||
|
||||
Reference in New Issue
Block a user