power_insn: discard SVP64 record for word instructions
authorDmitry Selyutin <ghostmansd@gmail.com>
Mon, 12 Dec 2022 19:42:49 +0000 (22:42 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:16 +0000 (19:51 +0100)
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)