aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaul Koning <ni1d@arrl.net>2010-10-20 21:01:22 -0400
committerPaul Koning <pkoning@gcc.gnu.org>2010-10-20 21:01:22 -0400
commitb56f8e7c2adbbb60bbb3aef976dc6ebb22810f22 (patch)
treef5366804ab05bf96f6adb92ccab64240b47e44f1 /gcc
parentcea59acecf9a1c61c53653375cef103ef6d6d143 (diff)
downloadgcc-b56f8e7c2adbbb60bbb3aef976dc6ebb22810f22.zip
gcc-b56f8e7c2adbbb60bbb3aef976dc6ebb22810f22.tar.gz
gcc-b56f8e7c2adbbb60bbb3aef976dc6ebb22810f22.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/pdp11/pdp11.md24
2 files changed, 17 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f472aee..890b157 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/pdp11/pdp11.md b/gcc/config/pdp11/pdp11.md
index 9ef1c4f..d1b4306 100644
--- a/gcc/config/pdp11/pdp11.md
+++ b/gcc/config/pdp11/pdp11.md
@@ -980,7 +980,7 @@
[(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")])
@@ -1141,7 +1141,7 @@
[(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)
@@ -1369,7 +1369,7 @@
[(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")])
@@ -1381,7 +1381,7 @@
(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 ""
@@ -1389,7 +1389,7 @@
(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")])
@@ -1398,7 +1398,7 @@
; (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")])
@@ -1418,14 +1418,14 @@
(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")])
@@ -1435,14 +1435,14 @@
(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")])
@@ -1457,7 +1457,7 @@
; (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 ""
@@ -1467,7 +1467,7 @@
; (set (subreg:HI (match_dup 0) 2)
; (mod:HI (match_dup 1)
; (match_dup 2)))]
-; "TARGET_45"
+; "TARGET_40_PLUS"
; "div %2, %0")
;