Add Intel legalization for division and multiplication.

These operations need custom legalization in order to use Intel's div
and idiv instructions.
This commit is contained in:
Jakob Stoklund Olesen
2017-07-28 08:46:45 -07:00
parent 99d34cbbd7
commit 54534e2147
7 changed files with 134 additions and 16 deletions

View File

@@ -1,10 +1,11 @@
//! Encoding tables for Intel ISAs.
use bitset::BitSet;
use ir;
use isa;
use isa::constraints::*;
use isa::enc_tables::*;
use isa::encoding::RecipeSizing;
use isa;
use predicates;
use super::registers::*;