diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-05-17 01:40:45 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-05-17 01:40:45 +0000 |
commit | 90ff44cfd6d1cd20ebb9716d32fb821ca94560b7 (patch) | |
tree | c019ef32abbdcab9b8ee28ff9f140a9c8687ed6e /gcc/ra-debug.c | |
parent | 40fd18b5d6e1597f7775a138e1937120510c2168 (diff) | |
download | gcc-90ff44cfd6d1cd20ebb9716d32fb821ca94560b7.zip gcc-90ff44cfd6d1cd20ebb9716d32fb821ca94560b7.tar.gz gcc-90ff44cfd6d1cd20ebb9716d32fb821ca94560b7.tar.bz2 |
cfgloopanal.c (test_for_iteration): Use string concatentation on HOST_WIDE_INT_PRINT_* format specifier to collapse...
gcc:
* cfgloopanal.c (test_for_iteration): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.
* dbxout.c (dbxout_symbol): Likewise.
* defaults.h (ASM_OUTPUT_SIZE_DIRECTIVE): Likewise.
* dwarf2asm.c (dw2_asm_output_data_uleb128,
dw2_asm_output_data_sleb128): Likewise.
* genrecog.c (debug_decision_2): Likewise.
* loop.c (emit_prefetch_instructions): Likewise.
* print-rtl.c (print_rtx): Likewise.
* print-tree.c (print_node_brief, print_node): Likewise.
* ra-debug.c (dump_igraph, dump_graph_cost,
dump_static_insn_cost): Likewise.
* ra-rewrite.c (dump_cost): Likewise.
* sdbout.c (PUT_SDB_INT_VAL, PUT_SDB_SIZE): Likewise.
* sreal.c (dump_sreal): Likewise.
* unroll.c (unroll_loop, precondition_loop_p): Likewise.
* varasm.c (assemble_vtable_entry): Likewise.
cp:
* ptree.c (cxx_print_type, cxx_print_xnode): Use string
concatentation on HOST_WIDE_INT_PRINT_* format specifier to
collapse multiple function calls into one.
* tree.c (debug_binfo): Likewise.
java:
* parse.y (print_int_node): Use string concatentation on
HOST_WIDE_INT_PRINT_* format specifier to collapse multiple
function calls into one.
From-SVN: r66900
Diffstat (limited to 'gcc/ra-debug.c')
-rw-r--r-- | gcc/ra-debug.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/gcc/ra-debug.c b/gcc/ra-debug.c index 5f1a6ae..b84bf61 100644 --- a/gcc/ra-debug.c +++ b/gcc/ra-debug.c @@ -714,10 +714,10 @@ dump_igraph (df) ra_debug_msg (DUMP_WEBS, " sub %d", SUBREG_BYTE (web->orig_x)); ra_debug_msg (DUMP_WEBS, " par %d", find_web_for_subweb (web)->id); } - ra_debug_msg (DUMP_WEBS, " +%d (span %d, cost ", - web->add_hardregs, web->span_deaths); - ra_debug_msg (DUMP_WEBS, HOST_WIDE_INT_PRINT_DEC, web->spill_cost); - ra_debug_msg (DUMP_WEBS, ") (%s)", reg_class_names[web->regclass]); + ra_debug_msg (DUMP_WEBS, " +%d (span %d, cost " + HOST_WIDE_INT_PRINT_DEC ") (%s)", + web->add_hardregs, web->span_deaths, web->spill_cost, + reg_class_names[web->regclass]); if (web->spill_temp == 1) ra_debug_msg (DUMP_WEBS, " (spilltemp)"); else if (web->spill_temp == 2) @@ -870,9 +870,9 @@ dump_graph_cost (level, msg) if (alias (web)->type == SPILLED) cost += web->orig_spill_cost; } - ra_debug_msg (level, " spill cost of graph (%s) = ", msg ? msg : ""); - ra_debug_msg (level, HOST_WIDE_INT_PRINT_UNSIGNED, cost); - ra_debug_msg (level, "\n"); + ra_debug_msg (level, " spill cost of graph (%s) = " + HOST_WIDE_INT_PRINT_UNSIGNED "\n", + msg ? msg : "", cost); } /* Dump the color assignment per web, the coalesced and spilled webs. */ @@ -985,21 +985,21 @@ dump_static_insn_cost (file, message, prefix) if (!prefix) prefix = ""; fprintf (file, "static insn cost %s\n", message ? message : ""); - fprintf (file, " %soverall:\tnum=%6d\tcost=", prefix, overall.count); - fprintf (file, HOST_WIDE_INT_PRINT_DEC_SPACE, 8, overall.cost); - fprintf (file, "\n"); - fprintf (file, " %sloads:\tnum=%6d\tcost=", prefix, load.count); - fprintf (file, HOST_WIDE_INT_PRINT_DEC_SPACE, 8, load.cost); - fprintf (file, "\n"); - fprintf (file, " %sstores:\tnum=%6d\tcost=", prefix, store.count); - fprintf (file, HOST_WIDE_INT_PRINT_DEC_SPACE, 8, store.cost); - fprintf (file, "\n"); - fprintf (file, " %sregcopy:\tnum=%6d\tcost=", prefix, regcopy.count); - fprintf (file, HOST_WIDE_INT_PRINT_DEC_SPACE, 8, regcopy.cost); - fprintf (file, "\n"); - fprintf (file, " %sselfcpy:\tnum=%6d\tcost=", prefix, selfcopy.count); - fprintf (file, HOST_WIDE_INT_PRINT_DEC_SPACE, 8, selfcopy.cost); - fprintf (file, "\n"); + fprintf (file, " %soverall:\tnum=%6d\tcost=" + HOST_WIDE_INT_PRINT_DEC_SPACE "\n", + prefix, overall.count, 8, overall.cost); + fprintf (file, " %sloads:\tnum=%6d\tcost=" + HOST_WIDE_INT_PRINT_DEC_SPACE "\n", + prefix, load.count, 8, load.cost); + fprintf (file, " %sstores:\tnum=%6d\tcost=" + HOST_WIDE_INT_PRINT_DEC_SPACE "\n", + prefix, store.count, 8, store.cost); + fprintf (file, " %sregcopy:\tnum=%6d\tcost=" + HOST_WIDE_INT_PRINT_DEC_SPACE "\n", + prefix, regcopy.count, 8, regcopy.cost); + fprintf (file, " %sselfcpy:\tnum=%6d\tcost=" + HOST_WIDE_INT_PRINT_DEC_SPACE "\n", + prefix, selfcopy.count, 8, selfcopy.cost); } /* Returns nonzero, if WEB1 and WEB2 have some possible |