projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4757f2
)
(no commit message)
author
lkcl
<lkcl@web>
Wed, 27 Apr 2022 09:36:23 +0000
(10:36 +0100)
committer
IkiWiki
<ikiwiki.info>
Wed, 27 Apr 2022 09:36:23 +0000
(10:36 +0100)
openpower/sv/biginteger/analysis.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/biginteger/analysis.mdwn
b/openpower/sv/biginteger/analysis.mdwn
index 9cce6b8adc338ea9831c016ccf891e2d60b4e986..63b6143311a5044470b23a7d574feaa6010d7e9b 100644
(file)
--- a/
openpower/sv/biginteger/analysis.mdwn
+++ b/
openpower/sv/biginteger/analysis.mdwn
@@
-322,8
+322,7
@@
this time using subtract instead of add.
```
uint32_t carry = 0;
- // this becomes the basis for sv.msubed in RS=RC Mode,
- // where carry is RC
+ // this is just sv.madded again
for (int i = 0; i <= n; i++) {
uint64_t value = (uint64_t)vn[i] * (uint64_t)qhat + carry;
carry = (uint32_t)(value >> 32); // upper half for next loop