From: Dmitry Selyutin Date: Sun, 9 Jan 2022 15:40:52 +0000 (+0000) Subject: sv_binutils: reorder declarations X-Git-Tag: sv_maxu_works-initial~576 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cdd4de06afd1e14644a75546b8c0d1a7e27dfe9e;p=openpower-isa.git sv_binutils: reorder declarations --- diff --git a/src/openpower/sv/sv_binutils.py b/src/openpower/sv/sv_binutils.py index f416d083..185d33dc 100644 --- a/src/openpower/sv/sv_binutils.py +++ b/src/openpower/sv/sv_binutils.py @@ -237,19 +237,18 @@ class Codegen(_enum.Enum): yield f"#define {self.name}" yield "" + yield from Opcode.c_decl() + yield "" + enums = ( - SVPType, SVEType, In1Sel, In2Sel, In3Sel, OutSel, CRInSel, CROutSel, - SVEXTRA, + SVPType, SVEType, SVEXTRA, ) for enum in enums: yield from enum.c_decl() yield "" - yield from Opcode.c_decl() - yield "" - yield from Entry.c_decl() yield ""