FPU: Implement fmul[s]
authorPaul Mackerras <paulus@ozlabs.org>
Mon, 27 Jul 2020 08:27:50 +0000 (18:27 +1000)
committerPaul Mackerras <paulus@ozlabs.org>
Thu, 3 Sep 2020 07:45:07 +0000 (17:45 +1000)
commite6a5f237bc02de146e2416cf3d8bec7473e33483
tree8cddc10505cda4b78c2e282df69ffc469f06ee41
parent86b826cd7e4cc8ffde6a324a90d4481cbc910ebd
FPU: Implement fmul[s]

This implements the fmul and fmuls instructions.

For fmul[s] with denormalized operands we normalize the inputs
before doing the multiplication, to eliminate the need for doing
count-leading-zeroes on P.  This adds 3 or 5 cycles to the
execution time when one or both operands are denormalized.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
decode1.vhdl
decode2.vhdl
decode_types.vhdl
fpu.vhdl
tests/fpu/fpu.c
tests/test_fpu.bin
tests/test_fpu.console_out