[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2014-11-15 Thread Stefan Weil
** Changed in: qemu Status: New => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/661696 Title: incomplete emulation of fstenv under TCG Status in QEMU: Confirmed Bug descriptio

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2013-07-01 Thread Morten Shearman Kirkegaard
Thanks for the links Nikita. I'll see if I can add the missing features (fpop, fpdp) to the patch. Since I don't depend on those features, it will be relatively low priority for me, and I will probably not get to it before late August. // MOKI -- You received this bug notification because you a

Re: [Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2013-06-29 Thread Chalkerx
Thanks for porting the patch. This is the mailing thread I started back in 2010 with that patch: http://lists.gnu.org/archive/html/qemu-devel/2010-11/msg02497.html That thread has some problems noted. Sadly, I did not have enough free time to investigate all the other places that should be fixed

Re: [Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2013-06-29 Thread Andreas Färber
Am 29.06.2013 19:10, schrieb Morten Shearman Kirkegaard: > The bug is still present in the newly released QEMU-1.5.1. I've ported > Chalkerx's patch to this release as well. See attached patch. > > Is there a problem with this patch, since it has not been committed? > > // MOKI > > ** Patch adde

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2013-06-29 Thread Morten Shearman Kirkegaard
The bug is still present in the newly released QEMU-1.5.1. I've ported Chalkerx's patch to this release as well. See attached patch. Is there a problem with this patch, since it has not been committed? // MOKI ** Patch added: "patch-qemu-1.5.1-fpip.diff" https://bugs.launchpad.net/qemu/+bug/

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2013-05-22 Thread Morten Shearman Kirkegaard
I've had quite some problems with this bug as well. It would be really nice if it could be fixed. I have ported Chalkerx's patch to QEMU-1.5.0. The patch is attached. // MOKI ** Patch added: "patch-qemu-1.5.0-fpip.diff" https://bugs.launchpad.net/qemu/+bug/661696/+attachment/3683865/+files/p

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2010-11-25 Thread Chalkerx
Ok. Here is a full patch to QEMU 0.13. Works with and without -singlestep. Works with all fpu instructions. Should also work with fsave. ** Patch added: "Bug fix. For version 0.13. This patch fixes the bug (for me) completely." https://bugs.launchpad.net/qemu/+bug/661696/+attachment/1744859

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2010-11-19 Thread Chalkerx
This was just an example of how it could be done. $ ./qemu-0.12.5/i386-linux-user/qemu-i386 -singlestep ./test 80483b4 80483b4 -- incomplete emulation of fstenv under TCG https://bugs.launchpad.net/bugs/661696 You received this bug notification because you are a member of qemu- devel-ml, which i

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2010-11-19 Thread Chalkerx
Example patch. Works only for FLDZ and only in -singlestep mode. Based on version 0.12.5. ** Patch added: "Patch. Works only for FLDZ and only in -singlestep mode . Based on 0.12.5." https://bugs.launchpad.net/qemu/+bug/661696/+attachment/1738944/+files/patch.diff -- incomplete emulation of

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2010-11-19 Thread Chalkerx
The full testcase: #include extern void *x; int main() { int a; asm volatile ("x: fldz\n\ push %%edx\n\ fnstenv -0xc(%%esp)\n\ pop %%edx\n" : "=d" (a) : : "memory"); printf ("%x %x\n", a, &x); return 0; } $ gcc -m32 test.c -o test $ ./test 80483ae 80483ae $ ./qemu/i386-linux

[Qemu-devel] [Bug 661696] Re: incomplete emulation of fstenv under TCG

2010-11-19 Thread Chalkerx
Any news on this bug? -- incomplete emulation of fstenv under TCG https://bugs.launchpad.net/bugs/661696 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: Steps to reproduce: 1) Install Windows (trie