From: lkcl Date: Fri, 10 Jun 2022 10:41:51 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~1874 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61200191185512a20cff44597e028c59c8ad5066;p=libreriscv.git --- diff --git a/openpower/sv/cr_ops.mdwn b/openpower/sv/cr_ops.mdwn index 5eb5e15dc..54514b7c5 100644 --- a/openpower/sv/cr_ops.mdwn +++ b/openpower/sv/cr_ops.mdwn @@ -73,7 +73,7 @@ SVP64 RM `MODE` (includes `ELWIDTH_SRC` bits) for CR-based operations: | - | - | ----- | --- |---------|----------------- | |sz |SNZ| 0 RG | 0 | dz / | normal mode | |sz |SNZ| 0 RG | 1 | 0 / | scalar reduce mode (mapreduce), SUBVL=1 | -|sz |SNZ| 0 RG | 1 | 1 / | parallel 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 | @@ -81,8 +81,9 @@ SVP64 RM `MODE` (includes `ELWIDTH_SRC` bits) for CR-based operations: Fields: * **sz / dz** if predication is enabled will put zeros into the dest (or as src in the case of twin pred) when the predicate bit is zero. otherwise the element is ignored or skipped, depending on context. +* **zz** set both sz and dz equal to this flag * **SNZ** when sz=1 and SNZ=1 a value "1" is put in place of zeros when - the predicate bit is clear. + the predicate bit is clear (on both source and destination masks) * **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