From: lkcl Date: Sun, 31 Jul 2022 14:18:03 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~932 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8805e2740ae6beeb1b2bf36d99833d07c962a2de;p=libreriscv.git --- diff --git a/openpower/sv/vector_ops.mdwn b/openpower/sv/vector_ops.mdwn index 310767b0d..67d95d4df 100644 --- a/openpower/sv/vector_ops.mdwn +++ b/openpower/sv/vector_ops.mdwn @@ -47,9 +47,9 @@ BM2-Form The patterns within the pseudocode for AMD TBM and x86 BMI1 are as follows: -* first pattern A: `x / ~x` -* second pattern B: `| / & / ^` -* third pattern C: `x+1 / x-1 / ~(x+1) / (~x)+1` +* first pattern A: two options `x` or `~x` +* second pattern B: three options `|` `&` or `^` +* third pattern C: four options `x+1`, `x-1`, `~(x+1)` or `(~x)+1` Thus it makes sense to create a single instruction that covers all of these. A crucial addition that is essential