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 (XEXP (x, 1), 0)) == AND)) > + return true; > + return false; > +} > +
With the ifcvt changes I requested, I believe this is now unused. > +} > +rtx > +expand_ccmp_expr (gimple g) Watch your spacing. And you're missing the comment before the function. Otherwise ok. r~