Expanding instructions with condition codes inter-deps

Andrew Pinski pinskia@gmail.com
Mon Oct 17 17:23:00 GMT 2011


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
>



More information about the Gcc mailing list