Minor optimization. Committed. * config/rl78/rl78-real.md (addqi3_real): Allow adding global variables to the accumulator.
Index: config/rl78/rl78-real.md =================================================================== --- config/rl78/rl78-real.md (revision 213996) +++ config/rl78/rl78-real.md (working copy) @@ -96,13 +96,13 @@ ;;---------- Arithmetic ------------------------ (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 ()" "@ inc\t%0 dec\t%0 add\t%0, %2