From dd4fc9ffcc1c5194dd9572e3708d83a1b47ea5e5 Mon Sep 17 00:00:00 2001 From: lkcl Date: Mon, 10 Oct 2022 16:15:42 +0100 Subject: [PATCH] --- openpower/sv/biginteger.mdwn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.30.2