MSP430: Support a memory operand for op1 of andneghi3
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 20 Oct 2020 10:26:20 +0000 (11:26 +0100)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 20 Oct 2020 10:26:56 +0000 (11:26 +0100)
commit8c3846e80210ba437644b5b91d9bd9c564ca565a
tree3647b7eb797aeddc8106adbbef5001051fec46f3
parentb3032d1b84b8ab683f2d7345b6a2d9f783fe946d
MSP430: Support a memory operand for op1 of andneghi3

This fixes an ICE caused by an unrecognizeable insn generated when
compiling gcc.c-torture/execute/pr97386-1.c at -O0.

gcc/ChangeLog:

* config/msp430/msp430.md (andneghi3): Allow general operand for
op1 and update output assembler template.
gcc/config/msp430/msp430.md