Re: [PATCH][AArch64] Properly cost MNEG/[SU]MNEGL patterns

2015-04-30 Thread Marcus Shawcroft
On 20 April 2015 at 17:36, Kyrill Tkachov 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

[PATCH][AArch64] Properly cost MNEG/[SU]MNEGL patterns

2015-04-20 Thread Kyrill Tkachov
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 addi