From e228e1a75cceb947b75c48f12827a1f30dce58b6 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 6 Jun 2022 23:03:17 +0100 Subject: [PATCH] --- openpower/sv/remap.mdwn | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/openpower/sv/remap.mdwn b/openpower/sv/remap.mdwn index 332680239..ee3174be0 100644 --- a/openpower/sv/remap.mdwn +++ b/openpower/sv/remap.mdwn @@ -181,7 +181,7 @@ Fields: * **SVzd** - SV REMAP "zdim" * **SVRM** - SV REMAP Mode (0b00000 for Matrix, 0b00001 for FFT etc.) * **vf** - sets "Vertical-First" mode -* **XO** - standard 5-bit XO field +* **XO** - standard 6-bit XO field | SVRM | Remap Mode description | | -- | -- | @@ -220,26 +220,25 @@ instruction, `psvshape`, may extend the capability here. `svindex` is a convenience instruction that reduces instruction count for Indexed REMAP Mode. It sets up -(overwrites) all required SVSHAPE SPRs and also modifies SVSTATE -including VL and MAXVL. Using `svshape` therefore does not also -require `setvl`. +(overwrites) all required SVSHAPE SPRs and can modify the REMAP +SPR as well. Form: SVI-Form SV "Indexed" Form (see [[isatables/fields.text]]) - svindex RS,mask,SVd,ew,vf + svindex RS,mask,SVd,ew,yz,mr -| 0.5|6.10 |11.15 |16.21 | 22.23 | 25 | 26..31| name | -| -- | -- | --- | ---- | ----- | -- | ------| -------- | -|OPCD| RS | mask | SVd | ew | vf | XO | svindex | +| 0.5|6.10 |11.15 |16.20 | 21..25 | 26..31| name | +| -- | -- | --- | ---- | ----------- | ------| -------- | +|OPCD| RS | mask | SVd | ew/yx/mr/vf | XO | svindex | Fields: -* **SVxd** - SV REMAP "xdim" -* **SVyd** - SV REMAP "ydim" -* **SVzd** - SV REMAP "zdim" -* **SVRM** - SV REMAP Mode (0b00000 for Matrix, 0b00001 for FFT etc.) -* **vf** - sets "Vertical-First" mode -* **XO** - standard 5-bit XO field +* **SVd** - SV REMAP x/y dim +* **mask** - sets remap mi0-2/mo0-1 and SVSHAPEs if mr set +* **ew** - sets element width override +* **RS** - GPR RS<<2 to be used for Indexing +* **yx** - 2D reordering to be used if yx=1 +* **XO** - standard 6-bit XO field # REMAP Matrix pseudocode -- 2.30.2