From: Adam Szalkowski Date: Sat, 15 Jul 2006 11:29:08 +0000 (+0000) Subject: loads are a little bit more expensive than reloads because they have a lower probabil... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=c027e2acf5be8bb4f55c9557c79ccb92f2fc9d20;p=libfirm loads are a little bit more expensive than reloads because they have a lower probability to be in the cache --- diff --git a/ir/be/ia32/bearch_ia32.c b/ir/be/ia32/bearch_ia32.c index 2d3e0beb9..9eb5e5748 100644 --- a/ir/be/ia32/bearch_ia32.c +++ b/ir/be/ia32/bearch_ia32.c @@ -496,9 +496,12 @@ static int ia32_get_op_estimated_cost(const void *self, const ir_node *irn) case iro_ia32_xLoad: case iro_ia32_l_Load: case iro_ia32_Load: + cost = 25; + break; + case iro_ia32_Push: case iro_ia32_Pop: - cost = 10; + cost = 5; break; case iro_ia32_xStore: