aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranz Sirl <Franz.Sirl-kernel@lauterbach.com>2001-05-04 23:28:00 +0000
committerFranz Sirl <sirl@gcc.gnu.org>2001-05-04 23:28:00 +0000
commit4264cf59cfd4f563445e36c126658541558acab6 (patch)
tree520953c895d60fd9d5023f4e76bf7035b6e38c35
parent39cc8df7a991ed16e8afd304466aa4b618a8ed5d (diff)
downloadgcc-4264cf59cfd4f563445e36c126658541558acab6.zip
gcc-4264cf59cfd4f563445e36c126658541558acab6.tar.gz
gcc-4264cf59cfd4f563445e36c126658541558acab6.tar.bz2
rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.
2000-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64. From-SVN: r41852
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.md10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 308d07e..277e58f2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-04 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+ * config/rs6000/rs6000.md (ashldi3 splits): Guard with TARGET_POWERPC64.
+
2001-05-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* config/m68hc11/m68hc11.md (lshrhi3_const1): Fix shift of
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index c86ec20..549f77b 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -6727,7 +6727,7 @@
(and:DI (ashift:DI (match_operand:DI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "const_int_operand" "i"))
(match_operand:DI 3 "rldic_operand" "n")))]
- "includes_lshift64_p (operands[2], operands[3])"
+ "TARGET_POWERPC64 && includes_lshift64_p (operands[2], operands[3])"
"rldic %0,%1,%H2,%W3")
(define_insn "ashldi3_internal5"
@@ -6738,7 +6738,7 @@
(match_operand:DI 3 "rldic_operand" "n,n"))
(const_int 0)))
(clobber (match_scratch:DI 4 "=r,r"))]
- "includes_lshift64_p (operands[2], operands[3])"
+ "TARGET_POWERPC64 && includes_lshift64_p (operands[2], operands[3])"
"@
rldic. %4,%1,%H2,%W3
#"
@@ -6753,7 +6753,7 @@
(match_operand:DI 3 "rldic_operand" ""))
(const_int 0)))
(clobber (match_scratch:DI 4 ""))]
- "includes_lshift64_p (operands[2], operands[3]) && reload_completed"
+ "TARGET_POWERPC64 && includes_lshift64_p (operands[2], operands[3]) && reload_completed"
[(set (match_dup 4)
(and:DI (ashift:DI (match_dup 1) (match_dup 2))
(match_dup 3)))
@@ -6771,7 +6771,7 @@
(const_int 0)))
(set (match_operand:DI 0 "gpc_reg_operand" "=r,r")
(and:DI (ashift:DI (match_dup 1) (match_dup 2)) (match_dup 3)))]
- "includes_lshift64_p (operands[2], operands[3])"
+ "TARGET_POWERPC64 && includes_lshift64_p (operands[2], operands[3])"
"@
rldic. %0,%1,%H2,%W3
#"
@@ -6787,7 +6787,7 @@
(const_int 0)))
(set (match_operand:DI 0 "gpc_reg_operand" "")
(and:DI (ashift:DI (match_dup 1) (match_dup 2)) (match_dup 3)))]
- "includes_lshift64_p (operands[2], operands[3]) && reload_completed"
+ "TARGET_POWERPC64 && includes_lshift64_p (operands[2], operands[3]) && reload_completed"
[(set (match_dup 0)
(and:DI (ashift:DI (match_dup 1) (match_dup 2))
(match_dup 3)))