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
This commit is contained in:
parent
4138b429ca
commit
f5d5226b3d
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user