Hi, > +On MIPS targets, set the @option{-mno-unfused-madd4} option by default. > +On some platform, like Loongson 3A/3B 1000/2000/3000, madd.fmt/msub.fmt is > +broken, which may which may generate wrong calculator result.
The Loongson 3A/3B 1000/2000/3000 madd.fmt/msub.fmt are fused madd instructions. Can you try this patch: https://gcc.gnu.org/ml/gcc-patches/2016-11/msg00255.html . Is this patch testing on trunk? I build the trunk failure for a long time.