projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5baa0
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 15 Feb 2022 06:02:08 +0000
(06:02 +0000)
committer
IkiWiki
<ikiwiki.info>
Tue, 15 Feb 2022 06:02:08 +0000
(06:02 +0000)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index 269e9bff3bc28b5ef8bb603579068b4094f033fe..c7821f1309e216e8e128c4aefd7531b22beb1593 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-322,6
+322,10
@@
uint_xlen_t bmextrev(RA, RB, sh)
idx = b << 1 | a
return imm[idx] # idx by LSB0 order
+ dorow(imm, step_i, chunksize):
+ for j in 0 to 63:
+ step_o[j] = lut2(imm, step_i[j], step_i[j ^ chunk_size])
+ return step_o
# grev