From: lkcl Date: Sun, 10 Jan 2021 04:42:22 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~489 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7d6bdd6528a62f0d4aef4ed29e7d820dec1cf622;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index e5692efa1..1fa2e49aa 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -69,15 +69,15 @@ bits 21..22 may be used to specify a mode, such as treating the whole integer ze a 4 operand variant which becomes more along the lines of an FPGA: -| 0.5|6.10|11.15|16.20|21.25| 26..30 |31| -| -- | -- | --- | --- | --- | -------- |--| -| NN | RT | RA | RB | RC | mode 10 |Rc| +| 0.5|6.10|11.15|16.20|21.25| 26..30 |31| +| -- | -- | --- | --- | --- | ------- |--| +| NN | RT | RA | RB | RC | mode 010 |Rc| for i in range(64): idx = RT[i] << 2 | RA[i] << 1 | RB[i] RT[i] = (RC & (1<