From eb0a39c08748e5f74ab488b412187e15adbfc4d1 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 27 Jun 2008 16:07:27 +0000 Subject: [PATCH] change the costs for multiplication in the size case to reflect the 70% rule [r20280] --- ir/be/ia32/ia32_architecture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/ia32/ia32_architecture.c b/ir/be/ia32/ia32_architecture.c index d8d5ff957..851a807be 100644 --- a/ir/be/ia32/ia32_architecture.c +++ b/ir/be/ia32/ia32_architecture.c @@ -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 */ -- 2.20.1