From: Dmitry Selyutin Date: Fri, 2 Sep 2022 16:34:21 +0000 (+0300) Subject: power_insn: remap RM immediately X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9678676830119548c9201ae1f1a9d1331ccf859;p=openpower-isa.git power_insn: remap RM immediately --- 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