diff options
author | Jie Zhang <jie@codesourcery.com> | 2010-07-07 16:31:41 +0000 |
---|---|---|
committer | Jie Zhang <jiez@gcc.gnu.org> | 2010-07-07 16:31:41 +0000 |
commit | f5d5226b3d7cd2d667e4f40bf3180cf10aa0fb6a (patch) | |
tree | 6bc1b666b19e2c5b2944203af9eb18a276d10f9b | |
parent | 4138b429ca3f557e7125e746ce1a75b0ac689d61 (diff) | |
download | gcc-f5d5226b3d7cd2d667e4f40bf3180cf10aa0fb6a.zip gcc-f5d5226b3d7cd2d667e4f40bf3180cf10aa0fb6a.tar.gz gcc-f5d5226b3d7cd2d667e4f40bf3180cf10aa0fb6a.tar.bz2 |
genautomata.c (output_automata_list_min_issue_delay_code): Correctly decompress min_issue_delay.
* genautomata.c (output_automata_list_min_issue_delay_code):
Correctly decompress min_issue_delay.
From-SVN: r161923
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/genautomata.c | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 934cacd..832cf30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-07-07 Jie Zhang <jie@codesourcery.com> + + * genautomata.c (output_automata_list_min_issue_delay_code): + Correctly decompress min_issue_delay. + 2010-07-07 Bernd Schmidt <bernds@codesourcery.com> PR rtl-optimization/44404 diff --git a/gcc/genautomata.c b/gcc/genautomata.c index a268aa0..91516f8 100644 --- a/gcc/genautomata.c +++ b/gcc/genautomata.c @@ -7854,12 +7854,15 @@ output_automata_list_min_issue_delay_code (automata_list_el_t automata_list) { fprintf (output_file, ") / %d];\n", automaton->min_issue_delay_table_compression_factor); - fprintf (output_file, " %s = (%s >> (8 - (", + fprintf (output_file, " %s = (%s >> (8 - ((", TEMPORARY_VARIABLE_NAME, TEMPORARY_VARIABLE_NAME); output_translate_vect_name (output_file, automaton); + fprintf (output_file, " [%s] + ", INTERNAL_INSN_CODE_NAME); + fprintf (output_file, "%s->", CHIP_PARAMETER_NAME); + output_chip_member_name (output_file, automaton); + fprintf (output_file, " * %d)", automaton->insn_equiv_classes_num); fprintf - (output_file, " [%s] %% %d + 1) * %d)) & %d;\n", - INTERNAL_INSN_CODE_NAME, + (output_file, " %% %d + 1) * %d)) & %d;\n", automaton->min_issue_delay_table_compression_factor, 8 / automaton->min_issue_delay_table_compression_factor, (1 << (8 / automaton->min_issue_delay_table_compression_factor)) |