From: lkcl Date: Thu, 28 Jan 2021 03:14:44 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~285 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02cf679c1ead499465c48acef387dc11572e9113;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index a6096d6fa..8d2b84fa7 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -431,13 +431,6 @@ realistically with the degree also needing to be an immediate it should be broug where the SimpleV variant may override RS-as-src differently from RS-as-dest -## GF add - - RS = GFADD(RS, RA|0, gfdegree, modulo=RB) - -| 0.5|6.10|11.15|16.20|21.25| 26..30 |31| -| -- | -- | --- | --- | --- | ------- |--| -| NN | RS | RA | RB | deg | 01 011 |Rc| ``` @@ -488,6 +481,13 @@ if __name__ == "__main__": # Evaluate the product (x^7)(x^7 + x + 1) print("{:02x}".format(multGF2(0b10000000, 0b10000011))) ``` +## GF add + + RS = GFADD(RS, RA|0, gfdegree, modulo=RB) + +| 0.5|6.10|11.15|16.20|21.25| 26..30 |31| +| -- | -- | --- | --- | --- | ------- |--| +| NN | RS | RA | RB | deg | 01 011 |Rc| ## gf invert