Re: [Mingw-w64-public] [RFC] x86, x86_64: bad fpu precision after _beginthreadex

2019-11-12 Thread KONRAD Frederic
Le 11/9/19 à 4:28 AM, Liu Hao a écrit : 在 2019/11/9 1:01, KONRAD Frederic 写道: Hello, I have some precision issues with qemu-system-riscv64. After debugging a little I found out that the math function fma(a, b, c) is inaccurate when compiled with mingw 6.0 under x86, x86_64 and run from a

[Mingw-w64-public] [RFC] x86, x86_64: bad fpu precision after _beginthreadex

2019-11-08 Thread KONRAD Frederic
Hello, I have some precision issues with qemu-system-riscv64. After debugging a little I found out that the math function fma(a, b, c) is inaccurate when compiled with mingw 6.0 under x86, x86_64 and run from a different thread. In fact when a thread is created with _beginthreadex the x87 FPU pr