From: Nick Clifton Date: Wed, 1 Jul 2015 11:35:48 +0000 (+0000) Subject: msp430.md (zero_extendhipsi2): Use MOVX.A to store a 16-bit value into a 20-bit memor... X-Git-Tag: upstream/12.2.0~53824 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85bd3c0150ebbd700a805166833e96a361402251;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index eab90cf..a70facd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-07-01 Nick Clifton + + * config/msp430/msp430.md (zero_extendhipsi2): Use MOVX.A to store + a 16-bit value into a 20-bit memory slot. + 2015-07-01 Jiong Wang * doc/sourcebuild.texi (AArch64-specific attributes): Document 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"