Files
wasmtime/lib/cretonne/src/isa/arm32/binemit.rs
Jakob Stoklund Olesen 0619d6f827 Generate binemit::emit_inst() functions.
Use the meta language encoding recipes to generate an emit_inst()
function for each ISA. The generated calls into recipe_*() functions
that must be implemented by hand.

Implement recipe_*() functions for the RISC-V recipes.

Add the TargetIsa::emit_inst() entry point which emits an instruction to
a CodeSink trait object.
2017-03-28 14:44:36 -07:00

7 lines
164 B
Rust

//! Emitting binary ARM32 machine code.
use binemit::{CodeSink, bad_encoding};
use ir::{Function, Inst};
include!(concat!(env!("OUT_DIR"), "/binemit-arm32.rs"));