Generate register bank descriptions.

Use the information in the ISA's registers.py files to generate a
RegInfo Rust data structure.
This commit is contained in:
Jakob Stoklund Olesen
2016-11-22 10:51:42 -08:00
parent fd412b49e1
commit 353caf23cd
11 changed files with 232 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ This target ISA generates code for ARMv7 and ARMv8 CPUs in 32-bit mode
from __future__ import absolute_import
from . import defs
from . import registers # noqa
# Re-export the primary target ISA definition.
ISA = defs.ISA.finish()

View File

@@ -7,6 +7,7 @@ ARMv8 CPUs running the Aarch64 architecture.
from __future__ import absolute_import
from . import defs
from . import registers # noqa
# Re-export the primary target ISA definition.
ISA = defs.ISA.finish()

View File

@@ -17,6 +17,7 @@ is no x87 floating point support.
from __future__ import absolute_import
from . import defs
from . import registers # noqa
# Re-export the primary target ISA definition.
ISA = defs.ISA.finish()

View File

@@ -26,7 +26,7 @@ RV32G / RV64G
"""
from __future__ import absolute_import
from . import defs
from . import encodings, settings # noqa
from . import encodings, settings, registers # noqa
# Re-export the primary target ISA definition.
ISA = defs.ISA.finish()