Added insn initialisation for grev() func
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 11 Jul 2022 10:47:59 +0000 (10:47 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Mon, 11 Jul 2022 10:47:59 +0000 (10:47 +0000)
src/openpower/sv/trans/svp64.py

index f4b03a5f276967d0570f2f97660fc3e7228b97a9..61ac6cacc96b2d1d90be851e47d82138b6c2ab73 100644 (file)
@@ -293,7 +293,7 @@ def ternlogi(fields, Rc):
 def grev(fields, Rc, imm, wide):
     # XXX WARNING THESE ARE NOT APPROVED BY OPF ISA WG
     # however we are out of space with opcode 22
-    PO = 5
+    insn = PO = 5
     # _ matches fields in table at:
     # https://libre-soc.org/openPOwer/sv/bitmanip/
     XO = 0b1_0010_110