From: Luke Kenneth Casson Leighton Date: Thu, 24 Dec 2020 00:27:41 +0000 (+0000) Subject: updating sv_analys.py svp64 table X-Git-Tag: convert-csv-opcode-to-binary~988 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde455a0cecde58bef984aa6f99cd16b1871a7f8;p=libreriscv.git updating sv_analys.py svp64 table --- diff --git a/openpower/opcode_regs_deduped.mdwn b/openpower/opcode_regs_deduped.mdwn index cfc3dd65d..cba32f80f 100644 --- a/openpower/opcode_regs_deduped.mdwn +++ b/openpower/opcode_regs_deduped.mdwn @@ -921,28 +921,28 @@ addc | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | mulhwu | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | slw | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | NONE | RB | RS | RA | NONE | CR0 | sld | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | NONE | RB | RS | RA | NONE | CR0 | -and | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +and | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | subf | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -andc | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +andc | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | mulhd | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | mulhw | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -nor | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +nor | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | subfe | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | adde | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | mulld | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | mullw | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | add | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -eqv | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | -xor | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +eqv | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | +xor | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | divdeu | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | divweu | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -orc | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +orc | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | divde | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | divwe | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -or | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +or | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | divdu | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | divwu | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | -nand | 1P | EXTRA3 | TODO | | | | RS | RB | NONE | RA | NONE | CR0 | +nand | 1P | EXTRA3 | d:RA,d:CR0 | s:RB | s:RS | | RS | RB | NONE | RA | NONE | CR0 | divd | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | divw | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | subfco | 1P | EXTRA3 | d:RT,d:CR0 | s:RA | s:RB | | RA | RB | NONE | RT | NONE | CR0 | diff --git a/openpower/sv_analysis.py b/openpower/sv_analysis.py index 6fb50d7cb..ccb0339db 100644 --- a/openpower/sv_analysis.py +++ b/openpower/sv_analysis.py @@ -456,7 +456,7 @@ def process_csvs(): res['1'] = 's:RA' # RA: Rsrc1_EXTRA3 res['2'] = 's:RB' # RB: Rsrc1_EXTRA3 elif (regs == ['','RB','RS','RA','','CR0'] or - regs == ['','RB','RS','RA','','CR0']): + regs == ['RS','RB','','RA','','CR0']): res['0'] = 'd:RA,d:CR0' # RA,CR0: Rdest1_EXTRA3 res['1'] = 's:RB' # RB: Rsrc1_EXTRA3 res['2'] = 's:RS' # RS: Rsrc1_EXTRA3