[PATCH] riscv: select ARCH_HAS_FAST_MULTIPLIER
David Laight
David.Laight at ACULAB.COM
Wed Nov 22 03:16:23 PST 2023
...
> However, the
> situation exists on x86 too, for example, P4 doesn't have fast
> integer multiplies ...
P4 doesn't have fast anything :-)
More interestingly does anything modern not have fast multiplies?
(that you'd consider running Linux on).
The silicon required isn't that big.
IIRC an 'n' bit multiplier requires n^2 full adders and has
the latency of 2n adders.
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
More information about the linux-riscv
mailing list