projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix setoutfile/irgname debugger commands.
[libfirm]
/
ir
/
be
/
becopyopt.c
diff --git
a/ir/be/becopyopt.c
b/ir/be/becopyopt.c
index
23064ac
..
f4e5f23
100644
(file)
--- 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 "irbitset.h"
#include "irprintf_t.h"
#include "irtools.h"
+#include "util.h"
#include "bemodule.h"
#include "bearch.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) {
co_complete_stats(co, &after);
if (do_stats) {
- u
long64
optimizable_costs = after.max_costs - after.inevit_costs;
- u
long64
evitable = after.costs - after.inevit_costs;
+ u
nsigned long long
optimizable_costs = after.max_costs - after.inevit_costs;
+ u
nsigned long long
evitable = after.costs - after.inevit_costs;
ir_printf("%30F ", cenv->irg);
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 %10
llu%10llu%10llu"
, cenv->cls->name, after.max_costs, before.costs, after.inevit_costs);
if (optimizable_costs > 0)
if (optimizable_costs > 0)
- printf("%10
" ULL_FMT "
%5.2f\n", after.costs, (evitable * 100.0) / optimizable_costs);
+ printf("%10
llu
%5.2f\n", after.costs, (evitable * 100.0) / optimizable_costs);
else
else
- printf("%10
" ULL_FMT "
%5s\n", after.costs, "-");
+ printf("%10
llu
%5s\n", after.costs, "-");
}
/* Dump the interference graph in Appel's format. */
}
/* Dump the interference graph in Appel's format. */