Re: [PATCH][AArch64] Remember to cost operand 0 in FP compare-with-0.0 case

2015-05-01 Thread Marcus Shawcroft
On 1 May 2015 at 09:20, Kyrill Tkachov wrote: > 2015-05-01 Kyrylo Tkachov > > * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case): > Add cost of op0 in the compare-with-fpzero case. ok /Marcus

[PATCH][AArch64] Remember to cost operand 0 in FP compare-with-0.0 case

2015-05-01 Thread Kyrill Tkachov
Hi all, In rtx costs we should remember to add the cost of operand 0 when handling the compare-with-0.0 case. This simple patch does that. Bootstrapped and tested on aarch64-linux. Ok for stage 1? Thanks, Kyrill 2015-05-01 Kyrylo Tkachov * config/aarch64/aarch64.c (aarch64_rtx_costs,