diff options
author | DJ Delorie <dj@redhat.com> | 2014-09-12 14:13:39 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2014-09-12 14:13:39 -0400 |
commit | 862edcd15d34694bfa93d4c15dc0c9c93949d968 (patch) | |
tree | 8b05aaaf8a4cce541a378bde723580f617ad0ba6 /gcc | |
parent | 4ee28eb7cea6ebf4713ad1f808d7e5e033ff508a (diff) | |
download | gcc-862edcd15d34694bfa93d4c15dc0c9c93949d968.zip gcc-862edcd15d34694bfa93d4c15dc0c9c93949d968.tar.gz gcc-862edcd15d34694bfa93d4c15dc0c9c93949d968.tar.bz2 |
msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
* config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
(extend_and_shift1_hipsi2): Likewise.
(extend_and_shift2_hipsi2): Likewise.
From-SVN: r215229
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/msp430/msp430.md | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f615146..d30f380 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-09-12 DJ Delorie <dj@redhat.com> + + * config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM. + (extend_and_shift1_hipsi2): Likewise. + (extend_and_shift2_hipsi2): Likewise. + 2014-09-12 David Malcolm <dmalcolm@redhat.com> * config/alpha/alpha.c (alpha_ra_ever_killed): Replace NULL_RTX diff --git a/gcc/config/msp430/msp430.md b/gcc/config/msp430/msp430.md index ed4eea6..991d579 100644 --- a/gcc/config/msp430/msp430.md +++ b/gcc/config/msp430/msp430.md @@ -568,7 +568,7 @@ [(set (match_operand:PSI 0 "nonimmediate_operand" "=r") (subreg:PSI (sign_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0")) 0))] "TARGET_LARGE" - "RLAM #4, %0 { RRAM #4, %0" + "RLAM.A #4, %0 { RRAM.A #4, %0" ) ;; Look for cases where integer/pointer conversions are suboptimal due @@ -596,7 +596,7 @@ (ashift:SI (sign_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0")) (const_int 1)))] "TARGET_LARGE" - "RLAM #4, %0 { RRAM #3, %0" + "RLAM.A #4, %0 { RRAM.A #3, %0" ) (define_insn "extend_and_shift2_hipsi2" @@ -604,7 +604,7 @@ (ashift:SI (sign_extend:SI (match_operand:HI 1 "nonimmediate_operand" "0")) (const_int 2)))] "TARGET_LARGE" - "RLAM #4, %0 { RRAM #2, %0" + "RLAM.A #4, %0 { RRAM.A #2, %0" ) ; Nasty - we are sign-extending a 20-bit PSI value in one register into |