sh.md (cmpeqsi_t-1): Use logical_operand predicate for operand 1.
authorKaushik Phatak <kaushik.phatak@kpitcummins.com>
Sat, 21 Nov 2009 22:51:07 +0000 (22:51 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Sat, 21 Nov 2009 22:51:07 +0000 (22:51 +0000)
* config/sh/sh.md (cmpeqsi_t-1): Use logical_operand predicate
for operand 1.

From-SVN: r154412

gcc/ChangeLog
gcc/config/sh/sh.md

index 20a2d09c31aa9cd504fbf47aafd386c8000c87b0..b34a81fb21e866877e657f758dbb59ec013af59b 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-21  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+
+       * config/sh/sh.md (cmpeqsi_t-1): Use logical_operand predicate
+       for operand 1.
+
 2009-11-21  Adam Nemet  <adambnemet@gmail.com>
 
        * config/mips/mips-protos.h (mulsidi3_gen_fn): New typedef.
index 7fa634777b33f3979a4a0c3482ea9eff5dce7d64..4318c702b4285eae4450be62cd53ccbb3e591ce1 100644 (file)
 (define_insn ""
   [(set (reg:SI T_REG)
        (eq:SI (and:SI (match_operand:SI 0 "arith_reg_operand" "z,r")
-                      (match_operand:SI 1 "arith_operand" "K08,r"))
+                      (match_operand:SI 1 "logical_operand" "K08,r"))
               (const_int 0)))]
   "TARGET_SH1"
   "tst %1,%0"