The icmp and fmp instructions use different kinds of condition codes because integers and floating point values behave differently. Add a CondCode trait implementing shared behavior.
17 lines
428 B
Rust
17 lines
428 B
Rust
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
//
|
|
// Cretonne code generation library.
|
|
//
|
|
// ====------------------------------------------------------------------------------------==== //
|
|
|
|
pub const VERSION: &'static str = env!("CARGO_PKG_VERSION");
|
|
|
|
pub mod types;
|
|
pub mod condcodes;
|
|
pub mod immediates;
|
|
pub mod entities;
|
|
pub mod instructions;
|
|
pub mod repr;
|
|
pub mod write;
|