completely bungled multi-EXTRA specs
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 3 Aug 2022 00:42:10 +0000 (01:42 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 3 Aug 2022 00:42:10 +0000 (01:42 +0100)
https://bugs.libre-soc.org/show_bug.cgi?id=838#c9
should be d:RS;d:CR0, missing a semicolon. sigh

openpower/isatables/LDSTRM-2P-2S1D.csv
openpower/isatables/LDSTRM-2P-3S.csv
src/openpower/sv/sv_analysis.py

index ed1014c6f17af8fc23f12e7cd4c50ddc4b7cbba9..d1753d9557e49e9c64c0c4539ad9c64361e9f2de 100644 (file)
@@ -40,9 +40,9 @@ lwaux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,0,RA
 lhaux,LDST,,2P,EXTRA2,d:RT,d:RA,s:RB,0,RA_OR_ZERO,RB,0,RT,0,0,0,RA
 lfsux,LDST,,2P,EXTRA2,d:FRT,d:RA,s:RB,0,RA,RB,0,FRT,0,0,0,RA
 lfdux,LDST,,2P,EXTRA2,d:FRT,d:RA,s:RB,0,RA,RB,0,FRT,0,0,0,RA
-stdux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,0,RA
-stwux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,0,RA
-stbux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,0,RA
-sthux,LDST,,2P,EXTRA2,d:RA,s:RSs:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,0,0,RA
-stfsux,LDST,,2P,EXTRA2,d:RA,s:FRSs:RA,s:RB,0,RA,RB,FRS,0,0,0,0,RA
-stfdux,LDST,,2P,EXTRA2,d:RA,s:FRSs:RA,s:RB,0,RA,RB,FRS,0,0,0,0,RA
+stdux,LDST,,2P,E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cx,LDST,,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,0,0
+stdcx,LDST,,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,0,0
+stbcx,LDST,,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,0,0
+sthcx,LDST,,2P,EXTRA2,s:RS;d:CR0,s:RA,s:RB,0,RA_OR_ZERO,RB,RS,0,0,CR0,0,0
index a1c978f86d992c43d1a4f5671b0d4fe668f5762c..d6dfa167ff1bed8fb737f2c86f9315508a1fdd86 100644 (file)
@@ -567,7 +567,7 @@ def process_csvs(format):
                     res['Etype'] = 'EXTRA2'  # RM EXTRA2 type
                     res['0'] = 'd:RA'  # RA: Rdest1_EXTRA2
                     # RS: Rdest2_EXTRA2, RA: Rsrc1_EXTRA2
-                    res['1'] = sRS+'s:RA'
+                    res['1'] = "%s;%s" % (sRS, 's:RA')
                     res['2'] = 's:RB'  # RB: Rsrc2_EXTRA2
                 elif 'u' in insn_name:  # ldux etc.
                     res['Etype'] = 'EXTRA2'  # RM EXTRA2 type
@@ -583,7 +583,7 @@ def process_csvs(format):
             elif value == 'LDSTRM-2P-3S':
                 res['Etype'] = 'EXTRA2'  # RM EXTRA2 type
                 if 'cx' in insn_name:
-                    res['0'] = sRS+dCR  # RS: Rsrc1_EXTRA2 CR0: dest
+                    res['0'] = "%s;%s" % (sRS, dCR) # RS: Rsrc1_EXTRA2 CR0: dest
                 else:
                     res['0'] = sRS  # RS: Rsrc1_EXTRA2
                 res['1'] = 's:RA'  # RA: Rsrc2_EXTRA2