projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e474b
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 3 May 2022 23:35:17 +0000
(
00:35
+0100)
committer
IkiWiki
<ikiwiki.info>
Tue, 3 May 2022 23:35:17 +0000
(
00:35
+0100)
openpower/sv/bitmanip.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip.mdwn
b/openpower/sv/bitmanip.mdwn
index 41db80660e77f4c13123ad96dd970eed0e2a5bf9..b4d6adfbc5194fd911dfe124b29ffb450c6e0dcd 100644
(file)
--- a/
openpower/sv/bitmanip.mdwn
+++ b/
openpower/sv/bitmanip.mdwn
@@
-207,16
+207,12
@@
another mode selection would be CRs not Ints.
mask = m0-3,m4
for i in range(4):
- if not mask[i] continue
- crregs[BT][i] = lut3(imm,
- crregs[BA][i],
- crregs[BB][i],
- crregs[BC][i])
-
+ a,b,c = CRs[BA][i], CRs[BB][i], CRs[BC][i])
+ if mask[i] CRs[BT][i] = lut3(imm, a, b, c)
# int ops
-## min/m
ax
+## min/m
required for the [[sv/av_opcodes]]