From: Jacob Lifshay Date: Wed, 16 Dec 2020 03:19:41 +0000 (-0800) Subject: fill in most non-ld/st instructions X-Git-Tag: convert-csv-opcode-to-binary~1300 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5b13cde4400e236b6ecc7bf4a944bc72edae2921;p=libreriscv.git fill in most non-ld/st instructions --- diff --git a/openpower/sv/svp_rewrite/svp64.mdwn b/openpower/sv/svp_rewrite/svp64.mdwn index 5e650b113..19ce81cc4 100644 --- a/openpower/sv/svp_rewrite/svp64.mdwn +++ b/openpower/sv/svp_rewrite/svp64.mdwn @@ -424,50 +424,122 @@ TBD TBD ## LDST-3R-1W TBD -## CRi -non-SV ## CRio TBD ## CR=2R1W -TBD -## 1W -non-SV + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + ## 1W-CRi -TBD -## 1R -non-SV -## 1R-imm -non-SV + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-CRio -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-1W -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-1W-imm -TBD -## 1R-1W-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-1W-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 1R-1W-CRio -TBD -## 2R -non-SV + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:18` | `19:20` | `21:23` | +|-----------|-------|---------|-------|-------------|-------------|----------|-------------|-----------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | MASK_SRC | ELWIDTH_SRC | SUBVL_SRC | TBD | + ## 2R-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + ## 2R-CRio -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + ## 2R-1W -TBD -## 2R-1W-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + ## 2R-1W-CRo -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + +## 2R-1W-CRo (rl(w|d)imi) + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:23` | +|-----------|-------|---------|-------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | TBD | + ## 2R-1W-CRi TBD ## 2R-1W-CRio -TBD + +Remapped Encoding Fields: + +| `0` | `1:3` | `4:5` | `6:7` | `8:10` | `11:13` | `14:16` | `17:23` | +|-----------|-------|---------|-------|-------------|-------------|-------------|---------| +| MASK_KIND | MASK | ELWIDTH | SUBVL | Rdest_EXTRA | Rsrc1_EXTRA | Rsrc2_EXTRA | TBD | + ## 3R-1W-CRio Remapped Encoding Fields: