projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c4e5135
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 13 Feb 2021 14:10:29 +0000
(14:10 +0000)
committer
IkiWiki
<ikiwiki.info>
Sat, 13 Feb 2021 14:10:29 +0000
(14:10 +0000)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index 0d343698330327ec35e0a1bfb623207b9a7ac85b..cc78fb8a8587b0b9d8d15e28e22edc3213da20a3 100644
(file)
--- 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 | 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
rsv
d |
+| NN | RS | RA | RB | deg | 11 011 |Rc| gf
mo
d |
| 0.5|6.10|11.15| 16.23 |24.27 | 28.30 |31| name |
| -- | -- | --- | ----- | ---- | ----- |--| ------ |
| 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
```
return g1
```
+## GF mod
+
+modulo arithmetic to ensure a polynomial is in range seems sensible to have.
+
# bitmatrix
```
# bitmatrix
```