X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fgenattr.c;h=83fb5e88f2c6b2f962e01f4283e4017124722205;hb=f6e5971197e69aa040ca3ad0dc9e580bf3dcbb89;hp=7d6d50fffb0d5bc4f213a7105d5eb11e8dfafd0a;hpb=343695df238d8e043fe83c8b0cce11b73f2e2cba;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/genattr.c b/gcc/genattr.c index 7d6d50fffb0..83fb5e88f2c 100644 --- a/gcc/genattr.c +++ b/gcc/genattr.c @@ -174,13 +174,8 @@ main (int argc, char **argv) printf ("#define CPU_UNITS_QUERY 0\n"); printf ("#endif\n\n"); /* Interface itself: */ - printf ("extern int max_dfa_issue_rate;\n\n"); - printf ("/* The following macro value is calculated from the\n"); - printf (" automaton based pipeline description and is equal to\n"); - printf (" maximal number of all insns described in constructions\n"); - printf (" `define_insn_reservation' which can be issued on the\n"); - printf (" same processor cycle. */\n"); - printf ("#define MAX_DFA_ISSUE_RATE max_dfa_issue_rate\n\n"); + printf ("/* Internal insn code number used by automata. */\n"); + printf ("extern int internal_dfa_insn_code (rtx);\n\n"); printf ("/* Insn latency time defined in define_insn_reservation. */\n"); printf ("extern int insn_default_latency (rtx);\n\n"); printf ("/* Return nonzero if there is a bypass for given insn\n"); @@ -198,7 +193,7 @@ main (int argc, char **argv) printf ("#endif\n\n"); printf ("/* Maximal possible number of insns waiting results being\n"); printf (" produced by insns whose execution is not finished. */\n"); - printf ("extern int max_insn_queue_index;\n\n"); + printf ("extern const int max_insn_queue_index;\n\n"); printf ("/* Pointer to data describing current state of DFA. */\n"); printf ("typedef void *state_t;\n\n"); printf ("/* Size of the data in bytes. */\n"); @@ -255,6 +250,7 @@ main (int argc, char **argv) printf (" define_insn_reservation will be changed after\n"); printf (" last call of dfa_start. */\n"); printf ("extern void dfa_clean_insn_cache (void);\n\n"); + printf ("extern void dfa_clear_single_insn_cache (rtx);\n\n"); printf ("/* Initiate and finish work with DFA. They should be\n"); printf (" called as the first and the last interface\n"); printf (" functions. */\n");