sh.c (print_operand_address, [...]): Call mark_constant_pool_use before output_addr_c...
authorKaz Kojima <kkojima@rr.iij4u.or.jp>
Mon, 4 Jun 2001 00:20:46 +0000 (00:20 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Mon, 4 Jun 2001 00:20:46 +0000 (00:20 +0000)
commitb91455de3df82c050aaf16938f507bbeff8dfebe
tree3423a948c000012cdd67abb72ce6f87c613e24b6
parent5d9669fd547e91ddfacd59c2012ecd26fd6cb906
sh.c (print_operand_address, [...]): Call mark_constant_pool_use before output_addr_const.

* 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.

From-SVN: r42841
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.md