Move formats, entities, and immediates to the base package.

- base.formats defines instruction formats.
- base.entities defines kinds of entity references.
- base.immediates defines kinds of imediate operands.
This commit is contained in:
Jakob Stoklund Olesen
2016-11-08 11:02:07 -08:00
parent bb28dc6686
commit 6eaa8eb382
7 changed files with 8 additions and 7 deletions

View File

@@ -10,8 +10,8 @@ instruction formats described in the reference:
"""
from __future__ import absolute_import
from cretonne import EncRecipe
from cretonne.formats import Binary, BinaryImm
from cdsl.predicates import IsSignedInt
from base.formats import Binary, BinaryImm
# The low 7 bits of a RISC-V instruction is the base opcode. All 32-bit
# instructions have 11 as the two low bits, with bits 6:2 determining the base