msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
authorDJ Delorie <dj@redhat.com>
Fri, 12 Sep 2014 18:13:39 +0000 (14:13 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 12 Sep 2014 18:13:39 +0000 (14:13 -0400)
* 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

gcc/ChangeLog
gcc/config/msp430/msp430.md

index f615146a5fb86a998df259bca3e589ee1085e995..d30f380de392a44ebc6d669f8cab4a6d839bcde7 100644 (file)
@@ -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
index ed4eea652f9c63ed2f4b8367719e684943335d7a..991d579735890784adfbc0336c7b9c82afee4167 100644 (file)
   [(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
        (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"
        (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