From: Luke Kenneth Casson Leighton Date: Wed, 7 Sep 2022 19:26:24 +0000 (+0100) Subject: whoops forgot to strip "NN/NN=insn" in power_svp64.py X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=93d7a67f89aac56e7f329e060dce274a66641466;p=openpower-isa.git whoops forgot to strip "NN/NN=insn" in power_svp64.py --- diff --git a/src/openpower/decoder/power_svp64.py b/src/openpower/decoder/power_svp64.py index ea7f465c..47693727 100644 --- a/src/openpower/decoder/power_svp64.py +++ b/src/openpower/decoder/power_svp64.py @@ -78,6 +78,7 @@ class SVP64RM: for fname in os.listdir(pth): if fname.startswith("RM") or fname.startswith("LDSTRM"): for entry in get_csv(fname): + entry['insn'] = entry['insn'].split("=")[-1] if microwatt_format: # move RS from position 1 to position 3, to match # microwatt decode1.vhdl format @@ -93,6 +94,8 @@ class SVP64RM: # now add the RM fields (for each instruction) for entry in v30b: + # FP entries have a format NN/NN=insn + entry['comment'] = entry['comment'].split("=")[-1] # *sigh* create extra field "out2" based on LD/ST update # KEEP TRACK HERE https://bugs.libre-soc.org/show_bug.cgi?id=619 entry['out2'] = 'NONE'