From 9d03bc824c9a39577c74d8e757d0986e93dc6377 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 26 Nov 2020 21:11:29 +0000 Subject: [PATCH] add more conversion types to sv analysis --- openpower/opcode_regs_deduped.mdwn | 18 +++++++++--------- openpower/sv_analysis.py | 5 +++++ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/openpower/opcode_regs_deduped.mdwn b/openpower/opcode_regs_deduped.mdwn index e3665a109..a1f701458 100644 --- a/openpower/opcode_regs_deduped.mdwn +++ b/openpower/opcode_regs_deduped.mdwn @@ -1,15 +1,15 @@ # map to old SV Prefix [[!table data=""" -LDST-1R-1W-imm | - | -LDST-1R-1W-imm | - | -LDST-1R-2W-imm | - | -LDST-1R-2W-imm | - | -LDST-2R-imm | - | -LDST-2R-imm | - | -LDST-2R-1W-imm | - | -LDST-2R-1W-imm | - | -LDST-2R-1W-imm | - | +LDST-1R-1W-imm | I | +LDST-1R-1W-imm | I | +LDST-1R-2W-imm | I | +LDST-1R-2W-imm | I | +LDST-2R-imm | S | +LDST-2R-imm | S | +LDST-2R-1W-imm | S | +LDST-2R-1W-imm | S | +LDST-2R-1W-imm | S | LDST-2R-2W-imm | - | LDST-3R-imm | - | LDST-3R-CRo | - | diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 57f5153d9..40e055140 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -194,6 +194,11 @@ def process_csvs(): '1R-1W-CRo': 'R', '1R-1W': 'R', '1R-1W': 'R', + '1R-Imm': 'U', + 'LDST-2R-imm': 'S', + 'LDST-2R-1W-imm': 'S', + 'LDST-1R-1W-imm': 'I', + 'LDST-1R-2W-imm': 'I', } print ("# map to old SV Prefix") print ('') -- 2.30.2