From: lkcl Date: Fri, 2 Sep 2022 21:45:24 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~724 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1de4a433c79bdecc9e27e7927a7071901d5baff9;p=libreriscv.git --- diff --git a/openpower/sv/remap/discussion.mdwn b/openpower/sv/remap/discussion.mdwn index ac81a331b..b80a88a71 100644 --- a/openpower/sv/remap/discussion.mdwn +++ b/openpower/sv/remap/discussion.mdwn @@ -1,25 +1,18 @@ # TODO svshape offset concept - svshape2 offs,yx,rmm,SVd,sk,mm + svshape2 offs,inv,yx,rmm,SVd,sk,mm -| 0.5|6..9 |10|11.15 |16..20 | 21..25 | 25 | 26..31| name | -| -- |---- |--| --- | ----- | ------ | -- | ------| -------- | -|OPCD| offs|yx| rmm | SVd | 100/mm | sk | XO | svshape | +| 0.5|6..8|9 |10|11.15 |16..20 | 21..25 | 25 | 26..31| name | +| -- |----|---|--| --- | ----- | ------ | -- | ------| -------- | +|OPCD|offs|inv|yx| rmm | SVd | 100/mm | sk | XO | svshape | -* **offs** (4 bits) - unsigned offset +* **offs** (3 bits) - unsigned offset * **yx** (1 bit) - swap XY to YX +* **inv** (1 bit) inverts X if yx=0, Y if yx=1 * **SVd** dimension size * **rmm** REMAP mask * **mm** mask mode -* **sk** skip +* **sk** (1 bit) skips 1st dimension if set -| SVRM | Remap Mode description | -| ------ | -----------------------| -| 0b1000 | mm=0 | -| 0b1001 | mm=1 | - - svindex SVG,rmm,SVd,ew,yx,mr,sk - -| 0.5|6.10 |11.15 |16.20 | 21..25 | 26..31| name | Form | -| -- | -- | --- | ---- | ----------- | ------| -------- | ---- | -|OPCD| SVG | rmm | SVd | ew/yx/mm/sk | XO | svindex | SVI-Form | +Dimensions are calculated exactly as `svindex`. `rmm` and +`mm` are as per `svindex`.