projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d06466
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 2 Apr 2022 12:48:12 +0000
(13:48 +0100)
committer
IkiWiki
<ikiwiki.info>
Sat, 2 Apr 2022 12:48:12 +0000
(13:48 +0100)
openpower/sv/branches.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/branches.mdwn
b/openpower/sv/branches.mdwn
index 4f15ff92f34d1b71eab82e87f52dfefbd8217514..e1a0fe4e71cc2baaf9c6c42fafce2dfb14dec6dd 100644
(file)
--- a/
openpower/sv/branches.mdwn
+++ b/
openpower/sv/branches.mdwn
@@
-492,8
+492,10
@@
if (mode_is_64bit) then M <- 0
else M <- 32
ctr_ok <- BO[2] | ((CTR[M:63] != 0) ^ BO[3])
cond_ok <- BO[0] | ¬(CR[BI+32] ^ BO[1])
+if ¬predicate_bit then cond_ok = SVRMmode.SNZ
ctrdec = ¬BO[2]
if CTRtest & (cond_ok ^ CTi) then
+ if ¬predicate_bit & ¬SVRMmode.sz then stop
ctrdec = 0b0
if ctrdec then CTR <- CTR - 1
lr_ok <- SVRMmode.LRu