[PATCH][AArch64] Properly cost FABD pattern

Kyrill Tkachov kyrylo.tkachov@arm.com
Thu Apr 30 12:01:00 GMT 2015


Ping.
https://gcc.gnu.org/ml/gcc-patches/2015-04/msg01329.html

Thanks,
Kyrill

On 22/04/15 17:01, Kyrill Tkachov wrote:
> Hi all,
>
> In rtx costs we do not handle the FP abs (minus (a b)) case which maps down
> to a FABD instruction.
> This patch fixes that. FABD behaves similarly to the FADD class of
> instructions unlike simple FABS
> which is closer to FNEG.
>
> Tested aarch64-none-elf.
> Ok for trunk?
>
> Thanks,
> Kyrill
>
> 2015-04-22  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>      * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle pattern for
>      fabd in ABS case.



More information about the Gcc-patches mailing list