On 20 April 2015 at 17:36, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote: > Hi all, > > Currently we do not handle the MNEG patterns properly in rtx costs. > These instructions are similar to the MSUB ones. > This patch handles them by catching the NEG at the appropriate position, > extracting its operands and letting the rest of the aarch64_rtx_mult_cost > function > handle the additional costs. > > Tested on aarch64-none-elf. > > Ok trunk? > > Thanks, > Kyrill > > N.B. > This patches' context depends on: > https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01049.html > > 2015-04-20 Kyrylo Tkachov <kyrylo.tkac...@arm.com> > > * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Handle MNEG > and [SU]MNEGL patterns.
OK /Marcus