From: Michael Beck Date: Fri, 27 Jun 2008 16:07:27 +0000 (+0000) Subject: change the costs for multiplication in the size case to reflect the 70% rule X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=eb0a39c08748e5f74ab488b412187e15adbfc4d1;p=libfirm change the costs for multiplication in the size case to reflect the 70% rule [r20280] --- 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 */