Someone has posted a similar fix a few weeks ago, and it has just been merged.
** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1477683 Title: FPU in qemu-system-i386 works incorrectly Status in QEMU: Fix Committed 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.) To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1477683/+subscriptions