MSP430: Fix postinc addressing mode being used for dst op of CMP insns
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Thu, 5 Dec 2019 10:56:02 +0000 (10:56 +0000)
committerJozef Lawrynowicz <jozefl@gcc.gnu.org>
Thu, 5 Dec 2019 10:56:02 +0000 (10:56 +0000)
commit6ff8ab6a145219893901d9f5a9c8b11b948a36f3
tree77e96b6286289fc88787f683de3b1d676588473c
parentb24c77958a2536a6b7f026024c78b65a3797d5a2
MSP430: Fix postinc addressing mode being used for dst op of CMP insns

2019-12-05  Jozef Lawrynowicz  <jozef.l@mittosystems.com>

* config/msp430/msp430.md (cbranch<mode>4): Use
msp430_general_dst_nonv_operand instead of nonimmediate_operand for
dest operand of CMP instruction.
(cbranchpsi4_real): Likewise.
(cbranchqi4_real): Likewise.
(cbranchhi4_real): Likewise.
(cbranchpsi4_reversed): Likewise.
(cbranchqi4_reversed): Likewise.
(cbranchhi4_reversed): Likewise.

From-SVN: r278994
gcc/ChangeLog
gcc/config/msp430/msp430.md