This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Expanding instructions with condition codes inter-deps
- From: Andrew Pinski <pinskia at gmail dot com>
- To: "Paulo J. Matos" <paulo at matos-sorge dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 17 Oct 2011 09:20:40 -0700
- Subject: Re: Expanding instructions with condition codes inter-deps
- References: <j7h191$hnc$1@dough.gmane.org>
On Mon, Oct 17, 2011 at 3:50 AM, Paulo J. Matos <paulo@matos-sorge.com> wrote:
> addc_internal looks like:
> (define_insn "addc_internal"
> Â[(set (match_operand:QI 0 "nonimmediate_operand" "=c")
> Â Â Â Â(plus:QI
> Â Â Â Â Â(plus:QI
> Â Â Â Â Â Â(ltu:QI (reg:CC RCC) (const_int 0))
> Â Â Â Â Â Â(match_operand:QI 1 "nonimmediate_operand" "%0"))
> Â Â Â Â Â(match_operand:QI 2 "general_operand" "cwmi")))
> Â (clobber (reg:CC RCC))]
> Â""
> Â"addc\\t%0,%f2")
Try adding (use (reg:CC RCC)) to the pattern above.
Thanks,
Andrew Pinski
>