From: lkcl Date: Mon, 10 Oct 2022 15:15:42 +0000 (+0100) Subject: (no commit message) X-Git-Tag: opf_rfc_ls005_v1~108 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dd4fc9ffcc1c5194dd9572e3708d83a1b47ea5e5;p=libreriscv.git --- diff --git a/openpower/sv/biginteger.mdwn b/openpower/sv/biginteger.mdwn index d4dc5a202..0eb395cbb 100644 --- a/openpower/sv/biginteger.mdwn +++ b/openpower/sv/biginteger.mdwn @@ -31,7 +31,9 @@ for subtraction) but that big-integer shift, multiply and divide require an extra 3-in 2-out instructions, similar to Intel's [shld](https://www.felixcloutier.com/x86/shld) and [shrd](https://www.felixcloutier.com/x86/shrd), -`mulx` and `divq`, to be efficient. +`mulx` and +[divq](https://www.felixcloutier.com/x86/div), +to be efficient. The same instruction (`maddedu`) is used in both big-divide and big-multiply because 'maddedu''s primary purpose is to perform a fused 64-bit scalar multiply with a large vector,