From 8dd67f3aea788cdc371372f227870464e8e5faa4 Mon Sep 17 00:00:00 2001 From: lkcl Date: Sat, 13 Feb 2021 14:10:29 +0000 Subject: [PATCH] --- openpower/sv/bitmanip.mdwn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 ``` -- 2.30.2