From 91d0f643c324f7fa2ea5a427f842067655b261e4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 30 Jul 2022 17:49:09 +0100 Subject: [PATCH] addPack/Unpack to sv_analysis, extra CSV column. much weirdness, still investigating, lwz is still showing up in LDST-2P-1S1D-imm which should not be happening --- openpower/isatables/LDSTRM-2P-1S2D.csv | 16 +- openpower/isatables/LDSTRM-2P-2S1D.csv | 96 +++++------ openpower/isatables/LDSTRM-2P-3S.csv | 38 ++--- openpower/isatables/RM-1P-1D.csv | 6 +- openpower/isatables/RM-1P-2S1D.csv | 212 ++++++++++++------------- openpower/isatables/RM-1P-3S1D.csv | 100 ++++++------ openpower/isatables/RM-2P-1S1D.csv | 186 +++++++++++----------- openpower/isatables/RM-2P-2S1D.csv | 4 +- src/openpower/sv/sv_analysis.py | 22 +++ 9 files changed, 351 insertions(+), 329 deletions(-) diff --git a/openpower/isatables/LDSTRM-2P-1S2D.csv b/openpower/isatables/LDSTRM-2P-1S2D.csv index da7039f3..2759ab0a 100644 --- a/openpower/isatables/LDSTRM-2P-1S2D.csv +++ b/openpower/isatables/LDSTRM-2P-1S2D.csv @@ -1,8 +1,8 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -lwzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,RA -lbzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,RA -lhzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,RA -lhau,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,RA -lfsu,LDST,~SVP64BREV,2P,EXTRA2,d:FRT,d:RA,s:RA,0,RA,0,0,FRT,0,0,RA -lfdu,LDST,~SVP64BREV,2P,EXTRA2,d:FRT,d:RA,s:RA,0,RA,0,0,FRT,0,0,RA -ldu,LDST,,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,RA +insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,PU,out2 +lwzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,1,RA +lbzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,1,RA +lhzu,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,1,RA +lhau,LDST,~SVP64BREV,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,1,RA +lfsu,LDST,~SVP64BREV,2P,EXTRA2,d:FRT,d:RA,s:RA,0,RA,0,0,FRT,0,0,1,RA +lfdu,LDST,~SVP64BREV,2P,EXTRA2,d:FRT,d:RA,s:RA,0,RA,0,0,FRT,0,0,1,RA +ldu,LDST,,2P,EXTRA2,d:RT,d:RA,s:RA,0,RA_OR_ZERO,0,0,RT,0,0,1,RA diff --git a/openpower/isatables/LDSTRM-2P-2S1D.csv b/openpower/isatables/LDSTRM-2P-2S1D.csv index 118e15a0..df44dd20 100644 --- a/openpower/isatables/LDSTRM-2P-2S1D.csv +++ b/openpower/isatables/LDSTRM-2P-2S1D.csv @@ -1,48 +1,48 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -lwarx,LDST,,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,0 -ldx,LDST,,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,0 -lwzx,LDST,,2P,EXTRA2,d:RT,s:RA,s:RB,0,RA_OR_Z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,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,1,RA +lbzux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,1,RA +lhzux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,1,RA +lwaux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,1,RA +lhaux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,1,RA +lfsux,LDST,,2P,EXTRA2,d:FRT,d:RA,s:RB,0,RA,RB,0,FRT,0,0,1,RA +lfdux,LDST,,2P,EXTRA2,d:FRT,d:RA,s:RB,0,RA,RB,0,FRT,0,0,1,RA +stdux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,1,RA +stwux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,1,RA +stbux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,1,RA +sthux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,1,RA +stfsux,LDST,,2P,EXTRA2,d:RA,s:FRSs:RA,s:RB,0,RA,RB,FRS,0,0,0,1,RA +stfdux,LDST,,2P,EXTRA2,d:RA,s:FRSs:RA,s:RB,0,RA,RB,FRS,0,0,0,1,RA diff --git a/openpower/isatables/LDSTRM-2P-3S.csv b/openpower/isatables/LDSTRM-2P-3S.csv index 66359133..b5f0269f 100644 --- a/openpower/isatables/LDSTRM-2P-3S.csv +++ b/openpower/isatables/LDSTRM-2P-3S.csv @@ -1,19 +1,19 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,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,FRS,0,0,0,1,0 +stdcix,LDST,,2P,EXTRA2,s:RS,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,1,0 +stwcx,LDST,,2P,EXTRA2,s:RSd:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,1,0 +stdcx,LDST,,2P,EXTRA2,s:RSd:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,1,0 +stbcx,LDST,,2P,EXTRA2,s:RSd:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,1,0 +sthcx,LDST,,2P,EXTRA2,s:RSd:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,1,0 diff --git a/openpower/isatables/RM-1P-1D.csv b/openpower/isatables/RM-1P-1D.csv index 844f5274..a829ad53 100644 --- a/openpower/isatables/RM-1P-1D.csv +++ b/openpower/isatables/RM-1P-1D.csv @@ -1,3 +1,3 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -fmvis,NORMAL,,1P,EXTRA3,d:FRS,0,0,0,0,0,0,FRS,0,0,0 -svstep,NORMAL,,1P,EXTRA3,d:RT;d:CR0,0,0,0,0,0,0,RT,0,CR0,0 +insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,PU,out2 +fmvis,NORMAL,,1P,EXTRA3,d:FRS,0,0,0,0,0,0,FRS,0,0,1,0 +svstep,NORMAL,,1P,EXTRA3,d:RT;d:CR0,0,0,0,0,0,0,RT,0,CR0,1,0 diff --git a/openpower/isatables/RM-1P-2S1D.csv b/openpower/isatables/RM-1P-2S1D.csv index 7853a539..7bc9c511 100644 --- a/openpower/isatables/RM-1P-2S1D.csv +++ b/openpower/isatables/RM-1P-2S1D.csv @@ -1,106 +1,106 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -crnor,CROP,,1P,E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,1P,EXTRA3,d:FRT;d:CR1,s:FRA,s:FRB,0,FRA,FRB,0,FRT,0,CR1,1,0 +rlwimi,NORMAL,,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0,1,0 +rldimi,NORMAL,,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0,1,0 +rldimi,NORMAL,,1P,EXTRA3,d:RA;d:CR0,s:RA,s:RS,0,RA,0,RS,RA,0,CR0,1,0 diff --git a/openpower/isatables/RM-1P-3S1D.csv b/openpower/isatables/RM-1P-3S1D.csv index 0142a171..85ed785c 100644 --- a/openpower/isatables/RM-1P-3S1D.csv +++ b/openpower/isatables/RM-1P-3S1D.csv @@ -1,50 +1,50 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s:BC,RA_OR_ZERO,RB,0,RT,BC,0,0 -isel,NORMAL,,1P,EXTRA2,d:RT,s:RA,s:RB,s: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R1,1,0 +fmsub,NORMAL,,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1,1,0 +fmadd,NORMAL,,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1,1,0 +fnmsub,NORMAL,,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1,1,0 +fnmadd,NORMAL,,1P,EXTRA2,d:FRT;d:CR1,s:FRA,s:FRB,s:FRC,FRA,FRB,FRC,FRT,0,CR1,1,0 diff --git a/openpower/isatables/RM-2P-1S1D.csv b/openpower/isatables/RM-2P-1S1D.csv index 29e10d54..84282825 100644 --- a/openpower/isatables/RM-2P-1S1D.csv +++ b/openpower/isatables/RM-2P-1S1D.csv @@ -1,93 +1,93 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -mcrf,NORMAL,,2P,EXTRA3,d:BF,s:BFA,0,0,0,0,0,0,BFA,BF,0 -bclr,BRANCH,,2P,EXTRA3,d:BI,s:BI,0,0,SPR,SPR,0,SPR,BI,0,0 -mfcr/mfocrf,NORMAL,,2P,EXTRA3,d:RT,s:CR,0,0,0,0,0,RT,WHOLE_REG,0,0 -setb,NORMAL,,2P,EXTRA3,d:RT,s:BFA,0,0,0,0,0,RT,BFA,0,0 -bc,BRANCH,,2P,EXTRA3,d:BI,s:BI,0,0,SPR,0,0,SPR,BI,0,0 -5/0=ftsqrt,NORMAL,,2P,EXTRA3,d:BF,s:FRB,0,0,0,FRB,0,0,0,BF,0 -22/7=mtfsf,NORMAL,,2P,EXTRA3,d:CR1,s:FRB,0,0,0,FRB,0,0,0,CR1,0 -cmpli,NORMAL,,2P,EXTRA3,d:BF,s:RA,0,0,RA,0,0,0,0,BF,0 -cmpi,NORMAL,,2P,EXTRA3,d:BF,s:RA,0,0,RA,0,0,0,0,BF,0 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,0 +subfme,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 +addme,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 +subfmeo,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 +addmeo,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 +srawi,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,0,0,RS,RA,0,CR0,1,0 +sradi,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,0,0,RS,RA,0,CR0,1,0 +sradi,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,0,0,RS,RA,0,CR0,1,0 +extswsli,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,0,0,RS,RA,0,CR0,1,0 +extswsli,NORMAL,,2P,EXTRA3,d:RA;d:CR0,s:RS,0,0,0,0,RS,RA,0,CR0,1,0 +grevi,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 +grevwi,NORMAL,,2P,EXTRA3,d:RT;d:CR0,s:RA,0,0,RA,0,0,RT,0,CR0,1,0 diff --git a/openpower/isatables/RM-2P-2S1D.csv b/openpower/isatables/RM-2P-2S1D.csv index 777a34e5..b2a550ad 100644 --- a/openpower/isatables/RM-2P-2S1D.csv +++ b/openpower/isatables/RM-2P-2S1D.csv @@ -1,2 +1,2 @@ -insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,out2 -mtcrf/mtocrf,NORMAL,,2P,EXTRA2,d:CR,s:RS,s:CR,0,RS,0,0,0,WHOLE_REG,WHOLE_REG,0 +insn,mode,CONDITIONS,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out,PU,out2 +mtcrf/mtocrf,NORMAL,,2P,EXTRA2,d:CR,s:RS,s:CR,0,RS,0,0,0,WHOLE_REG,WHOLE_REG,1,0 diff --git a/src/openpower/sv/sv_analysis.py b/src/openpower/sv/sv_analysis.py index 49d65b1f..df35ebd6 100644 --- a/src/openpower/sv/sv_analysis.py +++ b/src/openpower/sv/sv_analysis.py @@ -129,6 +129,15 @@ def create_key(row): else: res['imm'] = '' + # pack/unpack, start with LDST with immediate for now + if (res['imm'] == '1' and res['unit'] == 'LDST' and + ((res['in'] == '1' and res['outcnt'] == '1') or # LD-imm + (res['in'] == '2' and res['outcnt'] == '0'))): # ST-imm + #print ("PU", res, row) + res['PU'] = "1" + else: + res['PU'] = '' + return res # @@ -164,6 +173,9 @@ def keyname(row): res.append("CRo") elif 'imm' in row and row['imm']: res.append("imm") + if 'PU' in row and row['PU']: + #print("key", row) + res.append("PU") return '-'.join(res) @@ -351,9 +363,11 @@ def process_csvs(format): 'imm': 'non-SV', '': 'non-SV', 'LDST-2R-imm': 'LDSTRM-2P-2S', + 'LDST-2R-imm-PU': 'LDSTRM-2P-2S-PU', 'LDST-2R-1W-imm': 'LDSTRM-2P-2S1D', 'LDST-2R-1W': 'LDSTRM-2P-2S1D', 'LDST-2R-2W': 'LDSTRM-2P-2S1D', + 'LDST-1R-1W-imm-PU': 'LDSTRM-2P-1S1D-PU', 'LDST-1R-1W-imm': 'LDSTRM-2P-1S1D', 'LDST-1R-2W-imm': 'LDSTRM-2P-1S2D', 'LDST-3R': 'LDSTRM-2P-3S', @@ -417,6 +431,7 @@ def process_csvs(format): csvcols = ['insn', 'mode', 'CONDITIONS', 'Ptype', 'Etype',] csvcols += ['0', '1', '2', '3'] csvcols += ['in1', 'in2', 'in3', 'out', 'CR in', 'CR out'] # temporary + csvcols += ['PU'] # pack/unpack for key in primarykeys: # get the decoded key containing row-analysis, and name/value dkey = dictkeys[key] @@ -473,6 +488,13 @@ def process_csvs(format): mode = 'CROP' res['mode'] = mode + # Pack/Unpack + if value.endswith('PU'): + pack = '1' + else: + pack = '1' + res['PU'] = pack + # temporary useful info regs = [] for k in ['in1', 'in2', 'in3', 'out', 'CR in', 'CR out']: -- 2.30.2