aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2015-09-10 09:10:06 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2015-09-10 09:10:06 +0000
commit1d70b92048ad9136c4c1e3b140ae1d598b6010fb (patch)
tree8ee6a11a007df8eda1499f4ef71b2648150d2f04
parentcce7bb9dd2939853711c7614cebe61b4fceb01dd (diff)
downloadgcc-1d70b92048ad9136c4c1e3b140ae1d598b6010fb.zip
gcc-1d70b92048ad9136c4c1e3b140ae1d598b6010fb.tar.gz
gcc-1d70b92048ad9136c4c1e3b140ae1d598b6010fb.tar.bz2
[AArch64] Use logics_imm type for 2nd alternative of *and<mode>3nr_compare0
* config/aarch64/aarch64.md (*and<mode>3nr_compare0): Use logics_imm type for second alternative. From-SVN: r227623
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0e38869..d32e483 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 594bef0..b6a6c34 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -3557,7 +3557,7 @@
(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"