diff options
author | Paul Koning <ni1d@arrl.net> | 2010-10-29 16:38:04 -0400 |
---|---|---|
committer | Paul Koning <pkoning@gcc.gnu.org> | 2010-10-29 16:38:04 -0400 |
commit | 8f808fc2779fe2888f478b37c68824cfa18eb3f9 (patch) | |
tree | 5da2759129d5db08a95ff769d852d7bbfea94244 /gcc/config | |
parent | 9546fe6a54c050fd0728aeb1dd4bcef4b5d4bff4 (diff) | |
download | gcc-8f808fc2779fe2888f478b37c68824cfa18eb3f9.zip gcc-8f808fc2779fe2888f478b37c68824cfa18eb3f9.tar.gz gcc-8f808fc2779fe2888f478b37c68824cfa18eb3f9.tar.bz2 |
* config/pdp11/pdp11.md (divhi3, modhi3, divmodhi3): Fix ICE.
From-SVN: r166075
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/pdp11/pdp11.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/pdp11/pdp11.md b/gcc/config/pdp11/pdp11.md index 9cb4ef14..4c8cd8e 100644 --- a/gcc/config/pdp11/pdp11.md +++ b/gcc/config/pdp11/pdp11.md @@ -1418,9 +1418,9 @@ (define_expand "divhi3" [(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"))) - (set (match_operand:HI 0 "general_operand" "=r") + (set (match_operand:HI 0 "register_operand" "=r") (subreg:HI (match_dup 1) 0))] "TARGET_40_PLUS" "") @@ -1435,9 +1435,9 @@ (define_expand "modhi3" [(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"))) - (set (match_operand:HI 0 "general_operand" "=r") + (set (match_operand:HI 0 "register_operand" "=r") (subreg:HI (match_dup 1) 2))] "TARGET_40_PLUS" "") @@ -1452,14 +1452,14 @@ ;(define_expand "divmodhi4" ; [(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"))) ; (set (subreg:HI (match_dup 1) 2) ; (mod:HI (match_dup 1) ; (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)) -; (set (match_operand:HI 0 "general_operand" "=r") +; (set (match_operand:HI 0 "register_operand" "=r") ; (subreg:HI (match_dup 1) 0))] ; "TARGET_40_PLUS" ; "") |