From: lkcl Date: Sun, 17 Apr 2022 12:39:11 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~2757 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=877b1d002cc5392fd6a0f9792a1bf846fdaa093e;p=libreriscv.git --- diff --git a/openpower/sv/bitmanip/appendix.mdwn b/openpower/sv/bitmanip/appendix.mdwn index cea75c4c8..49d7f048a 100644 --- 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 wrote: and a mrsubcarry (the one actually needed by bigint division):