power_insn: support mode selector
authorDmitry Selyutin <ghostmansd@gmail.com>
Fri, 2 Sep 2022 22:11:32 +0000 (01:11 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sat, 3 Sep 2022 18:41:28 +0000 (21:41 +0300)
src/openpower/decoder/power_insn.py

index 5346913648c34dd72546cd2150b06a956a3036f6..dd936134a4d3505b8a174ef4f781c9f4690c9aba 100644 (file)
@@ -722,6 +722,7 @@ class PrefixedInstruction(Instruction):
 
 class Mode(_Mapping):
     _: _Field = range(0, 5)
+    sel: _Field = range(0, 2)
 
 
 class NormalMode(Mode):