From: Luke Kenneth Casson Leighton Date: Thu, 18 Mar 2021 11:39:28 +0000 (+0000) Subject: add extra (fake) out2 column to RM SVP64 CSV output X-Git-Tag: DRAFT_SVP64_0_1~1182 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1267f463aa6da5f0062961657fda303e8efc70f3;p=libreriscv.git add extra (fake) out2 column to RM SVP64 CSV output --- diff --git a/openpower/isatables/LDSTRM-2P-1S1D.csv b/openpower/isatables/LDSTRM-2P-1S1D.csv deleted file mode 100644 index 03030ce56..000000000 --- a/openpower/isatables/LDSTRM-2P-1S1D.csv +++ /dev/null @@ -1,7 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -lwz,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 -lbz,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 -lhz,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 -lha,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 -ld,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 -lwa,2P,EXTRA3,d:RT,s:RA,0,0,RA_OR_ZERO,0,0,RT,0,0 diff --git a/openpower/isatables/LDSTRM-2P-1S2D.csv b/openpower/isatables/LDSTRM-2P-1S2D.csv deleted file mode 100644 index f7ecf4d99..000000000 --- a/openpower/isatables/LDSTRM-2P-1S2D.csv +++ /dev/null @@ -1,6 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -lwzu,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0 -lbzu,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0 -lhzu,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0 -lhau,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0 -ldu,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0 diff --git a/openpower/isatables/LDSTRM-2P-2S.csv b/openpower/isatables/LDSTRM-2P-2S.csv deleted file mode 100644 index 2a8edea4f..000000000 --- a/openpower/isatables/LDSTRM-2P-2S.csv +++ /dev/null @@ -1,5 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -stw,2P,EXTRA3,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0 -stb,2P,EXTRA3,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0 -sth,2P,EXTRA3,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0 -std,2P,EXTRA3,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0 diff --git a/openpower/isatables/LDSTRM-2P-2S1D.csv b/openpower/isatables/LDSTRM-2P-2S1D.csv deleted file mode 100644 index 6b6925c02..000000000 --- a/openpower/isatables/LDSTRM-2P-2S1D.csv +++ /dev/null @@ -1,32 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -lwarx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -ldx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -lwzx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -lbarx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -ldarx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -lbzx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -lharx,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0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,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -lhaux,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0 -stdux,2P,EXTRA2,d:RA,s:RS;s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stwux,2P,EXTRA2,d:RA,s:RS;s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stbux,2P,EXTRA2,d:RA,s:RS;s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -sthux,2P,EXTRA2,d:RA,s:RS;s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 diff --git a/openpower/isatables/LDSTRM-2P-3S.csv b/openpower/isatables/LDSTRM-2P-3S.csv deleted file mode 100644 index cd1827f76..000000000 --- a/openpower/isatables/LDSTRM-2P-3S.csv +++ /dev/null @@ -1,16 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -stdx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stwx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stbx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -sthx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stdbrx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stwbrx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stwcix,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -sthbrx,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -sthcix,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stbcix,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stdcix,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0 -stwcx,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0 -stdcx,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0 -stbcx,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0 -sthcx,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0 diff --git a/openpower/isatables/RM-1P-2S1D.csv b/openpower/isatables/RM-1P-2S1D.csv deleted file mode 100644 index a80719482..000000000 --- a/openpower/isatables/RM-1P-2S1D.csv +++ /dev/null @@ -1,93 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -crnor,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -crandc,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -crxor,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -crnand,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -crand,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -creqv,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -crorc,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -cror,1P,EXTRA3,d:BT,s:BA,s:BB,0,0,0,0,0,BA_BB,BT -cmp,1P,EXTRA3,d:BF,s:RA,s:RB,0,RA,RB,0,0,0,BF -cmpl,1P,EXTRA3,d:BF,s:RA,s:RB,0,RA,RB,0,0,0,BF -cmprb,1P,EXTRA3,d:BF,s:RA,s:RB,0,RA,RB,0,0,0,B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,s:FRB,0,FRA,FRB,0,FRT,0,CR1 -fadd,1P,EXTRA3,d:FRT;d:CR1,s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 -fmul,1P,EXTRA3,d:FRT;d:CR1,s:FRA,s:FRC,0,FRA,0,FRC,FRT,0,CR1 -0/8=fcpsgn,1P,EXTRA3,d:FRT;d:CR1,s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1 -rlwimi,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0 -rldimi,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0 -rldimi,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0 diff --git a/openpower/isatables/RM-1P-3S1D.csv b/openpower/isatables/RM-1P-3S1D.csv deleted file mode 100644 index 407bdee89..000000000 --- a/openpower/isatables/RM-1P-3S1D.csv +++ /dev/null @@ -1,37 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA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RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -isel,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0 -fmsubs,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 -fmadds,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 -fnmsubs,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 -fnmadds,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1 diff --git a/openpower/isatables/RM-2P-1S1D.csv b/openpower/isatables/RM-2P-1S1D.csv deleted file mode 100644 index 6ece9ee93..000000000 --- a/openpower/isatables/RM-2P-1S1D.csv +++ /dev/null @@ -1,83 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -mcrf,2P,EXTRA3,d:BF,s:BFA,0,0,0,0,0,0,BFA,BF -mfcr/mfocrf,2P,EXTRA3,d:RT,s:CR,0,0,0,0,0,RT,WHOLE_REG,0 -setb,2P,EXTRA3,d:RT,s:BFA,0,0,0,0,0,RT,BFA,0 -5/0=ftsqrt,2P,EXTRA3,d:BF,s:FRB,0,0,0,FRB,0,0,0,BF -22/7=mtfsf,2P,EXTRA3,d:CR1,s:FRB,0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csv deleted file mode 100644 index e47efb85e..000000000 --- a/openpower/isatables/RM-2P-2S1D.csv +++ /dev/null @@ -1,2 +0,0 @@ -insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out -mtcrf/mtocrf,2P,EXTRA2,d:CR,s:RS,s:CR,0,RS,0,0,0,WHOLE_REG,WHOLE_REG diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 7530613f3..d6e3b039a 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -325,6 +325,7 @@ def process_csvs(): print ("# svp64 remaps") svp64 = OrderedDict() # create a CSV file, per category, with SV "augmentation" info + # XXX note: 'out2' not added here, needs to be added to CSV files csvcols = ['insn', 'Ptype', 'Etype', '0', '1', '2', '3'] csvcols += ['in1', 'in2', 'in3', 'out', 'CR in', 'CR out'] # temporary for key in primarykeys: @@ -361,6 +362,10 @@ def process_csvs(): # go through each register matching to Rxxxx_EXTRAx for k in ['0', '1', '2', '3']: res[k] = '' + # create "fake" out2 (TODO, needs to be added to CSV files) + res['out2'] = 'NONE' + if insn['upd'] == '1': # LD/ST with update has RA as out2 + res['out2'] = 'RA' # temporary useful info regs = [] @@ -572,7 +577,7 @@ def process_csvs(): print ('') #csvcols = ['insn', 'Ptype', 'Etype', '0', '1', '2', '3'] - write_csv("%s.csv" % value, csv, csvcols) + write_csv("%s.csv" % value, csv, csvcols + ['out2']) # okaaay, now we re-read them back in for producing microwatt SV