[AArch64] Use logics_imm type for 2nd alternative of *and<mode>3nr_compare0
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Thu, 10 Sep 2015 09:10:06 +0000 (09:10 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Thu, 10 Sep 2015 09:10:06 +0000 (09:10 +0000)
* config/aarch64/aarch64.md (*and<mode>3nr_compare0): Use logics_imm
type for second alternative.

From-SVN: r227623

gcc/ChangeLog
gcc/config/aarch64/aarch64.md

index 0e3886982668b8d150d389994f490be77124cca4..d32e483d8120d4033982b6d7b07715aa509f1b64 100644 (file)
@@ -1,3 +1,8 @@
+2015-09-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/aarch64/aarch64.md (*and<mode>3nr_compare0): Use logics_imm
+       type for second alternative.
+
 2015-09-10  Markus Trippelsdorf  <markus@trippelsdorf.de>
 
        * doc/invoke.texi (Downloading GCC): Mention
index 594bef005c669bbe8960e7cdd8c8bbb119b69b85..b6a6c343cba3b0f690d176f61336d3c659c1b96f 100644 (file)
         (const_int 0)))]
   ""
   "tst\\t%<w>0, %<w>1"
-  [(set_attr "type" "logics_reg")]
+  [(set_attr "type" "logics_reg,logics_imm")]
 )
 
 (define_insn "*and_<SHIFT:optab><mode>3nr_compare0"