]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rl78-real.md (addqi3_real): Allow adding global variables to the accumulator.
authorDJ Delorie <dj@redhat.com>
Fri, 15 Aug 2014 02:52:55 +0000 (22:52 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Fri, 15 Aug 2014 02:52:55 +0000 (22:52 -0400)
* config/rl78/rl78-real.md (addqi3_real): Allow adding global
variables to the accumulator.

From-SVN: r213999

gcc/ChangeLog
gcc/config/rl78/rl78-real.md

index 8b3a4bc6bc1a0ceb46bdfa4d870a70783f7f5e26..e7ade949329d04b54f0fb0131189d6e1fabeb6e1 100644 (file)
@@ -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
index 326e703a9699e22adcf5cc319d42e6721da986ad..00b8c9f22ad8176e96c01b0dc0c996c31de3ceed 100644 (file)
@@ -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 ()"
   "@