Commit 31b23f22 by Richard Kenner

(cmpdi): Change patterns to allocate scratch register at RTL generation time.

(tstdi): Likewise.

From-SVN: r10307
parent 023c7f63
......@@ -286,14 +286,14 @@
[(parallel
[(set (cc0)
(match_operand:DI 0 "nonimmediate_operand" "d"))
(clobber (scratch:DI))])]
(clobber (match_dup 1))])]
""
"")
"operands[1] = gen_reg_rtx (DImode);")
(define_insn ""
[(set (cc0)
(match_operand:DI 1 "nonimmediate_operand" "0"))
(clobber (match_scratch:DI 0 "=d"))]
(clobber (match_operand:DI 0 "register_operand" "=d"))]
""
"*
{
......@@ -409,15 +409,15 @@
[(set (cc0)
(compare (match_operand:DI 0 "nonimmediate_operand" "")
(match_operand:DI 1 "general_operand" "")))
(clobber (scratch:DI))])]
(clobber (match_dup 2))])]
""
"")
"operands[2] = gen_reg_rtx (DImode);")
(define_insn ""
[(set (cc0)
(compare (match_operand:DI 1 "nonimmediate_operand" "0,d")
(match_operand:DI 2 "general_operand" "d,0")))
(clobber (match_scratch:DI 0 "=d,d"))]
(clobber (match_operand:DI 0 "register_operand" "=d,d"))]
""
"*
{
......
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