From: Luke Kenneth Casson Leighton Date: Wed, 22 Jun 2022 09:56:11 +0000 (+0100) Subject: Revert "" X-Git-Tag: opf_rfc_ls005_v1~1612 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cb8ee99932b1641ac873efc7f743a63193089bc0;p=libreriscv.git Revert "" This reverts commit c16477158b53e192e4232ab610706da245b48348. --- diff --git a/openpower/sv/cr_ops.mdwn b/openpower/sv/cr_ops.mdwn index 64c58f8ac..54514b7c5 100644 --- a/openpower/sv/cr_ops.mdwn +++ b/openpower/sv/cr_ops.mdwn @@ -72,8 +72,9 @@ SVP64 RM `MODE` (includes `ELWIDTH_SRC` bits) for CR-based operations: | 6 | 7 | 19-20 | 21 | 22 23 | description | | - | - | ----- | --- |---------|----------------- | |sz |SNZ| 0 RG | 0 | dz / | normal mode | -|sz |SNZ| 0 RG | 1 | 0 / | scalar reduce mode (mapreduce) | -|zz |SNZ| 0 RG | 1 | 1 / | parallel reduce mode (mapreduce) | +|sz |SNZ| 0 RG | 1 | 0 / | scalar reduce mode (mapreduce), SUBVL=1 | +|zz |SNZ| 0 RG | 1 | 1 / | parallel reduce mode (mapreduce), SUBVL=1 | +|sz |SNZ| 0 RG | 1 | SVM / | subvector reduce mode, SUBVL>1 | |sz |SNZ| 1 VLI | inv | CR-bit | Ffirst 3-bit mode | |sz |SNZ| 1 VLI | inv | dz / | Ffirst 5-bit mode | @@ -86,6 +87,7 @@ Fields: * **inv CR bit** just as in branches (BO) these bits allow testing of a CR bit and whether it is set (inv=0) or unset (inv=1) * **RG** inverts the Vector Loop order (VL-1 downto 0) rather than the normal 0..VL-1 +* **SVM** sets "subvector" reduce mode * **VLi** VL inclusive: in fail-first mode, the truncation of VL *includes* the current element at the failure point rather than excludes it from the count.