Re: CC0 questions

2006-05-10 Thread Richard Earnshaw
On Tue, 2006-05-09 at 22:16, Richard Kenner wrote: > Can there be two consecutive insns that use cc0 after cc0 is set? > > No. Yes. But only very very late in the compilation, once all normal re-ordering and optimization has been completed. I think it's probably final that folds out

Re: CC0 questions

2006-05-09 Thread Richard Kenner
Can a jump_insn use cc0 but not actually jump? The following instruction is found in the H8 port. (jump_insn 18 17 20 (set (reg:HI 3 r3) (eq:HI (cc0) (const_int 0 A jump_insn is supposed to modify the PC. That one doesn't, so

CC0 questions

2006-05-09 Thread Kazu Hirata
Hi, Can a jump_insn use cc0 but not actually jump? The following instruction is found in the H8 port. (jump_insn 18 17 20 (set (reg:HI 3 r3) (eq:HI (cc0) (const_int 0 Is there a requirement that every cc0 user must be a jump_insn? Can there

Re: A plan for eliminating cc0 - Questions concerning the AVR target

2005-03-26 Thread Ian Lance Taylor
BjÃrn Haase <[EMAIL PROTECTED]> writes: > Imagine, you are having a clean md with a consistent "double set" > representation for all the patterns that actually alter the condition code. I > understood, that the problem for the optimization passes (e.g. combine) then > shows up only for instruct