aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2005-06-11 19:07:05 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2005-06-11 15:07:05 -0400
commit1fa5c70974c297a42a550aa776c6a47f645459e5 (patch)
treec5837bfcb3c576feed3feabb46117fd5c99ff56d /gcc
parente4d693c1c2779987e12feafc1f562ed06e4ff9b4 (diff)
downloadgcc-1fa5c70974c297a42a550aa776c6a47f645459e5.zip
gcc-1fa5c70974c297a42a550aa776c6a47f645459e5.tar.gz
gcc-1fa5c70974c297a42a550aa776c6a47f645459e5.tar.bz2
* config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.
From-SVN: r100841
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000.md18
2 files changed, 13 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 87a50ca..982504b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-06-11 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.md (eq<mode>_compare): Restrict to Pmode.
+
2005-06-11 Daniel Berlin <dberlin@dberlin.org>
* lambda-code.c (replace_uses_equiv_to_x_with_y): Verify the step
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index ead5f03..6b72b56 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -11506,23 +11506,23 @@
(define_insn_and_split "*eq<mode>_compare"
[(set (match_operand:CC 5 "cc_reg_operand" "=y")
(compare:CC
- (eq:GPR (match_operand:GPR 1 "gpc_reg_operand" "=r")
- (match_operand:GPR 2 "scc_eq_operand" "<scc_eq_op2>"))
+ (eq:P (match_operand:P 1 "gpc_reg_operand" "=r")
+ (match_operand:P 2 "scc_eq_operand" "<scc_eq_op2>"))
(const_int 0)))
- (set (match_operand:GPR 0 "gpc_reg_operand" "=r")
- (eq:GPR (match_dup 1) (match_dup 2)))
- (clobber (match_scratch:GPR 3 "=r"))
- (clobber (match_scratch:GPR 4 "=r"))]
+ (set (match_operand:P 0 "gpc_reg_operand" "=r")
+ (eq:P (match_dup 1) (match_dup 2)))
+ (clobber (match_scratch:P 3 "=r"))
+ (clobber (match_scratch:P 4 "=r"))]
""
"#"
"reload_completed"
[(set (match_dup 3)
- (clz:GPR (match_dup 4)))
+ (clz:P (match_dup 4)))
(parallel [(set (match_dup 5)
- (compare:CC (lshiftrt:GPR (match_dup 3) (match_dup 6))
+ (compare:CC (lshiftrt:P (match_dup 3) (match_dup 6))
(const_int 0)))
(set (match_dup 0)
- (lshiftrt:GPR (match_dup 3) (match_dup 6)))])]
+ (lshiftrt:P (match_dup 3) (match_dup 6)))])]
{
if (GET_CODE (operands[2]) != CONST_INT || INTVAL (operands[2]) != 0)
{