From: Dmitry Selyutin Date: Sun, 16 Jan 2022 18:09:35 +0000 (+0000) Subject: sv_binutils: add missing include directives X-Git-Tag: sv_maxu_works-initial~560 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff25a061545b7adead389ac92a46f59f60b28d36;p=openpower-isa.git sv_binutils: add missing include directives --- diff --git a/src/openpower/sv/sv_binutils.py b/src/openpower/sv/sv_binutils.py index a6c97d94..9cce744d 100644 --- a/src/openpower/sv/sv_binutils.py +++ b/src/openpower/sv/sv_binutils.py @@ -243,6 +243,9 @@ class Codegen(_enum.Enum): yield f"#define {self.name}" yield "" + yield "#include " + yield "" + yield from Opcode.c_decl() yield "" @@ -269,6 +272,9 @@ class Codegen(_enum.Enum): yield from DISCLAIMER yield "" + yield "#include \"ppc-opc-svp64.h\"" + yield "" + yield "const struct svp64_entry svp64_entries[] = {{" for (index, entry) in enumerate(entries): yield from indent(entry.c_value(prefix=f"[{index}] = ", suffix=","))