i386.md (addqi3_carry): Use q not r constraints.
authorRichard Henderson <rth@redhat.com>
Thu, 4 Dec 2003 20:17:12 +0000 (12:17 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Thu, 4 Dec 2003 20:17:12 +0000 (12:17 -0800)
        * config/i386/i386.md (addqi3_carry): Use q not r constraints.
        (subqi3_carry): Likewise.

From-SVN: r74295

gcc/ChangeLog
gcc/config/i386/i386.md

index 8cd28e7e682df700e1fe471fbd460d418282cb5a..f85c136e73ebdc496ca95e18342bdeb3ca1114c5 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-04  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.md (addqi3_carry): Use q not r constraints.
+       (subqi3_carry): Likewise.
+
 2003-12-04  J"orn Rennecke <joern.rennecke@superh.com>
 
        PR optimization/13260
index 4ef4124c904b851caf7b837e0d7d0fe121a03d37..07f8e46a2dbee8b1816e4450c5ee96c04a2e0ceb 100644 (file)
    (set_attr "mode" "DI")])
 
 (define_insn "addqi3_carry"
-  [(set (match_operand:QI 0 "nonimmediate_operand" "=rm,r")
+  [(set (match_operand:QI 0 "nonimmediate_operand" "=qm,q")
          (plus:QI (plus:QI (match_operand:QI 3 "ix86_carry_flag_operator" "")
                            (match_operand:QI 1 "nonimmediate_operand" "%0,0"))
-                  (match_operand:QI 2 "general_operand" "ri,rm")))
+                  (match_operand:QI 2 "general_operand" "qi,qm")))
    (clobber (reg:CC 17))]
   "ix86_binary_operator_ok (PLUS, QImode, operands)"
   "adc{b}\t{%2, %0|%0, %2}"
    (set_attr "mode" "DI")])
 
 (define_insn "subqi3_carry"
-  [(set (match_operand:QI 0 "nonimmediate_operand" "=rm,r")
+  [(set (match_operand:QI 0 "nonimmediate_operand" "=qm,q")
          (minus:QI (match_operand:QI 1 "nonimmediate_operand" "0,0")
            (plus:QI (match_operand:QI 3 "ix86_carry_flag_operator" "")
-              (match_operand:QI 2 "general_operand" "ri,rm"))))
+              (match_operand:QI 2 "general_operand" "qi,qm"))))
    (clobber (reg:CC 17))]
   "ix86_binary_operator_ok (MINUS, QImode, operands)"
   "sbb{b}\t{%2, %0|%0, %2}"