From: Luke Kenneth Casson Leighton Date: Sat, 6 Nov 2021 11:46:16 +0000 (+0000) Subject: Revert "" X-Git-Tag: opf_rfc_ls005_v1~3456 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd8a5832f5ec311e91fe8ab8410da31e1e07a027;p=libreriscv.git Revert "" This reverts commit 9f31f4a3a5303e3815c7dbc21ce216d943e0ce03. --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 1607384f2..1ca77613f 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -67,8 +67,8 @@ minor opcode allocation | 0.5|6.10|11.15|16.20|21..25 | 26....30 |31| name | | -- | -- | --- | --- | ----- | -------- |--| ------ | -| NN | RA | RS | RB | RC | mode 001 |Rc| ternary | -| NN | RA | RS | RB | im0-4 | im5-7 00 |Rc| ternaryi | +| NN | RT | RA | RB | RC | mode 001 |Rc| ternary | +| NN | RT | RA | RB | im0-4 | im5-7 00 |Rc| ternaryi | | NN | RS | RA | RB | RC | 00 011 |Rc| gfmul | | NN | RS | RA | RB | RC | 01 011 |Rc| gfadd | | NN | RT | RA | RB | deg | 10 011 |Rc| gfinv | @@ -234,11 +234,11 @@ Similar to FPGA LUTs: for every bit perform a lookup into a table using an 8bit | 0.5|6.10|11.15|16.20| 21..25| 26..30 |31| | -- | -- | --- | --- | ----- | -------- |--| -| NN | RA | RS | RB | im0-4 | im5-7 00 |Rc| +| NN | RT | RA | RB | im0-4 | im5-7 00 |Rc| for i in range(64): - idx = RS[i] << 2 | RB[i] << 1 | RA[i] - RA[i] = (imm & (1<