X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeprefalloc.c;h=4b7f8fae3b4b625294f968cc712bc28cfcefbb3f;hb=320595b2d2f4b0bc4f7bea706c9c575146607dbf;hp=d77565b29863d209204bf401ac0ce5d589a42c1d;hpb=ea75e9d38674b468f602a0699fb64b9c01254797;p=libfirm diff --git a/ir/be/beprefalloc.c b/ir/be/beprefalloc.c index d77565b29..4b7f8fae3 100644 --- a/ir/be/beprefalloc.c +++ b/ir/be/beprefalloc.c @@ -252,7 +252,7 @@ static void give_penalties_for_limits(const ir_nodeset_t *live_nodes, return; penalty *= NEIGHBOR_FACTOR; - n_allowed = rbitset_popcnt(limited, n_regs); + n_allowed = rbitset_popcount(limited, n_regs); if (n_allowed > 1) { /* only create a very weak penalty if multiple regs are allowed */ penalty = (penalty * 0.8f) / n_allowed; @@ -314,7 +314,7 @@ static void check_defs(const ir_nodeset_t *live_nodes, float weight, int arity = get_irn_arity(insn); int i; - float factor = 1.0f / rbitset_popcnt(&req->other_same, arity); + float factor = 1.0f / rbitset_popcount(&req->other_same, arity); for (i = 0; i < arity; ++i) { ir_node *op; unsigned r;