This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: SH missing label in constant pools


On May 12, 2001, kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:

> 2001-05-13  kaz Kojima  <kkojima@rr.iij4u.or.jp>

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

Thanks, I'm checking this in mainline and 3.0 branch as soon as my
build of 3.0 with it completes.

-- 
Alexandre Oliva, GCC Team    +55 19 9714-3658


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]