Re: [PATCH] more robust check for multiplier in addressing mode when determining the costs

2013-10-24 Thread Jeff Law
On 10/22/13 17:42, Igor Shevlyakov wrote: 2013-10-22 Igor Shevlyakovigor.shevlya...@gmail.com * tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p ): Check both [reg+mult*reg] and [mult*reg] to determine if multiplier is allowed. Thanks. I've re-bootstrapped regtested on

Re: [PATCH] more robust check for multiplier in addressing mode when determining the costs

2013-10-23 Thread Richard Biener
On Wed, Oct 23, 2013 at 1:42 AM, Igor Shevlyakov igor.shevlya...@gmail.com wrote: I'm working on a chip with some unusual addressing modes. it does have [base_rage+msize*index_reg] and one can't omit base_reg like on x86. But when ivopts tries to calculate the costs of different addressing

[PATCH] more robust check for multiplier in addressing mode when determining the costs

2013-10-22 Thread Igor Shevlyakov
I'm working on a chip with some unusual addressing modes. it does have [base_rage+msize*index_reg] and one can't omit base_reg like on x86. But when ivopts tries to calculate the costs of different addressing modes it only checks [mult*reg] to determine allowable multipliers. I modified