Commit: MSP430: Code gen improvements

Nick Clifton nickc@redhat.com
Thu Sep 26 11:22:00 GMT 2013


Hi Guys,

  I am checking in the attached patch in order to fix some code
  generation problems exposed by running the GCC testsuite for the
  MSP430.

  The patch basically adds a definition of TARGET_PRINT_OPERAND_ADDRESS
  as some asm() statements needs this.  It also adds a sign extending
  PSI to SI conversion pattern for when signed pointer values need to be
  stored in an SI pair of registers.

Cheers
  Nick

gcc/ChangeLog
2013-09-26  Nick Clifton  <nickc@redhat.com>

	* config/msp430/msp430.c (msp430_expand_epilogue): Fix compile
	time warning message.
	(msp430_print_operand_raw): Delete unused letter parameter.
	(TARGET_PRINT_OPERAND_ADDRESS): Define.
	(msp430_print_operand_address): New function.
	(msp430_print_operand): Move address printing code from here to
	new function.
	* config/msp430/msp430.md (movsipsi2): Add comment in generated
	assembler.
	(zero_extendpsisi2): Likewise.
	(extendpsisi2): New pattern.
	(andneghi3): New pattern.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: msp430.patch.xz
Type: application/x-xz
Size: 2180 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130926/3f07f15f/attachment.xz>


More information about the Gcc-patches mailing list