X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbecopyopt.c;h=f4e5f23e64d306f7f08cf516594b2a7f8bb013a0;hb=070134aa742484085c66db733a759aa3316dbf24;hp=23064ace140bec1017abc973f4edc9c208c5736f;hpb=f6b78c1b4c5885ac0c3e20ae0afca754cb3edbf9;p=libfirm diff --git a/ir/be/becopyopt.c b/ir/be/becopyopt.c index 23064ace1..f4e5f23e6 100644 --- a/ir/be/becopyopt.c +++ b/ir/be/becopyopt.c @@ -45,6 +45,7 @@ #include "irbitset.h" #include "irprintf_t.h" #include "irtools.h" +#include "util.h" #include "bemodule.h" #include "bearch.h" @@ -1210,16 +1211,16 @@ void co_driver(be_chordal_env_t *cenv) co_complete_stats(co, &after); if (do_stats) { - ulong64 optimizable_costs = after.max_costs - after.inevit_costs; - ulong64 evitable = after.costs - after.inevit_costs; + unsigned long long optimizable_costs = after.max_costs - after.inevit_costs; + unsigned long long evitable = after.costs - after.inevit_costs; ir_printf("%30F ", cenv->irg); - printf("%10s %10" ULL_FMT "%10" ULL_FMT "%10" ULL_FMT, cenv->cls->name, after.max_costs, before.costs, after.inevit_costs); + printf("%10s %10llu%10llu%10llu", cenv->cls->name, after.max_costs, before.costs, after.inevit_costs); if (optimizable_costs > 0) - printf("%10" ULL_FMT " %5.2f\n", after.costs, (evitable * 100.0) / optimizable_costs); + printf("%10llu %5.2f\n", after.costs, (evitable * 100.0) / optimizable_costs); else - printf("%10" ULL_FMT " %5s\n", after.costs, "-"); + printf("%10llu %5s\n", after.costs, "-"); } /* Dump the interference graph in Appel's format. */