unicorn/qemu/target
Joseph Myers ceaa77e576 target/i386: fix fbstp handling of out-of-range values
The fbstp implementation fails to check for out-of-range and invalid
values, instead just taking the result of conversion to int64_t and
storing its sign and low 18 decimal digits. Fix this by checking for
an out-of-range result (invalid conversions always result in INT64_MAX
or INT64_MIN from the softfloat code, which are large enough to be
considered as out-of-range by this code) and storing the packed BCD
indefinite encoding in that case.

Backports commit 374ff4d0a3c2cce2bc6e4ba8a77eaba55c165252 from qemu
2020-06-15 13:09:23 -04:00
..
arm target/arm: Use a non-overlapping group for misc control 2020-06-15 12:52:48 -04:00
i386 target/i386: fix fbstp handling of out-of-range values 2020-06-15 13:09:23 -04:00
m68k target/m68k: implement opcode fetoxm1 2020-06-14 21:13:29 -04:00
mips target/mips: Support variable page size 2020-06-14 21:09:51 -04:00
riscv target/riscv: Add the lowRISC Ibex CPU 2020-06-14 22:28:55 -04:00
sparc softfloat: Name compare relation enum 2020-05-21 18:08:52 -04:00