projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea69dd
)
(no commit message)
author
lkcl
<lkcl@web>
Tue, 20 Sep 2022 12:44:20 +0000
(13:44 +0100)
committer
IkiWiki
<ikiwiki.info>
Tue, 20 Sep 2022 12:44:20 +0000
(13:44 +0100)
openpower/sv/overview.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/overview.mdwn
b/openpower/sv/overview.mdwn
index 758a64260da05968944f741c23be38ef0118b005..28ca22659b0713605b1dd18caec7b75048e44193 100644
(file)
--- a/
openpower/sv/overview.mdwn
+++ b/
openpower/sv/overview.mdwn
@@
-267,7
+267,7
@@
effectively the same as "no predicate".
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 mask
for i = 0 to VL-1:
if (predval & 1<<i) # predication bit test
ireg[RT+id] <= ireg[RA+irs1] + ireg[RB+irs2];