summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-20 22:22:35 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-03-20 22:22:35 +0000
commitfe5feb6ec61f70a3403104f04201e07e26a63bc5 (patch)
tree3e2cbadc6b044f9d20ac3ada3f86644d1989b902
parent2c96dc5a0a5237e423ee4d76203926ddb96e572c (diff)
downloadppe42-gcc-fe5feb6ec61f70a3403104f04201e07e26a63bc5.tar.gz
ppe42-gcc-fe5feb6ec61f70a3403104f04201e07e26a63bc5.zip
* config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
source operand to those that can be extracted with bld. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64627 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ad15c8f8a9..a8f7577b722 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-20 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the
+ source operand to those that can be extracted with bld.
+
2003-03-20 Richard Earnshaw <rearnsha@arm.com>
PR 10066
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index dbe5446c5ea..417975405d1 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2663,7 +2663,8 @@
(lshiftrt:SI (match_operand:SI 2 "register_operand" "r")
(match_operand:SI 3 "const_int_operand" "n")))]
"(TARGET_H8300H || TARGET_H8300S)
- && INTVAL (operands[1]) < 16"
+ && INTVAL (operands[1]) < 16
+ && INTVAL (operands[3]) < 16"
"bld\\t%Z3,%Y2\;bst\\t%Z1,%Y0"
[(set_attr "cc" "clobber")
(set_attr "length" "4")])
OpenPOWER on IntegriCloud