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
This commit is contained in:
Kazu Hirata 2003-03-20 22:22:35 +00:00 committed by Kazu Hirata
parent 228692e24f
commit 86a36a0ecd
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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")])