add fishmv unusual overwrite to svanalysis
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 5 Aug 2022 23:56:26 +0000 (00:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 5 Aug 2022 23:56:26 +0000 (00:56 +0100)
src/openpower/sv/sv_analysis.py

index 59438089c28014395bf4e108e9e2ce4052530520..06b4d8eb3f62331849289c081afb4eb003af6658 100644 (file)
@@ -638,8 +638,13 @@ def process_csvs(format):
                 elif insn_name.startswith('bc'):
                     res['0'] = 'd:BI'  # BI: Rdest1_EXTRA3
                     res['1'] = 's:BI'  # BI: Rsrc1_EXTRA3
+                elif insn_name == 'fishmv':
+                    # an overwrite ibstruction
+                    res['0'] = 'd:FRS'  # FRS: Rdest1_EXTRA3
+                    res['1'] = 's:FRS'  # FRS: Rsrc1_EXTRA3
                 else:
                     res['0'] = 'TODO'
+                    print("regs TODO", insn_name, regs)
 
             elif value == 'RM-1P-2S1D':
                 res['Etype'] = 'EXTRA3'  # RM EXTRA3 type