projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
688bd32
)
add grevlut2x2 image
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 7 Mar 2022 16:36:31 +0000
(16:36 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 7 Mar 2022 16:36:31 +0000
(16:36 +0000)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index 937eb72a05f694c74fe84db62791281278e649a8..0bf5ea2c39f504d20c9bf92fbfc09dde5623d12f 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-326,6
+326,8
@@
the two LUT2s are applied left-half (when not swapping)
and right-half (when swapping) so as to allow a wider
range of options
+<img src="/openpower/sv/grevlut2x2.jpg" width=700 />
+
```
lut2(imm, a, b):
idx = b << 1 | a