From 3ebb0f005154dd58a53e4f76a1923279aea65c9b Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 30 May 2022 10:46:54 +0100 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index de6558bcb..9a28dd090 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -54,7 +54,7 @@ ternlog has its own major opcode | -00 |0 | xpermi | | -00 |1 | binary lut | | -01 |0 | grevlog | -| -01 |1 | grevlogw | +| -01 |1 | bmatxori | | 010 |Rc| bitmask | | 011 | | SVP64 | | 110 |Rc| 1/2-op | @@ -102,7 +102,7 @@ TODO: convert all instructions to use RT and not RS | NN | | | | | 0 11 00 |1 | svshape | SVM-Form | | NN | | | | | 1 11 00 |1 | svremap | SVRM-Form | | NN | RT | RA | RB | im0-4 | im5-7 01 |0 | grevlog | TLI-Form | -| NN | RT | RA | RB | im0-4 | im5-7 01 |1 | grevlogw | TLI-Form | +| NN | RT | RA | RB | im0-4 | im5-7 01 |1 | bmatxori | TLI-Form | | NN | RT | RA | RB | RC | mode 010 |Rc| bitmask\* | VA2-Form | | NN |FRS | d1 | d0 | d0 | 00 011 |d2| fmvis | DX-Form | | NN |FRS | d1 | d0 | d0 | 01 011 |d2| fishmv | DX-Form | @@ -554,7 +554,6 @@ uint64_t grevlutr(uint64_t RA, uint64_t RB, bool iv, bool is32b) | -- | -- | --- | --- | ----- | -----|--| ------ | | NN | RT | RA | s0-4 | im0-7 | 1 iv |s5| grevlogi | | NN | RT | RA | RB | im0-7 | 01 |0 | grevlog | | -| NN | RT | RA | RB | im0-7 | 01 |1 | grevlogw | | # grev @@ -680,6 +679,11 @@ uint_xlen_t xperm_w (uint_xlen_t RA, uint_xlen_t RB) bmatflip is found in the Cray XMT, and in x86 is known as GF2P8AFFINEQB. see +| 0.5|6.10|11.15|16.20 |21..28 | 29.30|31| name | Form | +| -- | -- | --- | --- | ----- | -----|--| ------ | ----- | +| NN | RT | RA | RB | im0-7 | 01 |1 | bmatxori | | + + ``` uint64_t bmatflip(uint64_t RA) { -- 2.30.2