[Qemu-devel] [Bug 617528] Re: Incorrect translation of unary PPC/SPE instructions (efdneg etc.)

2010-08-19 Thread Mike Pall
** Patch added: "Fix translation of unary PPC/SPE instructions (efdneg etc.)." https://bugs.launchpad.net/qemu/+bug/617528/+attachment/1500100/+files/qemu3.diff ** Patch removed: "Fix for unary SPE ops vs. 6cbf4c8c" https://bugs.launchpad.net/qemu/+bug/617528/+attachment/1488575/+files/qe

[Qemu-devel] [Bug 617528] Re: Incorrect translation of unary PPC/SPE instructions (efdneg etc.)

2010-08-13 Thread Mike Pall
Oops, just noticed that the double-precision ops ought to copy the unmodified lower part of the GPR, too. Updated patch attached. Obviously this changes the sin(-1.0) result after the patch, too: $ qemu-ppc -cpu e500v2 sintest -1.0 -0.8414709848079 ** Patch added: "Updated fix for unary SPE ops

[Qemu-devel] [Bug 617528] Re: Incorrect translation of unary PPC/SPE instructions (efdneg etc.)

2010-08-13 Thread Mike Pall
** Patch added: "Fix for unary SPE ops vs. 6cbf4c8c" https://bugs.launchpad.net/bugs/617528/+attachment/1488575/+files/qemu.diff -- Incorrect translation of unary PPC/SPE instructions (efdneg etc.) https://bugs.launchpad.net/bugs/617528 You received this bug notification because you are a mem

[Qemu-devel] [Bug 617528] [NEW] Incorrect translation of unary PPC/SPE instructions (efdneg etc.)

2010-08-13 Thread Mike Pall
Public bug reported: The translation for the following PPC/SPE (e500) instructions is wrong in QEMU git 6cbf4c8c: evfsabs, evfsnabs, evfsneg efdabs, efdnabs, efdneg efsabs, efsnabs, efsneg As you can see from the provided patch, these ought to write their result to the destination re