Re: [PATCH, gcc/MIPS] Add options to disable/enable madd.fmt/msub.fmt instructions

2016-12-22 Thread Yunqiang Su
> 在 2016年12月22日,13:11,Paul Hua 写道: > > 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/

Re: [PATCH, gcc/MIPS] Add options to disable/enable madd.fmt/msub.fmt instructions

2016-12-21 Thread Paul Hua
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 instruct

[PATCH, gcc/MIPS] Add options to disable/enable madd.fmt/msub.fmt instructions

2016-12-21 Thread Yunqiang Su
[PATCH] Add options to disable/enable madd.fmt/msub.fmt instructions The build-time options are: --with-unfused-madd4=yes/no --without-unfused-madd4 The runtime options are: -munfused-madd4 -mno-unfused-madd4 These options are needed due to madd.fmt/msub.fmt on some platform is broken, w