* **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 |
| -- | -- |
`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