Skip to content
Snippets Groups Projects
Commit ecf6ff7c authored by aoliva's avatar aoliva
Browse files

* gcc/config/sh/sh.c (print_operand_address, print_operand): Call

mark_constant_pool_use before output_addr_const.
(struct pool_node): New field wend.
(add_constant): Note a sequence of constants that are referenced
by a given label.
(pool_window_label, pool_window_last): New variables.
(dump_table): Emit a unspec_volatile representing the end of a
sequence of constants.
(mark_constant_pool_use): New function.
* gcc/config/sh/sh.md (UNSPECV_WINDOW_END): New constant.
(consttable_2): Add the second operand which flags whether
this consttable entry was used or not.
(consttable_4, consttable_8, consttable_sf, consttable_df):
Likewise.
(consttable_window_end): New insn.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42841 138bc75d-0d04-0410-961f-82ee72b054a4
parent ee866761
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment