h8300.md (*insv_si_1_n_lshiftrt): Restrict the source operand to those that can be...
authorKazu Hirata <kazu@cs.umass.edu>
Thu, 20 Mar 2003 22:22:35 +0000 (22:22 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Thu, 20 Mar 2003 22:22:35 +0000 (22:22 +0000)
* 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
gcc/config/h8300/h8300.md

index 9ad15c8..a8f7577 100644 (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
index dbe5446..4179754 100644 (file)
        (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")])