projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ddd5c7
)
syntax error in branch, CR[BI+32]
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 7 Apr 2020 18:24:42 +0000
(19:24 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 7 Apr 2020 18:24:52 +0000
(19:24 +0100)
openpower/isa/branch.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/branch.mdwn
b/openpower/isa/branch.mdwn
index c3ad338488d5dfe06b6e596bafa0d6ba7c84a7aa..095b2dc204a8de1649106eab65e409534a73ae10 100644
(file)
--- a/
openpower/isa/branch.mdwn
+++ b/
openpower/isa/branch.mdwn
@@
-28,7
+28,7
@@
B-Form
else M <- 32
if ¬BO[2] then CTR <- CTR - 1
ctr_ok <- BO[2] | ((CTR[M:63] != 0) ^ BO[3])
- cond_ok <- BO[0] | ¬(CR
BI+32
^ BO[1])
+ cond_ok <- BO[0] | ¬(CR
[BI+32]
^ BO[1])
if ctr_ok & cond_ok then
if AA then NIA <-iea EXTS(BD || 0b00)
else NIA <-iea CIA + EXTS(BD || 0b00)