This patchset should fix the bug#1701821 reported by Bruno Haible, which makes the gnulib testsuite to fail for single precision libm tests or for tests relying on unordered comparisons.
It also fixes an inversion of cause and flag bits in the FPSCR register, which is unrelated with the reported bug. It also improves a bit the fneg and fcmp instructions. Aurelien Jarno (5): target/sh4: do not check for PR bit for fabs instruction target/sh4: fix FPU unorderered compare target/sh4: fix FPSCR cause vs flag inversion target/sh4: do not use a helper to implement fneg target/sh4: return result of fcmp using TCG target/sh4/helper.h | 11 +++----- target/sh4/op_helper.c | 71 ++++++++++++++++---------------------------------- target/sh4/translate.c | 30 ++++++++------------- 3 files changed, 37 insertions(+), 75 deletions(-) -- 2.11.0