From cdd4de06afd1e14644a75546b8c0d1a7e27dfe9e Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Sun, 9 Jan 2022 15:40:52 +0000 Subject: [PATCH] sv_binutils: reorder declarations --- src/openpower/sv/sv_binutils.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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 "" -- 2.30.2