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.tkac...@arm.com>

    * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle pattern for
    fabd in ABS case.

Attachment: aarch64-costs-fabd.patch
Description: Binary data

Reply via email to