From fe8e329ae3128101cbfb3dbe1cd88960e8bb785a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 24 Dec 2020 15:21:56 +0000 Subject: [PATCH] corrections to sv_analysis svp64 tables --- openpower/opcode_regs_deduped.mdwn | 10 +++++----- openpower/sv_analysis.py | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openpower/opcode_regs_deduped.mdwn b/openpower/opcode_regs_deduped.mdwn index c4e5999aa..136c3e49f 100644 --- a/openpower/opcode_regs_deduped.mdwn +++ b/openpower/opcode_regs_deduped.mdwn @@ -623,11 +623,11 @@ lwa | 2P | EXTRA3 | d:RT | s:RA | | | RA_OR_ZERO | | NONE | RT | NONE | NONE [[!table data=""" insn | Ptype | Etype | 0 | 1 | 2 | 3 | -lwzu | 2P | EXTRA2 | d:RT | s:RA | d:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | -lbzu | 2P | EXTRA2 | d:RT | s:RA | d:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | -lhzu | 2P | EXTRA2 | d:RT | s:RA | d:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | -lhau | 2P | EXTRA2 | d:RT | s:RA | d:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | -ldu | 2P | EXTRA2 | d:RT | s:RA | d:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | +lwzu | 2P | EXTRA2 | d:RT | d:RA | s:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | +lbzu | 2P | EXTRA2 | d:RT | d:RA | s:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | +lhzu | 2P | EXTRA2 | d:RT | d:RA | s:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | +lhau | 2P | EXTRA2 | d:RT | d:RA | s:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | +ldu | 2P | EXTRA2 | d:RT | d:RA | s:RA | | RA_OR_ZERO | | NONE | RT | NONE | NONE | """]] ## LDST-2R-imm (LDSTRM-2P-2S) diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 6fcf18f2d..ed25e9977 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -371,8 +371,8 @@ def process_csvs(): elif value == 'LDSTRM-2P-1S2D': res['Etype'] = 'EXTRA2' # RM EXTRA2 type res['0'] = 'd:RT' # RT: Rdest1_EXTRA2 - res['1'] = 's:RA' # RA: Rsrc1_EXTRA2 - res['2'] = 'd:RA' # RA: Rdest2_EXTRA2 + res['1'] = 'd:RA' # RA: Rdest2_EXTRA2 + res['2'] = 's:RA' # RA: Rsrc1_EXTRA2 elif value == 'LDSTRM-2P-2S': res['Etype'] = 'EXTRA3' # RM EXTRA2 type -- 2.30.2