From 168316127388b53cd5a098b4ea5a8656326b96e6 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sun, 26 Mar 2023 19:01:57 +0100 Subject: [PATCH] --- openpower/sv/rfc/ls009.mdwn | 115 ++++++++++++++++++++++++++++-------- 1 file changed, 90 insertions(+), 25 deletions(-) diff --git a/openpower/sv/rfc/ls009.mdwn b/openpower/sv/rfc/ls009.mdwn index d4d2cbc03..70c37a295 100644 --- a/openpower/sv/rfc/ls009.mdwn +++ b/openpower/sv/rfc/ls009.mdwn @@ -126,40 +126,106 @@ Special Registers Altered: \newpage{} -# SVL-Form +# Forms -Add the following to Book I, 1.6.1, SVL-Form +Add the following to Book I, 1.6.1, SVI-Form ``` - |0 |6 |11 |16 |23 |24 |25 |26 |31 | - | PO | RT | RA | SVi |ms |vs |vf | XO |Rc | - | PO | RT | / | SVi |/ |/ |vf | XO |Rc | + |0 |6 |11 |16 |21 |23 |24|25|26 31| + | PO | SVG|rmm | SVd |ew |SVyx|mm|sk| XO | ``` -* Add `SVL` to `RA (11:15)` Field in Book I, 1.6.2 -* Add `SVL` to `RT (6:10)` Field in Book I, 1.6.2 -* Add `SVL` to `Rc (31)` Field in Book I, 1.6.2 -* Add `SVL` to `XO (26:31)` Field in Book I, 1.6.2 +Add the following to Book I, 1.6.1, SVM-Form + +``` + |0 |6 |11 |16 |21 |25 |26 |31 | + | PO | SVxd | SVyd | SVzd | SVrm |vf | XO | +``` + +Add the following to Book I, 1.6.1, SVM2-Form + +``` +# 1.6.35.1 SVM2-FORM + |0 |6 |10 |11 |16 |21 |24|25 |26 |31 | + | PO | SVo |SVyx| rmm | SVd |XO |mm|sk | XO | +``` + +Add the following to Book I, 1.6.1, SVRM-Form + +``` +# 1.6.36 SVRM-FORM + |0 |6 |11 |13 |15 |17 |19 |21 |22 |26 |31 | + | PO | SVme |mi0 | mi1 | mi2 | mo0 | mo1 |pst |/// | XO | +``` + +* Add `SVI, SVM, SVM2, SVRM` to `XO (26:31)` Field in Book I, 1.6.2 Add the following to Book I, 1.6.2 ``` - ms (23) - Field used in Simple-V to specify whether MVL (maxvl in the SVSTATE SPR) - is to be set - Formats: SVL - vf (25) - Field used in Simple-V to specify whether "Vertical" Mode is set - (vfirst in the SVSTATE SPR) - Formats: SVL - vs (24) - Field used in Simple-V to specify whether VL (vl in the SVSTATE SPR) is to be set - Formats: SVL + mi0 (11:12) + Field used in REMAP to select the SVSHAPE for 1st input register + Formats: SVRM + mi1 (13:14) + Field used in REMAP to select the SVSHAPE for 2nd input register + Formats: SVRM + mi2 (15:16) + Field used in REMAP to select the SVSHAPE for 3rd input register + Formats: SVRM + mm (24) + Field used to specify the meaning of the rmm field for SVI-Form + and SVM2-Form + Formats: SVI, SVM2 + mo0 (17:18) + Field used in REMAP to select the SVSHAPE for 1st output register + Formats: SVRM + mo1 (19:20) + Field used in REMAP to select the SVSHAPE for 2nd output register + Formats: SVRM + pst (21) + Field used in REMAP to indicate "persistence" mode (REMAP + continues to apply to multiple instructions) + Formats: SVRM + rmm (11:15) + REMAP Mode field for SVI-Form and SVM2-Form + Formats: SVI, SVM2 + sk (25) + Field used to specify dimensional skipping in svindex + Formats: SVI, SVM2 + SVd (16:20) + Immediate field used to specify the size of the REMAP dimension + in the svindex and svshape2 instructions + Formats: SVI, SVM2 + SVDS (16:29) + Immediate field used to specify a 9-bit signed + two's complement integer which is concatenated + on the right with 0b00 and sign-extended to 64 bits. + Formats: SVDS + SVG (6:10) + Field used to specify a GPR to be used as a + source for indexing. + Formats: SVI SVi (16:22) - Simple-V immediate field used by setvl for setting VL or MVL - (vl, maxvl in the SVSTATE SPR) - and used as a "Mode of Operation" selector in svstep + Simple-V immediate field for setting VL or MVL Formats: SVL + SVme (6:10) + Simple-V "REMAP" map-enable bits (0-4) + Formats: SVRM + SVo (6:9) + Field used by the svshape2 instruction as an offset + Formats: SVM2 + SVrm (21:24) + Simple-V "REMAP" Mode + Formats: SVM + SVxd (6:10) + Simple-V "REMAP" x-dimension size + Formats: SVM + SVyd (11:15) + Simple-V "REMAP" y-dimension size + Formats: SVM + SVzd (16:20) + Simple-V "REMAP" z-dimension size + Formats: SVM ``` # Appendices @@ -171,7 +237,6 @@ Add the following to Book I, 1.6.2 | Form | Book | Page | Version | mnemonic | Description | |------|------|------|---------|----------|-------------| -| SVL | I | # | 3.0B | svstep | Vertical-First Stepping and status reporting | -| SVL | I | # | 3.0B | setvl | Cray-like establishment of Looping (Vector) context | +| SVRM | I | # | 3.0B | svremap | REMAP enabling instruction | [[!tag opf_rfc]] -- 2.30.2