projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1683fce
)
(no commit message)
author
lkcl
<lkcl@web>
Sun, 17 Apr 2022 12:39:11 +0000
(13:39 +0100)
committer
IkiWiki
<ikiwiki.info>
Sun, 17 Apr 2022 12:39:11 +0000
(13:39 +0100)
openpower/sv/bitmanip/appendix.mdwn
patch
|
blob
|
history
diff --git
a/openpower/sv/bitmanip/appendix.mdwn
b/openpower/sv/bitmanip/appendix.mdwn
index cea75c4c82a3ee879e53da5b60f84c89935d9062..49d7f048ad1eb767c96e1ce58517dfca9dbe91de 100644
(file)
--- a/
openpower/sv/bitmanip/appendix.mdwn
+++ b/
openpower/sv/bitmanip/appendix.mdwn
@@
-36,6
+36,8
@@
void div(uint32_t *n, uint32_t *d, uint32_t* q, int n_bytes, int d_bytes) {
}
```
+The key loop may be implemented with a 4-in, 2-out mul-twin-add:
+
```
On Sat, Apr 16, 2022, 22:06 Jacob Lifshay <programmerjake@gmail.com> wrote:
and a mrsubcarry (the one actually needed by bigint division):