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]

Re: [PATCH][MSP430] Allow lower-case "r" to be used in register names by defining ADDITIONAL_REGISTER_NAMES (PR target/70320)


On 7/23/19 6:50 AM, Jozef Lawrynowicz wrote:
> The attached patch enables a lower-case "r" to be used in register names
> specified in asm statements clobber list or command line options, in addition to
> the upper case "R" that is currently supported.
> 
> Successfully regtested on trunk for msp430-elf.
> 
> Ok for trunk?
> 
> 
> 0001-MSP430-additional-register.patch
> 
> From d639b2ba7d4a93d790bde3ad55df751116eab04b Mon Sep 17 00:00:00 2001
> From: Jozef Lawrynowicz <jozef.l@mittosystems.com>
> Date: Mon, 22 Jul 2019 10:35:43 +0100
> Subject: [PATCH] MSP430 additional register
> 
> gcc/ChangeLog:
> 
> 2019-07-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	PR target/70320
> 	* config/msp430/msp430.h: Define ADDITIONAL_REGISTER_NAMES.
> 
> gcc/testsuite/ChangeLog:
> 
> 2019-07-23  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
> 
> 	PR target/70320
> 	* gcc.target/msp430/asm-register-names-lower-case.c: New test.
> 	* gcc.target/msp430/asm-register-names-upper-case.c: Likewise.
OK
jeff


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