1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-10 18:20:11 +00:00
Files
antonblanchard.microwatt/tests/test_fpu.bin
Paul Mackerras 9e8fb293ed FPU: Implement floating convert from integer instructions
This implements fcfid, fcfidu, fcfids and fcfidus, which convert
64-bit integer values in an FPR into a floating-point value.
This brings in a lot of the datapath that will be needed in
future, including the shifter, adder, mask generator and
count-leading-zeroes logic, along with the machinery for rounding
to single-precision or double-precision, detecting inexact results,
signalling inexact-result exceptions, and updating result flags
in the FPSCR.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2020-09-03 17:44:41 +10:00

13 KiB
Executable File