From: lkcl Date: Wed, 17 Aug 2022 13:55:23 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~840 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d73b4d4885beb5142a942bab58b83a346851bbc;p=libreriscv.git --- diff --git a/openpower/sv/normal.mdwn b/openpower/sv/normal.mdwn index 2a448fe2b..c674542c3 100644 --- a/openpower/sv/normal.mdwn +++ b/openpower/sv/normal.mdwn @@ -52,7 +52,9 @@ The Mode table for Arithmetic and Logical operations | 00 | 1 | SVM 1 | Pack/Unpack mode, SUBVL>1 | | 01 | inv | CR-bit | Rc=1: ffirst CR sel | | 01 | inv | VLi RC1 | Rc=0: ffirst z/nonz | -| 10 | N | dz sz | sat mode: N=0/1 u/s | +| 10 | N | dz sz | sat mode: N=0/1 u/s, SUBVL=1 | +| 10 | N | zz 0 | sat mode: N=0/1 u/s, SUBVL>1 | +| 10 | N | zz 1 | Pack/Unpack sat mode: N=0/1 u/s, SUBVL>1 | | 11 | inv | CR-bit | Rc=1: pred-result CR sel | | 11 | inv | zz RC1 | Rc=0: pred-result z/nonz | @@ -116,6 +118,10 @@ new crrweird instruction with Rc=1, which will transfer the required CR bits to a scalar integer and update CR0, which will allow testing the scalar integer for nonzero. see [[sv/cr_int_predication]]* +Pack/Unpack may be enabled at the same time as Saturation, +when SUBVL is vec2/3/4. This provides equivalent VSX `vpkpx` and other +operations. + # Reduce mode Reduction in SVP64 is similar in essence to other Vector Processing