From 1a06aea1fe266a75af713ac9815306696a1ffa4e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 30 Aug 2022 14:10:12 +0100 Subject: [PATCH] remove fuck-up by programmerjake not reading the specification for svstep https://libre-soc.org/openpower/sv/svstep/ --- src/openpower/sv/trans/svp64.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 0c3e3f87..b55e0654 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1295,12 +1295,6 @@ class SVP64Asm: if not v30b_op.endswith('.'): v30b_op_rc += rc - # svstep is weird - # FIXME(lkcl): should sv.svstep be like svstep? - if v30b_op_rc in ("svstep", "svstep."): - # compensate for `SVi -= 1` in svstep() - v30b_newfields[1] = str(int(v30b_newfields[1]) + 1) - custom_insn_hook = CUSTOM_INSNS.get(v30b_op_rc) if custom_insn_hook is not None: fields = tuple(map(to_number, v30b_newfields)) -- 2.30.2