From 16fb19e47783e08e3e8b39ff9eec1a4383e24203 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 7 Mar 2022 16:50:34 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 0bf5ea2c3..35b38e516 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -211,7 +211,7 @@ also, another possible variant involving swizzle and vec4: | 0.5|6.10|11.15| 16.23 |24.27 | 28.30 |31| | -- | -- | --- | ----- | ---- | ----- |--| -| NN | RT | RA | imm | mask | 101 |1 | +| NN | RT | RA | imm | mask | 111 |1 | for i in range(8): idx = RA.x[i] << 2 | RA.y[i] << 1 | RA.z[i] @@ -225,7 +225,7 @@ another mode selection would be CRs not Ints. | 0.5|6.8 | 9.11|12.14|15|16.23|24.27 | 28.30|31| | -- | -- | --- | --- |- |-----|----- | -----|--| -| NN | BA | BB | BC |0 |imm | mask | 101 |0 | +| NN | BA | BB | BC |0 |imm | mask | 111 |0 | for i in range(4): if not mask[i] continue -- 2.30.2