Re: [PATCH][AArch64] Properly cost FABD pattern

2015-04-30 Thread Marcus Shawcroft
On 22 April 2015 at 17:01, Kyrill Tkachov wrote: > 2015-04-22 Kyrylo Tkachov > > * config/aarch64/aarch64.c (aarch64_rtx_costs): Handle pattern for > fabd in ABS case. OK /Marcus

Re: [PATCH][AArch64] Properly cost FABD pattern

2015-04-30 Thread Kyrill Tkachov
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 i

[PATCH][AArch64] Properly cost FABD pattern

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