Commit bb157ff4 by David Edelsohn Committed by David Edelsohn

rs6000.md (divmodsi4): Use register_operand predicate for mod result.

        * config/rs6000/rs6000.md (divmodsi4): Use register_operand
        predicate for mod result.

From-SVN: r62714
parent 74db1461
2003-02-11 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.md (divmodsi4): Use register_operand
predicate for mod result.
Tue Feb 11 20:44:45 CET 2003 Jan Hubicka <jh@suse.cz>
* emit-rtl.c (emit_copy_of_insn_after): Copy insn recog cache too.
......
......@@ -2573,7 +2573,7 @@
[(parallel [(set (match_operand:SI 0 "gpc_reg_operand" "")
(div:SI (match_operand:SI 1 "gpc_reg_operand" "")
(match_operand:SI 2 "gpc_reg_operand" "")))
(set (match_operand:SI 3 "gpc_reg_operand" "")
(set (match_operand:SI 3 "register_operand" "")
(mod:SI (match_dup 1) (match_dup 2)))])]
"TARGET_POWER || (! TARGET_POWER && ! TARGET_POWERPC)"
"
......@@ -2589,11 +2589,11 @@
}
}")
(define_insn ""
(define_insn "*divmodsi4_internal"
[(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(div:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "gpc_reg_operand" "r")))
(set (match_operand:SI 3 "gpc_reg_operand" "=q")
(set (match_operand:SI 3 "register_operand" "=q")
(mod:SI (match_dup 1) (match_dup 2)))]
"TARGET_POWER"
"divs %0,%1,%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