MSP430: Define extendqipsi2
authorJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 21 Jul 2020 16:24:03 +0000 (17:24 +0100)
committerJozef Lawrynowicz <jozef.l@mittosystems.com>
Tue, 21 Jul 2020 16:32:06 +0000 (17:32 +0100)
commitaa360dd1c882b943066ba088861c0bfac9df930d
treebd3bbe461f762d7a2584f0f58af6283698f639f2
parent111afded7fdf46ce14972aa8a72c26c9a180ab70
MSP430: Define extendqipsi2

The SXT instruction extends the sign of the low byte of the operand
through the entire PSImode register.
SXTX.A can be used to sign extend the low byte of a memory operand
through to the 19th bit. Bits 31:20 are cleared.

gcc/ChangeLog:

* config/msp430/msp430.md: New "extendqipsi2" define_insn.
gcc/config/msp430/msp430.md