mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 22:03:57 +08:00
Make genautomata.cc output reflect insn-attr.h expectation
genautomata was writing the insn_has_dfa_reservation_p function inside of the CPU_UNITS_QUERY conditional when it shouldn't have. Move insn_has_dfa_reservation_p outside of conditional group. gcc/ChangeLog: * genautomata.cc (write_automata): move endif Signed-off-by: Edwin Lu <ewlu@rivosinc.com>
This commit is contained in:
parent
ea4a3d08f1
commit
25f92179de
@ -9503,9 +9503,9 @@ write_automata (void)
|
||||
fprintf (output_file, "\n#if %s\n\n", CPU_UNITS_QUERY_MACRO_NAME);
|
||||
output_get_cpu_unit_code_func ();
|
||||
output_cpu_unit_reservation_p ();
|
||||
output_insn_has_dfa_reservation_p ();
|
||||
fprintf (output_file, "\n#endif /* #if %s */\n\n",
|
||||
CPU_UNITS_QUERY_MACRO_NAME);
|
||||
output_insn_has_dfa_reservation_p ();
|
||||
output_dfa_clean_insn_cache_func ();
|
||||
output_dfa_start_func ();
|
||||
output_dfa_finish_func ();
|
||||
|
Loading…
Reference in New Issue
Block a user