Commit d67e96cf by Richard Henderson Committed by Richard Henderson

i386.md (addqi3_carry): Use q not r constraints.

        * config/i386/i386.md (addqi3_carry): Use q not r constraints.
        (subqi3_carry): Likewise.

From-SVN: r74295
parent 3db1b434
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> 2003-12-04 J"orn Rennecke <joern.rennecke@superh.com>
PR optimization/13260 PR optimization/13260
......
...@@ -4796,10 +4796,10 @@ ...@@ -4796,10 +4796,10 @@
(set_attr "mode" "DI")]) (set_attr "mode" "DI")])
(define_insn "addqi3_carry" (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" "") (plus:QI (plus:QI (match_operand:QI 3 "ix86_carry_flag_operator" "")
(match_operand:QI 1 "nonimmediate_operand" "%0,0")) (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))] (clobber (reg:CC 17))]
"ix86_binary_operator_ok (PLUS, QImode, operands)" "ix86_binary_operator_ok (PLUS, QImode, operands)"
"adc{b}\t{%2, %0|%0, %2}" "adc{b}\t{%2, %0|%0, %2}"
...@@ -6493,10 +6493,10 @@ ...@@ -6493,10 +6493,10 @@
(set_attr "mode" "DI")]) (set_attr "mode" "DI")])
(define_insn "subqi3_carry" (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") (minus:QI (match_operand:QI 1 "nonimmediate_operand" "0,0")
(plus:QI (match_operand:QI 3 "ix86_carry_flag_operator" "") (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))] (clobber (reg:CC 17))]
"ix86_binary_operator_ok (MINUS, QImode, operands)" "ix86_binary_operator_ok (MINUS, QImode, operands)"
"sbb{b}\t{%2, %0|%0, %2}" "sbb{b}\t{%2, %0|%0, %2}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment