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
This commit is contained in:
Richard Henderson 2003-12-04 12:17:12 -08:00 committed by Richard Henderson
parent 3db1b43486
commit d67e96cfbb
2 changed files with 9 additions and 4 deletions

View 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

View File

@ -4796,10 +4796,10 @@
(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}"
@ -6493,10 +6493,10 @@
(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}"