correct name of DynamicOperandTargetAddrLI and DynamicOperandTargetAddrBD
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 22:48:42 +0000 (23:48 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 5 Sep 2022 22:48:42 +0000 (23:48 +0100)
they should be target_addr not LI or BD
this makes the output of pysvp64dis.py -v match what is in
the v3.0/v3.1 specification
`

src/openpower/decoder/power_insn.py

index 6ea7f58d37e5ed5091f4d8cd032f4d8936ff8d9e..46b17138a5435e70565183d4cfedc8d285f31581 100644 (file)
@@ -487,7 +487,7 @@ class StaticOperand(Operand):
 class DynamicOperandTargetAddrLI(DynamicOperand):
     @property
     def name(self):
-        return "LI"
+        return "target_addr"
 
     @name.setter
     def name(self, _):
@@ -508,7 +508,7 @@ class DynamicOperandTargetAddrLI(DynamicOperand):
 class DynamicOperandTargetAddrBD(DynamicOperand):
     @property
     def name(self):
-        return "BD"
+        return "target_addr"
 
     @name.setter
     def name(self, _):