change the costs for multiplication in the size case to reflect the 70% rule
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 27 Jun 2008 16:07:27 +0000 (16:07 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Fri, 27 Jun 2008 16:07:27 +0000 (16:07 +0000)
[r20280]

ir/be/ia32/ia32_architecture.c

index d8d5ff9..851a807 100644 (file)
@@ -232,7 +232,7 @@ static const insn_const size_cost = {
        2,   /* cost of an add instruction */
        3,   /* cost of a lea instruction */
        3,   /* cost of a constant shift instruction */
-       3,   /* starting cost of a multiply instruction */
+       4,   /* starting cost of a multiply instruction */
        0,   /* cost of multiply for every set bit */
        0,   /* logarithm for alignment of function labels */
        0,   /* logarithm for alignment of loops labels */