gaah what a frickin mess
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:42:02 +0000 (20:42 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:42:02 +0000 (20:42 +0100)
src/openpower/sv/trans/svp64.py

index 5252bfeb67e3a6a4ed10e6f6a76105a4b863579e..6c4d98d56d58f1e7775da715b5b1e5c39b86418b 100644 (file)
@@ -1246,7 +1246,7 @@ class SVP64Asm:
 
         # fiinally yield the svp64 prefix and the thingy.  v3.0b opcode
         rc = '.' if rc_mode else ''
-        yield ".long 0x%08x" % svp64_prefix.insn.value
+        yield ".long 0x%08x" % int(svp64_prefix)
         log(v30b_op, v30b_newfields)
         # argh, sv.fmadds etc. need to be done manually
         if v30b_op == 'ffmadds':