From: lkcl Date: Sat, 13 Feb 2021 14:10:29 +0000 (+0000) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~187 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8dd67f3aea788cdc371372f227870464e8e5faa4;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip.mdwn b/openpower/sv/bitmanip.mdwn index 0d3436983..cc78fb8a8 100644 --- a/openpower/sv/bitmanip.mdwn +++ b/openpower/sv/bitmanip.mdwn @@ -63,7 +63,7 @@ minor opcode allocation | NN | RS | RA | RB | deg | 00 011 |Rc| gfmul | | NN | RS | RA | RB | deg | 01 011 |Rc| gfadd | | NN | RT | RA | RB | deg | 10 011 |Rc| gfinv | -| NN | RS | RA | RB | deg | 11 011 |Rc| gf rsvd | +| NN | RS | RA | RB | deg | 11 011 |Rc| gfmod | | 0.5|6.10|11.15| 16.23 |24.27 | 28.30 |31| name | | -- | -- | --- | ----- | ---- | ----- |--| ------ | @@ -599,6 +599,10 @@ def gf_invert(a, mod=0x1B) : return g1 ``` +## GF mod + +modulo arithmetic to ensure a polynomial is in range seems sensible to have. + # bitmatrix ```