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]
Other format: [Raw text]

Commit: MSP430: Code gen improvements


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.

Attachment: msp430.patch.xz
Description: application/xz


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