On 9/10/20 3:44 AM, Jozef Lawrynowicz wrote:
> The new operand modifiers can be used to select odd-numbered bytes of a memory
> reference or constant value.
>
> Successfully regtested on trunk for msp430-elf in the default, -mlarge,
> -mcpu=msp430 and -mlarge/-mcode-region=either/-mdata-region=either
> configurations.
>
> Ok for trunk?
>
> Thanks,
> Jozef
>
> 0001-MSP430-Add-d-e-f-and-g-asm-operand-modifiers.patch
>
> From c48ad2ae243a101afe8d021e847c56a482a60f20 Mon Sep 17 00:00:00 2001
> From: Jozef Lawrynowicz <joze...@mittosystems.com>
> Date: Wed, 9 Sep 2020 13:06:46 +0100
> Subject: [PATCH] MSP430: Add 'd', 'e', 'f' and 'g' asm operand modifiers
>
> The new operand modifiers can be used to select odd-numbered bytes of a memory
> reference or constant value.
>
> gcc/ChangeLog:
>
>       * config/msp430/msp430.c (msp430_print_operand): Update comment.
>       Cast to long when printing values formatted as long.
>       Support 'd', 'e', 'f' and 'g' modifiers.
>       Extract operand value with a single operation for all modifiers.
>       * doc/extend.texi (msp430Operandmodifiers): New.
>
> gcc/testsuite/ChangeLog:
>
>       * gcc.target/msp430/operand-modifiers.c: Extend test to handle new
>       modifiers.
>       * gcc.target/msp430/operand-modifiers-bad.c: New test.

OK

jeff

Attachment: pEpkey.asc
Description: application/pgp-keys

Reply via email to