summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-19 18:41:27 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2002-11-19 18:41:27 +0000
commit5902a563f79c6d042eba83bd08ff99b0d560e9d6 (patch)
treeb868c817548fddbf89eda9c7bb0c6a9b700ed407
parentc721f167f1a9e058b46589de3514689551f05784 (diff)
downloadppe42-gcc-5902a563f79c6d042eba83bd08ff99b0d560e9d6.tar.gz
ppe42-gcc-5902a563f79c6d042eba83bd08ff99b0d560e9d6.zip
* config/h8300/h8300.md (an anonymous pattern): Relax the
condition to accept the same operands and/or subregs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59270 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 31e3bbbd830..d4524619f98 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (an anonymous pattern): Relax the
+ condition to accept the same operands and/or subregs.
+
2002-11-19 Daniel Jacobowitz <drow@mvista.com>
* config/sh/sh.c (gen_shl_and): Revert previous patch.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 82cfabdd726..6c7c26dc569 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2163,9 +2163,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
- "REG_P (operands[0])
- && REG_P (operands[1])
- && REGNO (operands[0]) != REGNO (operands[1])"
+ ""
"or\\t%X1,%w0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])
OpenPOWER on IntegriCloud