This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Expanding instructions with condition codes inter-deps


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
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]