Re: [PATCH][ARM] PR target/66731 Fix vnmul insn with -frounding-math

2015-08-03 Thread Kyrill Tkachov
On 28/07/15 11:21, Szabolcs Nagy wrote: On 24/07/15 12:27, Kyrill Tkachov wrote: On 24/07/15 12:10, Szabolcs Nagy wrote: (-a)*b should not be compiled to vnmul a,b with -frounding-math. Added a new -(a*b) pattern for vnmul and the old one is only used if !flag_rounding_math. Updated the costs

Re: Re: [PATCH][ARM] PR target/66731 Fix vnmul insn with -frounding-math

2015-07-28 Thread Szabolcs Nagy
On 24/07/15 12:27, Kyrill Tkachov wrote: On 24/07/15 12:10, Szabolcs Nagy wrote: (-a)*b should not be compiled to vnmul a,b with -frounding-math. Added a new -(a*b) pattern for vnmul and the old one is only used if !flag_rounding_math. Updated the costs too. This is the ARM version of https://

Re: [PATCH][ARM] PR target/66731 Fix vnmul insn with -frounding-math

2015-07-24 Thread Kyrill Tkachov
Hi Szabolcs, On 24/07/15 12:10, Szabolcs Nagy wrote: (-a)*b should not be compiled to vnmul a,b with -frounding-math. Added a new -(a*b) pattern for vnmul and the old one is only used if !flag_rounding_math. Updated the costs too. This is the ARM version of https://gcc.gnu.org/ml/gcc-patches/2