summaryrefslogtreecommitdiff
path: root/gcc/ra-debug.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 19:33:08 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-25 19:33:08 +0000
commitc4cf1b4672ff1fcc6698872841d27530e5fde5a4 (patch)
treeb1c1fa8a85e884953150c2002096cb56966b0d86 /gcc/ra-debug.c
parent7f5fa44886119590b3eb4a07f48dde35a971573b (diff)
downloadgcc-c4cf1b4672ff1fcc6698872841d27530e5fde5a4.tar.gz
* hwint.h (HOST_WIDE_INT_PRINT, HOST_WIDE_INT_PRINT_C): New macros.
(HOST_WIDE_INT_PRINT_DEC_SPACE, HOST_WIDE_INT_PRINT_UNSIGNED_SPACE, HOST_WIDEST_INT_PRINT_DEC_SPACE, HOST_WIDEST_INT_PRINT_UNSIGNED_SPACE): Delete. (HOST_WIDE_INT_PRINT_DEC, HOST_WIDE_INT_PRINT_DEC_C, HOST_WIDE_INT_PRINT_UNSIGNED, HOST_WIDE_INT_PRINT_HEX): Define in terms of HOST_WIDE_INT_PRINT and possibly HOST_WIDE_INT_PRINT_C. * final.c (asm_fprintf): Use HOST_WIDE_INT_PRINT. * ra-debug.c (dump_static_insn_cost): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68489 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ra-debug.c')
-rw-r--r--gcc/ra-debug.c25
1 files changed, 10 insertions, 15 deletions
diff --git a/gcc/ra-debug.c b/gcc/ra-debug.c
index 17d89b469ee..7d59bac42e3 100644
--- a/gcc/ra-debug.c
+++ b/gcc/ra-debug.c
@@ -985,21 +985,16 @@ 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="
- 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);
+ fprintf (file, " %soverall:\tnum=%6d\tcost=% 8" HOST_WIDE_INT_PRINT "d\n",
+ prefix, overall.count, overall.cost);
+ fprintf (file, " %sloads:\tnum=%6d\tcost=% 8" HOST_WIDE_INT_PRINT "d\n",
+ prefix, load.count, load.cost);
+ fprintf (file, " %sstores:\tnum=%6d\tcost=% 8" HOST_WIDE_INT_PRINT "d\n",
+ prefix, store.count, store.cost);
+ fprintf (file, " %sregcopy:\tnum=%6d\tcost=% 8" HOST_WIDE_INT_PRINT "d\n",
+ prefix, regcopy.count, regcopy.cost);
+ fprintf (file, " %sselfcpy:\tnum=%6d\tcost=% 8" HOST_WIDE_INT_PRINT "d\n",
+ prefix, selfcopy.count, selfcopy.cost);
}
/* Returns nonzero, if WEB1 and WEB2 have some possible