mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-31 15:31:11 +08:00
tree-ssa-loop-im.c (stmt_cost): Add WIDEN_*, FMA_EXPR and rotates to the set of expensive operations.
2011-10-20 Richard Guenther <rguenther@suse.de> * tree-ssa-loop-im.c (stmt_cost): Add WIDEN_*, FMA_EXPR and rotates to the set of expensive operations. From-SVN: r180237
This commit is contained in:
parent
53e7c794d1
commit
67af611e2e
@ -1,3 +1,8 @@
|
||||
2011-10-20 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
* tree-ssa-loop-im.c (stmt_cost): Add WIDEN_*, FMA_EXPR
|
||||
and rotates to the set of expensive operations.
|
||||
|
||||
2011-10-19 David S. Miller <davem@davemloft.net>
|
||||
|
||||
* config/sparc/sparc.c (sparc_expand_move): Use
|
||||
|
@ -549,6 +549,11 @@ stmt_cost (gimple stmt)
|
||||
switch (gimple_assign_rhs_code (stmt))
|
||||
{
|
||||
case MULT_EXPR:
|
||||
case WIDEN_MULT_EXPR:
|
||||
case WIDEN_MULT_PLUS_EXPR:
|
||||
case WIDEN_MULT_MINUS_EXPR:
|
||||
case DOT_PROD_EXPR:
|
||||
case FMA_EXPR:
|
||||
case TRUNC_DIV_EXPR:
|
||||
case CEIL_DIV_EXPR:
|
||||
case FLOOR_DIV_EXPR:
|
||||
@ -565,6 +570,9 @@ stmt_cost (gimple stmt)
|
||||
|
||||
case LSHIFT_EXPR:
|
||||
case RSHIFT_EXPR:
|
||||
case WIDEN_LSHIFT_EXPR:
|
||||
case LROTATE_EXPR:
|
||||
case RROTATE_EXPR:
|
||||
cost += 20;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user