FPU in qemu-system-i386 works incorrectly
Bug #1477683 reported by
Daniel Milewski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
FPU bug in qemu-system-i386 makes software which use floating point numbers work incorrectly. For instance, the one included in attachment prints out 0 instead of 2147483648. The same code works ok in qemu-system-x86_64.
I have this issue in QEMU 2.3.0 on two different GNU/Linux guests (Parabola GNU/Linux-libre and libreCMC.)
I think, that I have the same issue. After some git bisect, I found out that commit ea32aaf1a72af10 2b855317b47a22e 75ac2965a9 has introduced the problem. Attached is a patch that fixes the issue for me. Maybe you can try this out, too.