From be772522aaeaddfb213823cef9a0c0b871359d07 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 15 May 2022 15:45:13 +0100 Subject: [PATCH] redo table in bitmanip to include NNN-Forms --- openpower/sv/bitmanip.mdwn | 72 +++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 5a0ed3290..c3ac86af1 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -112,42 +112,42 @@ the [[sv/av_opcodes]]) TODO: convert from RA, RB, and RC to correct field names of RT, RA, and RB, and double check that instructions didn't need 3 inputs. -| 0.5|6.10|11.15|16.20| 21 | 22.23 | 24....30 |31| name | -| -- | -- | --- | --- | -- | ----- | -------- |--| ---- | -| NN | RS | me | sh | SH | ME 0 | nn00 110 |Rc| bmopsi | -| NN | RS | RB | sh | SH | 0 1 | nn00 110 |Rc| bmopsi | -| NN | RT | RA | RB | 1 | 00 | 0001 110 |Rc| cldiv | -| NN | RT | RA | RB | 1 | 01 | 0001 110 |Rc| clmod | -| NN | RT | RA | | 1 | 10 | 0001 110 |Rc| bmatflip | -| NN | | | | 1 | 11 | 0001 110 |Rc| rsvd | -| NN | RA | RB | RC | 0 | 00 | 0001 110 |Rc| vec sbfm | -| NN | RA | RB | RC | 0 | 01 | 0001 110 |Rc| vec sofm | -| NN | RA | RB | RC | 0 | 10 | 0001 110 |Rc| vec sifm | -| NN | RA | RB | RC | 0 | 11 | 0001 110 |Rc| vec cprop | -| NN | | | | 0 | | 0101 110 |Rc| rsvd | -| NN | RT | RA | RB | 1 | itype | 0101 110 |Rc| xperm | -| NN | RA | RB | RC | 0 | itype | 1001 110 |Rc| av minmax | -| NN | RA | RB | RC | 1 | 00 | 1001 110 |Rc| av abss | -| NN | RA | RB | RC | 1 | 01 | 1001 110 |Rc| av absu | -| NN | RA | RB | | 1 | 10 | 1001 110 |Rc| av avgadd | -| NN | | | | 1 | 11 | 1001 110 |Rc| rsvd | -| NN | RT | RA | RB | 0 | sh | 1101 110 |Rc| shadd | -| NN | RT | RA | RB | 1 | sh | 1101 110 |Rc| shadduw | -| NN | RA | RB | RC | 0 | 00 | 0010 110 |Rc| gorc | -| NN | RA | RB | sh | SH | 00 | 1010 110 |Rc| gorci | -| NN | RA | RB | RC | 0 | 00 | 0110 110 |Rc| gorcw | -| NN | RA | RB | sh | 0 | 00 | 1110 110 |Rc| gorcwi | -| NN | RA | RB | RC | 1 | 00 | 1110 110 |Rc| bmator | -| NN | RA | RB | RC | 0 | 01 | 0010 110 |Rc| grev | -| NN | RA | RB | RC | 1 | 01 | 0010 110 |Rc| clmul | -| NN | RA | RB | sh | SH | 01 | 1010 110 |Rc| grevi | -| NN | RA | RB | RC | 0 | 01 | 0110 110 |Rc| grevw | -| NN | RA | RB | sh | 0 | 01 | 1110 110 |Rc| grevwi | -| NN | RA | RB | RC | 1 | 01 | 1110 110 |Rc| bmatxor | -| NN | | | | | 10 | --10 110 |Rc| rsvd | -| NN | RA | RB | RC | 0 | 11 | 1110 110 |Rc| clmulr | -| NN | RA | RB | RC | 1 | 11 | 1110 110 |Rc| clmulh | -| NN | | | | | | --11 110 |Rc| rsvd | +| 0.5|6.10|11.15|16.20| 21 | 22.23 | 24....30 |31| name | Form | +| -- | -- | --- | --- | -- | ----- | -------- |--| ---- | ------- | +| NN | RS | me | sh | SH | ME 0 | nn00 110 |Rc| bmopsi | {TODO} | +| NN | RS | RA | sh | SH | 0 1 | nn00 110 |Rc| bmopsi | XB-Form | +| NN | RT | RA | RB | 1 | 00 | 0001 110 |Rc| cldiv | X-Form | +| NN | RT | RA | RB | 1 | 01 | 0001 110 |Rc| clmod | X-Form | +| NN | RT | RA | | 1 | 10 | 0001 110 |Rc| bmatflip | X-Form | +| NN | | | | 1 | 11 | 0001 110 |Rc| rsvd | | +| NN | RT | RA | RB | 0 | 00 | 0001 110 |Rc| vec sbfm | X-Form | +| NN | RT | RA | RB | 0 | 01 | 0001 110 |Rc| vec sofm | X-Form | +| NN | RT | RA | RB | 0 | 10 | 0001 110 |Rc| vec sifm | X-Form | +| NN | RT | RA | RB | 0 | 11 | 0001 110 |Rc| vec cprop | X-Form | +| NN | | | | 0 | | 0101 110 |Rc| rsvd | | +| NN | RT | RA | RB | 1 | itype | 0101 110 |Rc| xperm | X-Form | +| NN | RT | RA | RB | 0 | itype | 1001 110 |Rc| av minmax | X-Form | +| NN | RT | RA | RB | 1 | 00 | 1001 110 |Rc| av abss | X-Form | +| NN | RT | RA | RB | 1 | 01 | 1001 110 |Rc| av absu | X-Form | +| NN | RT | RA | RB | 1 | 10 | 1001 110 |Rc| av avgadd | X-Form | +| NN | | | | 1 | 11 | 1001 110 |Rc| rsvd | | +| NN | RT | RA | RB | 0 | sh | 1101 110 |Rc| shadd | {TODO} | +| NN | RT | RA | RB | 1 | sh | 1101 110 |Rc| shadduw | {TODO} | +| NN | RT | RA | RB | 0 | 00 | 0010 110 |Rc| gorc | X-Form | +| NN | RA | RB | sh | SH | 00 | 1010 110 |Rc| gorci | XB-Form | +| NN | RT | RA | RB | 0 | 00 | 0110 110 |Rc| gorcw | X-Form | +| NN | RS | RA | SH | 0 | 00 | 1110 110 |Rc| gorcwi | X-Form | +| NN | RT | RA | RB | 1 | 00 | 1110 110 |Rc| bmator | X-Form | +| NN | RA | RB | RC | 0 | 01 | 0010 110 |Rc| grev | X-Form | +| NN | RT | RA | RB | 1 | 01 | 0010 110 |Rc| clmul | X-Form | +| NN | RA | RB | sh | SH | 01 | 1010 110 |Rc| grevi | XB-Form | +| NN | RA | RB | RC | 0 | 01 | 0110 110 |Rc| grevw | X-Form | +| NN | RS | RA | SH | 0 | 01 | 1110 110 |Rc| grevwi | X-Form | +| NN | RT | RA | RB | 1 | 01 | 1110 110 |Rc| bmatxor | X-Form | +| NN | | | | | 10 | --10 110 |Rc| rsvd | | +| NN | RT | RA | RB | 0 | 11 | 1110 110 |Rc| clmulr | X-Form | +| NN | RT | RA | RB | 1 | 11 | 1110 110 |Rc| clmulh | X-Form | +| NN | | | | | | --11 110 |Rc| rsvd | | # ternlog bitops -- 2.30.2