pdp11.md (various): Fix conditions on a number of insn to check for target 11/40...
authorPaul Koning <ni1d@arrl.net>
Thu, 21 Oct 2010 01:01:22 +0000 (21:01 -0400)
committerPaul Koning <pkoning@gcc.gnu.org>
Thu, 21 Oct 2010 01:01:22 +0000 (21:01 -0400)
* config/pdp11/pdp11.md (various): Fix conditions on a number of
insn to check for target 11/40 or higher.

From-SVN: r165747

gcc/ChangeLog
gcc/config/pdp11/pdp11.md

index f472aee..890b157 100644 (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>
 
        * parser.c (c_parser_objc_method_type): Mark inline.  Return a
index 9ef1c4f..d1b4306 100644 (file)
   [(set (match_operand:SI 0 "register_operand" "=r,r")
        (ashift:SI (match_operand:SI 1 "register_operand" "0,0")
                   (match_operand:HI 2 "general_operand" "rR,Qi")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "ashc %2,%0"
   [(set_attr "length" "1,2")])
 
   [(set (match_operand:HI 0 "register_operand" "=r,r")
        (ashift:HI (match_operand:HI 1 "register_operand" "0,0")
                   (match_operand:HI 2 "general_operand" "rR,Qi")))]
-  ""
+  "TARGET_40_PLUS"
   "*
 {
   if (GET_CODE(operands[2]) == CONST_INT)
   [(set (match_operand:HI 0 "register_operand" "=d,d") ; multiply regs
        (mult:HI (match_operand:HI 1 "register_operand" "%0,0")
                 (match_operand:HI 2 "general_operand" "rR,Qi")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "mul %2, %0"
   [(set_attr "length" "1,2")])
 
        (mult:SI (truncate:HI 
                   (match_dup 0))
                 (match_operand:HI 2 "general_operand" "rR,Qi")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "operands[3] = gen_lowpart(HImode, operands[1]);")
 
 (define_insn ""
        (mult:SI (truncate:HI 
                   (match_operand:SI 1 "register_operand" "%0,0"))
                 (match_operand:HI 2 "general_operand" "rR,Qi")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "mul %2, %0"
   [(set_attr "length" "1,2")])
 
 ;      (mult:SI (truncate:HI 
 ;                  (match_operand:SI 1 "register_operand" "%0,0"))
 ;               (match_operand:HI 2 "general_operand" "rR,Qi")))]
-;  "TARGET_45"
+;  "TARGET_40_PLUS"
 ;  "mul %2, %0"
 ;  [(set_attr "length" "1,2")])
 
                (match_operand:HI 2 "general_operand" "g")))
    (set (match_operand:HI 0 "general_operand" "=r")
         (subreg:HI (match_dup 1) 0))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "")
 
 (define_insn ""
   [(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 0)
        (div:HI (match_operand:SI 1 "general_operand" "0")
                (match_operand:HI 2 "general_operand" "g")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "div %2,%0"
   [(set_attr "length" "2")])
 
                (match_operand:HI 2 "general_operand" "g")))
    (set (match_operand:HI 0 "general_operand" "=r")
         (subreg:HI (match_dup 1) 2))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "")
 
 (define_insn ""
   [(set (subreg:HI (match_operand:SI 0 "general_operand" "=r") 2)
        (mod:HI (match_operand:SI 1 "general_operand" "0")
                (match_operand:HI 2 "general_operand" "g")))]
-  "TARGET_45"
+  "TARGET_40_PLUS"
   "div %2,%0"
   [(set_attr "length" "2")])
 
 ;        (subreg:HI (match_dup 1) 2))
 ;   (set (match_operand:HI 0 "general_operand" "=r")
 ;        (subreg:HI (match_dup 1) 0))]
-;  "TARGET_45"
+;  "TARGET_40_PLUS"
 ;  "")
 ;
 ;(define_insn ""
 ;   (set (subreg:HI (match_dup 0) 2)
 ;                 (mod:HI (match_dup 1)
 ;                         (match_dup 2)))]
-;  "TARGET_45"
+;  "TARGET_40_PLUS"
 ;  "div %2, %0")
 ;