Commit ed09481d by Geoffrey Keating Committed by Geoffrey Keating

stormy16.md (udivmodhi4): Express using UDIV/UMOD, not DIV/MOD, of course.

	* config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
	not DIV/MOD, of course.

From-SVN: r45303
parent bc8a5e56
2001-08-30 Geoffrey Keating <geoffk@redhat.com>
* config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
not DIV/MOD, of course.
2001-08-30 Vladimir Makarov <vmakarov@redhat.com> 2001-08-30 Vladimir Makarov <vmakarov@redhat.com>
* rtl.def: Undo my patch commited 2001-08-27. * rtl.def: Undo my patch commited 2001-08-27.
......
...@@ -379,11 +379,11 @@ ...@@ -379,11 +379,11 @@
;; Unsigned division giving both quotient and remainder ;; Unsigned division giving both quotient and remainder
(define_insn "udivmodhi4" (define_insn "udivmodhi4"
[(set (match_operand:HI 0 "register_operand" "=a") [(set (match_operand:HI 0 "register_operand" "=a")
(div:HI (match_operand:HI 1 "register_operand" "a") (udiv:HI (match_operand:HI 1 "register_operand" "a")
(match_operand:HI 2 "register_operand" "c"))) (match_operand:HI 2 "register_operand" "c")))
(set (match_operand:HI 3 "register_operand" "=b") (set (match_operand:HI 3 "register_operand" "=b")
(mod:HI (match_dup 1) (umod:HI (match_dup 1)
(match_dup 2)))] (match_dup 2)))]
"" ""
"div" "div"
[(set_attr "psw_operand" "nop")]) [(set_attr "psw_operand" "nop")])
......
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