RE: [Ping] [PATCH, 7/10] aarch64: add function to output ccmp insn

2014-10-27 Thread Zhenqiang Chen
> -Original Message- > From: Richard Henderson [mailto:r...@redhat.com] > Sent: Sunday, October 12, 2014 12:52 PM > To: Zhenqiang Chen; gcc-patches@gcc.gnu.org > Subject: Re: [Ping] [PATCH, 7/10] aarch64: add function to output ccmp insn > > On 10/11/2014 09:11

Re: [Ping] [PATCH, 7/10] aarch64: add function to output ccmp insn

2014-10-11 Thread Richard Henderson
On 10/11/2014 09:11 AM, Richard Henderson wrote: > On 09/22/2014 11:45 PM, Zhenqiang Chen wrote: >> +static unsigned int >> +aarch64_code_to_nzcv (enum rtx_code code, bool inverse) { >> + switch (code) >> +{ >> +case NE: /* NE, Z == 0. */ >> + return inverse ? AARCH64_CC_Z : 0; >> +

Re: [Ping] [PATCH, 7/10] aarch64: add function to output ccmp insn

2014-10-11 Thread Richard Henderson
On 09/22/2014 11:45 PM, Zhenqiang Chen wrote: > +static unsigned int > +aarch64_code_to_nzcv (enum rtx_code code, bool inverse) { > + switch (code) > +{ > +case NE: /* NE, Z == 0. */ > + return inverse ? AARCH64_CC_Z : 0; > +case EQ: /* EQ, Z == 1. */ > + return inverse ? 0

[Ping] [PATCH, 7/10] aarch64: add function to output ccmp insn

2014-09-22 Thread Zhenqiang Chen
ject: [PATCH, 7/10] aarch64: add function to output ccmp insn > > Hi, > > The patch adds three help functions to output ccmp instructions. > > OK for trunk? > > Thanks! > -Zhenqiang > > ChangeLog: > 2014-06-23 Zhenqiang Chen > > * config/aar

[PATCH, 7/10] aarch64: add function to output ccmp insn

2014-06-23 Thread Zhenqiang Chen
Hi, The patch adds three help functions to output ccmp instructions. OK for trunk? Thanks! -Zhenqiang ChangeLog: 2014-06-23 Zhenqiang Chen * config/aarch64/aarch64-protos.h (aarch64_output_ccmp): New prototype. * config/aarch64/aarch64.c (aarch64_code_to_nzcv): New function.