Elektrine lite

← Feed

@rygorous@mastodon.gamedev.place

2025-03-03 07:07 UTC

@kenshirriff Modified Booth recoding gives you a more convenient digit set to work with, and it's also convenient to support both unsigned and signed multiplies with the same circuit. The FMUL circuit in the Pentium 1 is _the_ multiplier. There is no separate integer multiplier circuit IIRC. Integer muls execute on the FPU. (The x87 with its 80-bit floats with 16b exp + 64b mantissa is sufficiently wide for the 32x32 -> 64 muls on offer.)

Replies (1)

  • @kenshirriff Intel added dedicated integer multipliers to the int pipes not long after the Pentium (I think it was PPro or P2 but not 100% sure). The divider was the same though (no int divider, just going to FDIV) and that one they only changed decades later. (Icelake was Intels first big core uArch with a real integer divider, instead of just piggy-backing on the FPU.)

    Open ##1442820