From 266948b7ed9e9380e83274ed6ec59c7a633b07ce Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 14 Mar 2022 06:48:49 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index fdece8ae9..b8d361d1c 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -87,12 +87,15 @@ ternlog has its own major opcode TODO: convert all instructions to use RT and not RS +| 0.5|6.8 | 9.11|12.14|15.17|18.20|21.28 | 29.30|31|name| +| -- | -- | --- | --- | --- |-----|----- | -----|--|----| +| NN | BT | BA | BB | BC |m0-2 | imm | 10 |m3|crternlog| + | 0.5|6.10|11.15|16.20 |21..25 | 26....30 |31| name | | -- | -- | --- | --- | ----- | -------- |--| ------ | | NN | RT | RA |itype/| im0-4 | im5-7 00 |0 | xpermi | | NN | RT | RA | RB | im0-4 | im5-7 00 |1 | grevlog | -| NN | RT | RA | s0-4 | im0-4 | im5-7 01 |0 | crternlog | -| NN | RT | RA | | | //// 01 |1 | rsvd | +| NN | | | | | ..... 01 |0 | crternlog | | NN | RT | RA | RB | RC | mode 010 |Rc| bitmask* | | NN | RS | RA | RB | RC | 00 011 |0 | gfbmadd | | NN | RS | RA | RB | RC | 00 011 |1 | gfbmaddsub | @@ -199,7 +202,7 @@ another mode selection would be CRs not Ints. | 0.5|6.8 | 9.11|12.14|15.17|18.20|21.28 | 29.30|31| | -- | -- | --- | --- | --- |-----|----- | -----|--| -| NN | BT | BA | BB | BC |m0-3 | imm | 10 |m4| +| NN | BT | BA | BB | BC |m0-2 | imm | 10 |m3| mask = m0-3,m4 for i in range(4): -- 2.30.2