[Libre-soc-dev] SVP64 Vectorised add-carry => big int add

lkcl luke.leighton at gmail.com
Sat Apr 16 01:26:38 BST 2022


On Sat, Apr 16, 2022 at 12:44 AM Jacob Lifshay <programmerjake at gmail.com> wrote:

> critically carry can't just be an overflow flag here

            uint64_t v = (uint64_t)q[i] * d[j] + carry;
            carry = v >> 32;
            v = (uint32_t)v;

ermmm... ah it's not a 1-bit carry.  wrong variable name, had me
confused for a minute.

l.



More information about the Libre-soc-dev mailing list