multiply: Move selection of result bits into execute1
authorPaul Mackerras <paulus@ozlabs.org>
Thu, 21 May 2020 03:42:46 +0000 (13:42 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Sat, 13 Jun 2020 10:08:47 +0000 (20:08 +1000)
commit9880fc743551a15aa2dd834b2472180e5280796e
tree021c3b338d43592f8ad1294196687bcda0055985
parentf80da65799c366edb88e20ec4f95f60c62ac3d94
multiply: Move selection of result bits into execute1

This puts the logic that selects which bits of the multiplier result
get written into the destination GPR into execute1, moved out from
multiply.

The multiplier is now expected to do an unsigned multiplication of
64-bit operands, optionally negate the result, detect 32-bit
or 64-bit signed overflow of the result, and return a full 128-bit
result.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
common.vhdl
execute1.vhdl
multiply.vhdl
multiply_tb.vhdl