projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af42566
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 20 Sep 2022 16:33:36 +0000
(17:33 +0100)
committer
IkiWiki
<ikiwiki.info>
Tue, 20 Sep 2022 16:33:36 +0000
(17:33 +0100)
openpower/sv/overview.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/overview.mdwn
b/openpower/sv/overview.mdwn
index 2d54cc30ed2fa8f3fc60eae4ec784d7917035316..84a02e459613df0f674b7b02f4193bab9fb1cc8e 100644
(file)
--- a/
openpower/sv/overview.mdwn
+++ b/
openpower/sv/overview.mdwn
@@
-323,7
+323,7
@@
into account:
function op_add(RT, RA, RB) # add not VADD!
int id=0, irs1=0, irs2=0;
- predval = get_pred_val(FALSE,
rd);
+ predval = get_pred_val(FALSE,
RT); # dest pred
for i = 0 to VL-1:
if (predval & 1<<i) # predication bit test
ireg[RT+id] <= ireg[RA+irs1] + ireg[RB+irs2];