summaryrefslogtreecommitdiff
path: root/gcc/config/msp430/msp430.md
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-12 18:13:39 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-12 18:13:39 +0000
commitad7f6149f91c2dd8ccdd448bde9159b76fec3032 (patch)
tree8b05aaaf8a4cce541a378bde723580f617ad0ba6 /gcc/config/msp430/msp430.md
parent17ca31e92a0e22806f7ab08e3bd7950fe9d41d6d (diff)
downloadgcc-ad7f6149f91c2dd8ccdd448bde9159b76fec3032.tar.gz
* config/msp430/msp430.md (extendhipsi2): Use 20-bit form of RLAM/RRAM.
(extend_and_shift1_hipsi2): Likewise. (extend_and_shift2_hipsi2): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/msp430/msp430.md')
-rw-r--r--gcc/config/msp430/msp430.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/msp430/msp430.md b/gcc/config/msp430/msp430.md
index ed4eea652f9..991d5797358 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