pysvp64asm: uncomment the remapped instructions
authorDmitry Selyutin <ghostmansd@gmail.com>
Mon, 29 Aug 2022 16:14:04 +0000 (19:14 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Mon, 29 Aug 2022 16:14:04 +0000 (19:14 +0300)
src/openpower/sv/trans/svp64.py

index 1e15c7995cfaa4d889e606c38e83c94f6f4e3182..dc8fe9b521c9a1c7612974b078c8658fb4af6e86 100644 (file)
@@ -1255,7 +1255,7 @@ class SVP64Asm:
 
         # fiinally yield the svp64 prefix and the thingy.  v3.0b opcode
         rc = '.' if rc_mode else ''
-        yield ".long 0x%08x # %s" % (svp64_prefix.insn.value, insn)
+        yield ".long 0x%08x" % svp64_prefix.insn.value
         log(v30b_op, v30b_newfields)
         # argh, sv.fmadds etc. need to be done manually
         if v30b_op == 'ffmadds':
@@ -1314,6 +1314,7 @@ class SVP64Asm:
             if not v30b_op.endswith('.'):
                 v30b_op += rc
             yield "%s %s" % (v30b_op, ", ".join(v30b_newfields))
+        yield f"# {insn}"
         log("new v3.0B fields", v30b_op, v30b_newfields)
 
     def translate(self, lst):