Add an empty isa/riscv module scaffold.

Targeted ISAs will be defined as sub-modules of isa.
This commit is contained in:
Jakob Stoklund Olesen
2016-08-04 11:39:25 -07:00
parent 5bd2117ad7
commit c47c524017
3 changed files with 8 additions and 0 deletions

View 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;

View File

@@ -0,0 +1 @@
//! RISC-V Instruction Set Architecture.

View File

@@ -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;