[Qemu-devel] [Bug 1728325] Re: POWER8: Wrong behaviour with float-to-int punning

2017-10-31 Thread Iain Buclaw
The original code used a union. It generates the same assembler all the same. ** Changed in: qemu Status: Invalid => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1728325 Title: POWER8

[Qemu-devel] [Bug 1728325] Re: POWER8: Wrong behaviour with float-to-int punning

2017-10-31 Thread Richard Henderson
This is buggy C. https://gcc.gnu.org/bugs/#nonbugs_c ** Changed in: qemu Status: New => Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1728325 Title: POWER8: Wrong behaviour with fl

[Qemu-devel] [Bug 1728325] Re: POWER8: Wrong behaviour with float-to-int punning

2017-10-28 Thread Iain Buclaw
I am running: qemu-ppc64le-static -L /usr/powerpc64le-linux-gnu ./a.out -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1728325 Title: POWER8: Wrong behaviour with float-to-int punning Status in QE