From f9678676830119548c9201ae1f1a9d1331ccf859 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Fri, 2 Sep 2022 19:34:21 +0300 Subject: [PATCH] power_insn: remap RM immediately --- src/openpower/decoder/power_insn.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openpower/decoder/power_insn.py b/src/openpower/decoder/power_insn.py index 3aabf111..25a9edee 100644 --- a/src/openpower/decoder/power_insn.py +++ b/src/openpower/decoder/power_insn.py @@ -745,8 +745,11 @@ class SVP64Instruction(PrefixedInstruction): range(16, 19), ) + class RM(RM.remap((6, 8) + tuple(range(10, 32)))): + pass + id: _Field = (7, 9) - rm: RM = ((6, 8) + tuple(range(10, 32))) + rm: RM prefix: Prefix -- 2.30.2