From: lkcl Date: Tue, 22 Dec 2020 19:38:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~1030 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e39a97a62defb10e860deaaf756fbbc45ce8157;p=libreriscv.git --- diff --git a/openpower/sv/vector_ops.mdwn b/openpower/sv/vector_ops.mdwn index 64fc9e63d..a7b539bad 100644 --- a/openpower/sv/vector_ops.mdwn +++ b/openpower/sv/vector_ops.mdwn @@ -72,6 +72,15 @@ Example TODO: a Vector CR-based version of the same, due to CRs being used for predication. + def iotacr(RT, BA): + mask = get_src_predicate() + count = 0 + for i in range(VL): + if mask & (1<