pdp11.md (various): Fix conditions on a number of insn to check for target 11/40 or higher.

* config/pdp11/pdp11.md (various): Fix conditions on a number of
insn to check for target 11/40 or higher.

From-SVN: r165747
This commit is contained in:
Paul Koning 2010-10-20 21:01:22 -04:00 committed by Paul Koning
parent cea59acecf
commit b56f8e7c2a
2 changed files with 17 additions and 12 deletions

View File

@ -1,3 +1,8 @@
2010-10-20 Paul Koning <ni1d@arrl.net>
* config/pdp11/pdp11.md (various): Fix conditions on a number of
insn to check for target 11/40 or higher.
2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com> 2010-10-20 Nicola Pero <nicola.pero@meta-innovation.com>
* parser.c (c_parser_objc_method_type): Mark inline. Return a * parser.c (c_parser_objc_method_type): Mark inline. Return a

View File

@ -980,7 +980,7 @@
[(set (match_operand:SI 0 "register_operand" "=r,r") [(set (match_operand:SI 0 "register_operand" "=r,r")
(ashift:SI (match_operand:SI 1 "register_operand" "0,0") (ashift:SI (match_operand:SI 1 "register_operand" "0,0")
(match_operand:HI 2 "general_operand" "rR,Qi")))] (match_operand:HI 2 "general_operand" "rR,Qi")))]
"TARGET_45" "TARGET_40_PLUS"
"ashc %2,%0" "ashc %2,%0"
[(set_attr "length" "1,2")]) [(set_attr "length" "1,2")])
@ -1141,7 +1141,7 @@
[(set (match_operand:HI 0 "register_operand" "=r,r") [(set (match_operand:HI 0 "register_operand" "=r,r")
(ashift:HI (match_operand:HI 1 "register_operand" "0,0") (ashift:HI (match_operand:HI 1 "register_operand" "0,0")
(match_operand:HI 2 "general_operand" "rR,Qi")))] (match_operand:HI 2 "general_operand" "rR,Qi")))]
"" "TARGET_40_PLUS"
"* "*
{ {
if (GET_CODE(operands[2]) == CONST_INT) if (GET_CODE(operands[2]) == CONST_INT)
@ -1369,7 +1369,7 @@
[(set (match_operand:HI 0 "register_operand" "=d,d") ; multiply regs [(set (match_operand:HI 0 "register_operand" "=d,d") ; multiply regs
(mult:HI (match_operand:HI 1 "register_operand" "%0,0") (mult:HI (match_operand:HI 1 "register_operand" "%0,0")
(match_operand:HI 2 "general_operand" "rR,Qi")))] (match_operand:HI 2 "general_operand" "rR,Qi")))]
"TARGET_45" "TARGET_40_PLUS"
"mul %2, %0" "mul %2, %0"
[(set_attr "length" "1,2")]) [(set_attr "length" "1,2")])
@ -1381,7 +1381,7 @@
(mult:SI (truncate:HI (mult:SI (truncate:HI
(match_dup 0)) (match_dup 0))
(match_operand:HI 2 "general_operand" "rR,Qi")))] (match_operand:HI 2 "general_operand" "rR,Qi")))]
"TARGET_45" "TARGET_40_PLUS"
"operands[3] = gen_lowpart(HImode, operands[1]);") "operands[3] = gen_lowpart(HImode, operands[1]);")
(define_insn "" (define_insn ""
@ -1389,7 +1389,7 @@
(mult:SI (truncate:HI (mult:SI (truncate:HI
(match_operand:SI 1 "register_operand" "%0,0")) (match_operand:SI 1 "register_operand" "%0,0"))
(match_operand:HI 2 "general_operand" "rR,Qi")))] (match_operand:HI 2 "general_operand" "rR,Qi")))]
"TARGET_45" "TARGET_40_PLUS"
"mul %2, %0" "mul %2, %0"
[(set_attr "length" "1,2")]) [(set_attr "length" "1,2")])
@ -1398,7 +1398,7 @@
; (mult:SI (truncate:HI ; (mult:SI (truncate:HI
; (match_operand:SI 1 "register_operand" "%0,0")) ; (match_operand:SI 1 "register_operand" "%0,0"))
; (match_operand:HI 2 "general_operand" "rR,Qi")))] ; (match_operand:HI 2 "general_operand" "rR,Qi")))]
; "TARGET_45" ; "TARGET_40_PLUS"
; "mul %2, %0" ; "mul %2, %0"
; [(set_attr "length" "1,2")]) ; [(set_attr "length" "1,2")])
@ -1418,14 +1418,14 @@
(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 "general_operand" "=r")
(subreg:HI (match_dup 1) 0))] (subreg:HI (match_dup 1) 0))]
"TARGET_45" "TARGET_40_PLUS"
"") "")
(define_insn "" (define_insn ""
[(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 0) [(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 0)
(div:HI (match_operand:SI 1 "general_operand" "0") (div:HI (match_operand:SI 1 "general_operand" "0")
(match_operand:HI 2 "general_operand" "g")))] (match_operand:HI 2 "general_operand" "g")))]
"TARGET_45" "TARGET_40_PLUS"
"div %2,%0" "div %2,%0"
[(set_attr "length" "2")]) [(set_attr "length" "2")])
@ -1435,14 +1435,14 @@
(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 "general_operand" "=r")
(subreg:HI (match_dup 1) 2))] (subreg:HI (match_dup 1) 2))]
"TARGET_45" "TARGET_40_PLUS"
"") "")
(define_insn "" (define_insn ""
[(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 2) [(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 2)
(mod:HI (match_operand:SI 1 "general_operand" "0") (mod:HI (match_operand:SI 1 "general_operand" "0")
(match_operand:HI 2 "general_operand" "g")))] (match_operand:HI 2 "general_operand" "g")))]
"TARGET_45" "TARGET_40_PLUS"
"div %2,%0" "div %2,%0"
[(set_attr "length" "2")]) [(set_attr "length" "2")])
@ -1457,7 +1457,7 @@
; (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 "general_operand" "=r")
; (subreg:HI (match_dup 1) 0))] ; (subreg:HI (match_dup 1) 0))]
; "TARGET_45" ; "TARGET_40_PLUS"
; "") ; "")
; ;
;(define_insn "" ;(define_insn ""
@ -1467,7 +1467,7 @@
; (set (subreg:HI (match_dup 0) 2) ; (set (subreg:HI (match_dup 0) 2)
; (mod:HI (match_dup 1) ; (mod:HI (match_dup 1)
; (match_dup 2)))] ; (match_dup 2)))]
; "TARGET_45" ; "TARGET_40_PLUS"
; "div %2, %0") ; "div %2, %0")
; ;