From 6d04f0e3ae2907424248b7045d3ac1882b6045e7 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Thu, 26 May 2022 14:23:07 +0000 Subject: [PATCH] svp64.py: always put leading zeroes for prefix --- 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 ada0cf75..59d4c8ee 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1037,7 +1037,7 @@ class SVP64Asm: # fiinally yield the svp64 prefix and the thingy. v3.0b opcode rc = '.' if rc_mode else '' - yield ".long 0x%x" % svp64_prefix.insn.value + yield ".long 0x%08x" % svp64_prefix.insn.value log(v30b_newfields) # argh, sv.fmadds etc. need to be done manually if v30b_op == 'ffmadds': -- 2.30.2