projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92289dc
)
(no commit message)
author
lkcl
<lkcl@web>
Wed, 16 Mar 2022 06:15:45 +0000
(06:15 +0000)
committer
IkiWiki
<ikiwiki.info>
Wed, 16 Mar 2022 06:15:45 +0000
(06:15 +0000)
openpower/sv/bitmanip/gfbinv.py
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip/gfbinv.py
b/openpower/sv/bitmanip/gfbinv.py
index 648fac6945de2a556a766e4bb8d6c23341e071d6..685a6d13c29b671afdff6b20b3e4067c456aa97e 100644
(file)
--- a/
openpower/sv/bitmanip/gfbinv.py
+++ b/
openpower/sv/bitmanip/gfbinv.py
@@
-5,7
+5,7
@@
from .cldivrem import degree
def gfbinv(a):
"""compute the GF(2^m) inverse of `a`."""
# Derived from Algorithm 3, from [7] in:
- # https://
scholar.archive.org/work/ktlygagf6jhslhx42gpuwwzc44/access/wayback/http://acsel-lab.com/arithmetic/arith18/papers
/ARITH18_Kobayashi.pdf
+ # https://
ftp.libre-soc.org
/ARITH18_Kobayashi.pdf
s = decode_reducing_polynomial()
m = degree(s)