RE: [Ping] [PATCH, 4/10] expand ccmp

2014-10-31 Thread Zhenqiang Chen
-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

Re: [Ping] [PATCH, 4/10] expand ccmp

2014-10-30 Thread Richard Henderson
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

RE: [Ping] [PATCH, 4/10] expand ccmp

2014-10-29 Thread Zhenqiang Chen
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

[Ping] [PATCH, 4/10] expand ccmp

2014-09-23 Thread Zhenqiang Chen
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

Re: [PATCH, 4/10] expand ccmp

2014-07-01 Thread Zhenqiang Chen
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,

Re: [PATCH, 4/10] expand ccmp

2014-06-25 Thread Richard Earnshaw
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. *

[PATCH, 4/10] expand ccmp

2014-06-23 Thread Zhenqiang Chen
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