From ff25a061545b7adead389ac92a46f59f60b28d36 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 16 Jan 2022 18:09:35 +0000 Subject: [PATCH] sv_binutils: add missing include directives --- src/openpower/sv/sv_binutils.py | 6 ++++++ 1 file changed, 6 insertions(+) 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=",")) -- 2.30.2