This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][AArch64] Fix type of *<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3 pattern
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 01 Jun 2015 10:11:59 +0100
- Subject: [PATCH][AArch64] Fix type of *<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3 pattern
- Authentication-results: sourceware.org; auth=none
Hi all,
The *<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3 pattern doesn't set the condition flags
so it's type should be logic_shift_imm rather than logics_shift_imm.
Bootstrapped and tested on aarch64.
Committed as obvious with r223922.
Thanks,
Kyrill
2015-06-01 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.md
(*<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3): Change type to
logic_shift_imm.
commit cb4407d5014e3eb5e35646c7de241e976738e347
Author: Kyrylo Tkachov <kyrylo.tkachov@arm.com>
Date: Mon Mar 2 15:29:45 2015 +0000
[AArch64] Fix type of *<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3 pattern
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 4817fae..bbb4812 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -3139,7 +3139,7 @@ (define_insn "*<LOGICAL:optab>_one_cmpl_<SHIFT:optab><mode>3"
(match_operand:GPI 3 "register_operand" "r")))]
""
"<LOGICAL:nlogical>\\t%<w>0, %<w>3, %<w>1, <SHIFT:shift> %2"
- [(set_attr "type" "logics_shift_imm")]
+ [(set_attr "type" "logic_shift_imm")]
)
(define_insn "*eor_one_cmpl_<SHIFT:optab><mode>3_alt"