Re: [PATCH] fixing typo in expr.c to allow proper recognition of complex addresses in some arches.

2013-10-25 Thread Igor Shevlyakov
But it's nothing to do with construction inside memory_address_addr_space but with validity of an address construct. first thing memory_address_addr_space does is deconstructing address_mode from as parameter. But if one doesn't pass actual mode there's not way to find it and call to legitimate_add

[PATCH] fixing typo in expr.c to allow proper recognition of complex addresses in some arches.

2013-10-24 Thread Igor Shevlyakov
tested on x86_64-linux-gnu but there's no testcase to see the improved behavior... Please patch the trunk. Thanks Igor = 2013-10-24 Igor Shevlyakov > * expr.c (expand_expr_real_1): Use proper memory access mode instead of address_mode in the call to memory_address_addr_space.

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

2013-10-22 Thread Igor Shevlyakov
robust? Thanks Igor 2013-10-22 Igor Shevlyakov * tree-ssa-loop-ivopts.c (multiplier_allowed_in_address_p ): Check both [reg+mult*reg] and [mult*reg] to determine if multiplier is allowed. Index: tree-ssa-loop-ivopts.c === --- tr