[committed]: RX: Use TARGET_PRINT_OPERAND

Nick Clifton nickc@redhat.com
Mon Jun 21 12:12:00 GMT 2010


Hi Guys,

  I am applying the patch below switch the RX backend over to using the
  new TARGET_PRINT_OPERAND and TARGET_PRINT_OPERAND_ADDRESS macros.  In
  the process I have also included a few minor tweaks as well.

  Tested without regressions on an rx-elf toolchain.

Cheers
  Nick

gcc/ChangeLog
2010-06-21  Nick Clifton  <nickc@redhat.com>

	* config/rx/rx.h (PTRDIFF_TYPE): Define.
	(SMALL_REGISTER_CLASS): Define (to zero).
	(PRINT_OPERAND): Delete.
	(PRINT_OPERAND_ADDRESS): Delete.
	* config/rx/rx-protos.h (rx_print_operand): Delete prototype.
	(rx_print_operand_address): Delete prototype.
	* config/rx/rx.c (rx_print_operand): Make static.
	Allow %H and %L to handle CONST_DOUBLEs.
	(rx_print_operand_address): Make static.
	(rx_gen_move_template): Rename local variable 'template' to
	out_template.
	(rx_function_arg): Do not pass unknown sized objects in
	registers.
	(TARGET_PRINT_OPERAND): Define.
	(TARGET_PRINT_OPERAND_ADDRESS): Define.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rx.patch.bz2
Type: application/x-bzip2
Size: 2458 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100621/d0842fda/attachment.bz2>


More information about the Gcc-patches mailing list