projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db49ae
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 29 Nov 2020 18:22:15 +0000
(18:22 +0000)
committer
IkiWiki
<ikiwiki.info>
Sun, 29 Nov 2020 18:22:15 +0000
(18:22 +0000)
openpower/sv/cr_int_predication.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/cr_int_predication.mdwn
b/openpower/sv/cr_int_predication.mdwn
index 223071488bad9dc87239425324b92eb639278bf7..5dc42d0b6e6232c2947201c432653bc2b2e22ad9 100644
(file)
--- a/
openpower/sv/cr_int_predication.mdwn
+++ b/
openpower/sv/cr_int_predication.mdwn
@@
-42,11
+42,9
@@
bit 11=1:
mfcrweird: RA, BB, mask.mode
- reg =
GPR
(RA|0)
+ reg = (RA|0)
n0 = mask[1] & (mode[0] == reg[0])
n1 = mask[1] & (mode[1] == reg[0])
n2 = mask[2] & (mode[2] == reg[0])
n3 = mask[3] & (mode[3] == reg[0])
- creg = n0 | n1 | n2 | b3
- CRfile[32+BB*4:36+BB*4] = creg
-
+ CRfile[32+BB*4:36+BB*4] = n0 || n1 || n2 || b3