unicorn/qemu/fpu
Bharata B Rao 80e522b499
softfloat: Add round-to-odd rounding mode
Power ISA 3.0 introduces a few quadruple precision floating point
instructions that support round-to-odd rounding mode. The
round-to-odd mode is explained as under:

Let Z be the intermediate arithmetic result or the operand of a convert
operation. If Z can be represented exactly in the target format, the
result is Z. Otherwise the result is either Z1 or Z2 whichever is odd.
Here Z1 and Z2 are the next larger and smaller numbers representable
in the target format respectively.

Backports commit 9ee6f678f473007e252934d6acd09c24490d9d42 from qemu
2018-03-02 08:25:00 -05:00
..
softfloat-macros.h fpu: Use plain 'int' rather than 'int_fast16_t' for exponents 2018-02-20 18:57:32 -05:00
softfloat-specialize.h softfloat: Fix the default qNAN for target-ppc 2018-03-02 00:15:36 -05:00
softfloat.c softfloat: Add round-to-odd rounding mode 2018-03-02 08:25:00 -05:00