power_insn: discard SVP64 record for word instructions
authorDmitry Selyutin <ghostmansd@gmail.com>
Mon, 12 Dec 2022 19:42:49 +0000 (22:42 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 15 Jan 2023 19:47:22 +0000 (22:47 +0300)
src/openpower/decoder/power_insn.py

index b8cbcf986b3c94257a71df0cf2313c81ff56230c..d1a6c5eb8f169e9beb9210da96324b16278af7c7 100644 (file)
@@ -1627,6 +1627,7 @@ class WordInstruction(Instruction):
             arguments = ()
 
         record = db[opcode]
+        record = _dataclasses.replace(record, svp64=None)
         insn = cls.integer(value=0)
         for operand in record.static_operands:
             operand.assemble(insn=insn)