mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of expensive operations.
* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of expensive operations. From-SVN: r97330
This commit is contained in:
parent
14fd645e24
commit
b4852851d4
@ -1,3 +1,8 @@
|
||||
2005-03-31 David Edelsohn <edelsohn@gnu.org>
|
||||
|
||||
* tree-ssa-loop-im.c (stmt_cost): Add RDIV_EXPR to list of
|
||||
expensive operations.
|
||||
|
||||
2005-03-31 Ian Lance Taylor <ian@airs.com>
|
||||
|
||||
* collect2.c (lderrout): New variable.
|
||||
|
@ -436,6 +436,7 @@ stmt_cost (tree stmt)
|
||||
case FLOOR_MOD_EXPR:
|
||||
case ROUND_MOD_EXPR:
|
||||
case TRUNC_MOD_EXPR:
|
||||
case RDIV_EXPR:
|
||||
/* Division and multiplication are usually expensive. */
|
||||
cost += 20;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user