From: Luke Kenneth Casson Leighton Date: Thu, 26 Nov 2020 21:11:29 +0000 (+0000) Subject: add more conversion types to sv analysis X-Git-Tag: convert-csv-opcode-to-binary~1649 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d03bc824c9a39577c74d8e757d0986e93dc6377;p=libreriscv.git add more conversion types to sv analysis --- 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 ('')