From 86a36a0ecd4bc66a338bbac2f62a7757ed1a4fd4 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Thu, 20 Mar 2003 22:22:35 +0000 Subject: [PATCH] h8300.md (*insv_si_1_n_lshiftrt): Restrict the source operand to those that can be extracted with bld. * config/h8300/h8300.md (*insv_si_1_n_lshiftrt): Restrict the source operand to those that can be extracted with bld. From-SVN: r64627 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ad15c8f8a90..a8f7577b722a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-20 Kazu Hirata + + * 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 PR 10066 diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md index dbe5446c5ea8..417975405d1d 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")]) -- 2.47.3