projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efc9460
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 13 Mar 2022 15:26:56 +0000
(15:26 +0000)
committer
IkiWiki
<ikiwiki.info>
Sun, 13 Mar 2022 15:26:56 +0000
(15:26 +0000)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index f5d74efc1b10362933a41161b714e5a1518b68df..c46d1ce9576a3fb9684ebba33d5448fb0b2cb5eb 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-357,6
+357,8
@@
Better diagram showing the correct ordering of shamt.
<img src="/openpower/sv/grevlut.png" width=700 />
+demo code [[openpower/sv/grevlut.py]]
+
```
lut2(imm, a, b):
idx = b << 1 | a