From cb72ef7f02b15ab081fc11c4627af00828e205fc Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 29 Aug 2022 20:42:02 +0100 Subject: [PATCH] gaah what a frickin mess --- src/openpower/sv/trans/svp64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 5252bfeb..6c4d98d5 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -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': -- 2.30.2