aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2014-08-14 22:52:55 -0400
committerDJ Delorie <dj@gcc.gnu.org>2014-08-14 22:52:55 -0400
commitd50b463e75b1fbfda20d14d7a8c65bcf014ba41f (patch)
treed82a2aba5b422f6d6ee07bf8679a01a3692686c2 /gcc
parent7d73b2cb23715236b621e8aa50a4e09934a25543 (diff)
downloadgcc-d50b463e75b1fbfda20d14d7a8c65bcf014ba41f.zip
gcc-d50b463e75b1fbfda20d14d7a8c65bcf014ba41f.tar.gz
gcc-d50b463e75b1fbfda20d14d7a8c65bcf014ba41f.tar.bz2
rl78-real.md (addqi3_real): Allow adding global variables to the accumulator.
* config/rl78/rl78-real.md (addqi3_real): Allow adding global variables to the accumulator. From-SVN: r213999
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/rl78/rl78-real.md2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8b3a4bc..e7ade94 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -11,6 +11,9 @@
2014-08-14 DJ Delorie <dj@redhat.com>
+ * config/rl78/rl78-real.md (addqi3_real): Allow adding global
+ variables to the accumulator.
+
* config/rl78/predicates.md (rl78_near_mem_operand): New.
* config/rl78/rl78-virt.md (movqi_virt_mm, movqi_virt)
(movhi_virt_mm): Split out near mem-mem moves to avoid problems
diff --git a/gcc/config/rl78/rl78-real.md b/gcc/config/rl78/rl78-real.md
index 326e703..00b8c9f 100644
--- a/gcc/config/rl78/rl78-real.md
+++ b/gcc/config/rl78/rl78-real.md
@@ -99,7 +99,7 @@
(define_insn "*addqi3_real"
[(set (match_operand:QI 0 "nonimmediate_operand" "=rvWabWhlWh1,rvWabWhlWh1,a,*bcdehl")
(plus:QI (match_operand:QI 1 "general_operand" "%0,0,0,0")
- (match_operand:QI 2 "general_operand" "K,L,RWhlWh1i,a")))
+ (match_operand:QI 2 "general_operand" "K,L,RWhlWh1Wabi,a")))
]
"rl78_real_insns_ok ()"
"@