This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On 20 April 2015 at 17:36, Kyrill Tkachov <kyrylo.tkachov@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.tkachov@arm.com>
>
>     * config/aarch64/aarch64.c (aarch64_rtx_mult_cost): Handle MNEG
>     and [SU]MNEGL patterns.


OK /Marcus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]