> -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 Che
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
> + || G
To: gcc-patches@gcc.gnu.org
> 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.
>
> Bootst
half Of Zhenqiang 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 wrote:
> > On 23/06/14 07:59, Zhenqiang Chen wrote:
> >> Hi,
> >&
On 25 June 2014 23:16, Richard Earnshaw 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, which
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.
> * e
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 CCMP