summaryrefslogtreecommitdiffstats
path: root/gcc/genattr.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-23 15:15:42 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-23 15:15:42 +0000
commitc966a2e26443d130bc0826ff41bb220ed16526c6 (patch)
tree3a326a29186290c79c728ba36294ed50b2517f08 /gcc/genattr.c
parente7827cef5911ce70e4a4439fe39019ed218f7183 (diff)
downloadppe42-gcc-c966a2e26443d130bc0826ff41bb220ed16526c6.tar.gz
ppe42-gcc-c966a2e26443d130bc0826ff41bb220ed16526c6.zip
r110126@banpei: zack | 2006-01-22 14:47:42 -0800
* genautomata.c (process_state_longest_path, max_dfa_issue_rate) (output_dfa_max_issue_rate, locked_states_num): Delete. (struct automaton): Add locked_states field. (output_dead_lock_vect): Save number of locked states in automaton->locked_states. If it is zero, don't print anything. (output_max_insn_queue_index_def): Define max_insn_queue_index const. (output_internal_dead_lock_func): Only test the dead_lock_vect for automata that have locked states. (output_statistics): Always print the number of locked states for each automaton. Calculate total number of locked states here. (write_automata): Don't call output_dfa_max_issue_rate. * genattrtab.c: Define length_unit_log as a const variable. * genattr.c: Don't emit MAX_DFA_ISSUE_RATE. Declare max_insn_queue_index const. * final.c (length_unit_log): Declare const. * doc/tm.texi: Remove all references to MAX_DFA_ISSUE_RATE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genattr.c')
-rw-r--r--gcc/genattr.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/genattr.c b/gcc/genattr.c
index 7d6d50fffb0..03a00c5a54c 100644
--- a/gcc/genattr.c
+++ b/gcc/genattr.c
@@ -174,13 +174,6 @@ 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 ("/* 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 +191,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");
OpenPOWER on IntegriCloud