projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23b917b
)
(no commit message)
author
lkcl
<lkcl@web>
Sat, 6 Feb 2021 03:42:26 +0000
(
03:42
+0000)
committer
IkiWiki
<ikiwiki.info>
Sat, 6 Feb 2021 03:42:26 +0000
(
03:42
+0000)
openpower/sv/overview.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/overview.mdwn
b/openpower/sv/overview.mdwn
index 5e479be31f50e57fd88a0c1556e26ac9ad8fecb2..de9c9d28601b5454520e32a32636552d1f51b00d 100644
(file)
--- a/
openpower/sv/overview.mdwn
+++ b/
openpower/sv/overview.mdwn
@@
-466,7
+466,7
@@
element width. Our first simple loop thus becomes:
src1 = get_polymorphed_reg(RA, srcwid, i)
src2 = get_polymorphed_reg(RB, srcwid, i)
result = src1 + src2 # actual add here
- set_polymorphed_reg(
rd
, destwid, i, result)
+ set_polymorphed_reg(
RT
, destwid, i, result)
With this loop, if elwidth=16 and VL=3 the first 48 bits of the target
register will contain three 16 bit addition results, and the upper 16