unicorn/qemu/fpu
Petr Tesarik d1d09f384e
fpu/softfloat: Fix conversion from uint64 to float128
The significand is passed to normalizeRoundAndPackFloat128() as high
first, low second. The current code passes the integer first, so the
result is incorrectly shifted left by 64 bits.

This bug affects the emulation of s390x instruction CXLGBR (convert
from logical 64-bit binary-integer operand to extended BFP result).

Backports commit 6603d50648901e8b9e6d66ec1142accf0b1df1e6 from qemu
2018-05-19 21:55:59 -04:00
..
softfloat-macros.h softfloat: export some functions 2018-03-09 01:22:00 -05:00
softfloat-specialize.h softfloat-specialize: Perform comparison pass with qemu 2018-03-21 13:27:59 -04:00
softfloat.c fpu/softfloat: Fix conversion from uint64 to float128 2018-05-19 21:55:59 -04:00