diff options
author | Nick Clifton <nickc@redhat.com> | 2015-07-01 11:35:48 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2015-07-01 11:35:48 +0000 |
commit | 85bd3c0150ebbd700a805166833e96a361402251 (patch) | |
tree | 76858667d1ffa2c3af94fa13b696819d35d8cd5f /gcc/config | |
parent | a31dc4e516d2816c6be4c5f7329718223fced1e3 (diff) | |
download | gcc-85bd3c0150ebbd700a805166833e96a361402251.zip gcc-85bd3c0150ebbd700a805166833e96a361402251.tar.gz gcc-85bd3c0150ebbd700a805166833e96a361402251.tar.bz2 |
msp430.md (zero_extendhipsi2): Use MOVX.A to store a 16-bit value into a 20-bit memory slot.
* config/msp430/msp430.md (zero_extendhipsi2): Use MOVX.A to store
a 16-bit value into a 20-bit memory slot.
From-SVN: r225240
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/msp430/msp430.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/msp430/msp430.md b/gcc/config/msp430/msp430.md index ad8fb7a..45e5422 100644 --- a/gcc/config/msp430/msp430.md +++ b/gcc/config/msp430/msp430.md @@ -572,7 +572,9 @@ [(set (match_operand:PSI 0 "msp_nonimmediate_operand" "=r,m") (zero_extend:PSI (match_operand:HI 1 "msp_nonimmediate_operand" "rm,r")))] "" - "MOVX\t%1, %0" + "@ + MOVX\t%1, %0 + MOVX.A\t%1, %0" ) (define_insn "truncpsihi2" |