-Original Message-
From: Richard Henderson [mailto:r...@redhat.com]
Sent: Thursday, October 30, 2014 11:58 PM
To: Zhenqiang Chen
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [Ping] [PATCH, 4/10] expand ccmp
On 10/29/2014 03:30 AM, Zhenqiang Chen wrote:
+
+bool
+ccmp_insn_p
On 10/29/2014 03:30 AM, Zhenqiang Chen wrote:
+
+bool
+ccmp_insn_p (rtx object)
+{
+ rtx x = PATTERN (object);
+ if (targetm.gen_ccmp_first
+ GET_CODE (x) == SET
+ GET_CODE (XEXP (x, 1)) == COMPARE
+ (GET_CODE (XEXP (XEXP (x, 1), 0)) == IOR
+ || GET_CODE (XEXP
Subject: [Ping] [PATCH, 4/10] expand ccmp
Ping?
Patch is rebased and regenerated since [PATCH, 3/10] skip swapping
operands used in ccmp is discarded.
Please find the updated patch in attachment.
Bootstrap and no make check regression on X86-64.
Thanks!
-Zhenqiang
ChangeLog
Chen
Sent: Tuesday, July 01, 2014 4:01 PM
To: Richard Earnshaw
Cc: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH, 4/10] expand ccmp
On 25 June 2014 23:16, Richard Earnshaw rearn...@arm.com wrote:
On 23/06/14 07:59, Zhenqiang Chen wrote:
Hi,
This patch includes the main logic to expand
On 25 June 2014 23:16, Richard Earnshaw rearn...@arm.com wrote:
On 23/06/14 07:59, Zhenqiang Chen wrote:
Hi,
This patch includes the main logic to expand ccmp instructions.
In the patch,
* ccmp_candidate_p is used to identify the CCMP candidate
* expand_ccmp_expr is the main entry,
On 23/06/14 07:59, Zhenqiang Chen wrote:
Hi,
This patch includes the main logic to expand ccmp instructions.
In the patch,
* ccmp_candidate_p is used to identify the CCMP candidate
* expand_ccmp_expr is the main entry, which calls expand_ccmp_expr_1
to expand CCMP.
*
Hi,
This patch includes the main logic to expand ccmp instructions.
In the patch,
* ccmp_candidate_p is used to identify the CCMP candidate
* expand_ccmp_expr is the main entry, which calls expand_ccmp_expr_1
to expand CCMP.
* expand_ccmp_expr_1 uses a recursive algorithm to expand