Split out instruction definitions.

- cdsl.instructions defines the Instruction class.
- base.instructions defines the base instruction set.
This commit is contained in:
Jakob Stoklund Olesen
2016-11-08 12:08:14 -08:00
parent 87eb1a8ea0
commit 0b9b956695
15 changed files with 360 additions and 348 deletions

View File

@@ -2,7 +2,7 @@
RISC-V Encodings.
"""
from __future__ import absolute_import
from cretonne import base
from base import instructions as base
from .defs import RV32, RV64
from .recipes import OPIMM, OPIMM32, OP, OP32, R, Rshamt, I
from .settings import use_m