Commit 8f808fc2 by Paul Koning Committed by Paul Koning

* config/pdp11/pdp11.md (divhi3, modhi3, divmodhi3): Fix ICE.

From-SVN: r166075
parent 9546fe6a
2010-10-29 Paul Koning <ni1d@arrl.net> 2010-10-29 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.md (divhi3, modhi3, divmodhi3): Fix ICE.
2010-10-29 Paul Koning <ni1d@arrl.net>
PR/41822 PR/41822
* config/pdp11/pdp11.md (andhi3, andqi3): Fix wrong code error. * config/pdp11/pdp11.md (andhi3, andqi3): Fix wrong code error.
...@@ -1418,9 +1418,9 @@ ...@@ -1418,9 +1418,9 @@
(define_expand "divhi3" (define_expand "divhi3"
[(set (subreg:HI (match_dup 1) 0) [(set (subreg:HI (match_dup 1) 0)
(div:HI (match_operand:SI 1 "general_operand" "0") (div:HI (match_operand:SI 1 "register_operand" "0")
(match_operand:HI 2 "general_operand" "g"))) (match_operand:HI 2 "general_operand" "g")))
(set (match_operand:HI 0 "general_operand" "=r") (set (match_operand:HI 0 "register_operand" "=r")
(subreg:HI (match_dup 1) 0))] (subreg:HI (match_dup 1) 0))]
"TARGET_40_PLUS" "TARGET_40_PLUS"
"") "")
...@@ -1435,9 +1435,9 @@ ...@@ -1435,9 +1435,9 @@
(define_expand "modhi3" (define_expand "modhi3"
[(set (subreg:HI (match_dup 1) 2) [(set (subreg:HI (match_dup 1) 2)
(mod:HI (match_operand:SI 1 "general_operand" "0") (mod:HI (match_operand:SI 1 "register_operand" "0")
(match_operand:HI 2 "general_operand" "g"))) (match_operand:HI 2 "general_operand" "g")))
(set (match_operand:HI 0 "general_operand" "=r") (set (match_operand:HI 0 "register_operand" "=r")
(subreg:HI (match_dup 1) 2))] (subreg:HI (match_dup 1) 2))]
"TARGET_40_PLUS" "TARGET_40_PLUS"
"") "")
...@@ -1452,14 +1452,14 @@ ...@@ -1452,14 +1452,14 @@
;(define_expand "divmodhi4" ;(define_expand "divmodhi4"
; [(parallel [(set (subreg:HI (match_dup 1) 0) ; [(parallel [(set (subreg:HI (match_dup 1) 0)
; (div:HI (match_operand:SI 1 "general_operand" "0") ; (div:HI (match_operand:SI 1 "register_operand" "0")
; (match_operand:HI 2 "general_operand" "g"))) ; (match_operand:HI 2 "general_operand" "g")))
; (set (subreg:HI (match_dup 1) 2) ; (set (subreg:HI (match_dup 1) 2)
; (mod:HI (match_dup 1) ; (mod:HI (match_dup 1)
; (match_dup 2)))]) ; (match_dup 2)))])
; (set (match_operand:HI 3 "general_operand" "=r") ; (set (match_operand:HI 3 "register_operand" "=r")
; (subreg:HI (match_dup 1) 2)) ; (subreg:HI (match_dup 1) 2))
; (set (match_operand:HI 0 "general_operand" "=r") ; (set (match_operand:HI 0 "register_operand" "=r")
; (subreg:HI (match_dup 1) 0))] ; (subreg:HI (match_dup 1) 0))]
; "TARGET_40_PLUS" ; "TARGET_40_PLUS"
; "") ; "")
......
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