This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CC0 questions
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: kazu at codesourcery dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 9 May 06 17:16:31 EDT
- Subject: Re: CC0 questions
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 isn't a
legitimate jump_insn.
Is there a requirement that every cc0 user must be a jump_insn?
No.
Can there be two consecutive insns that use cc0 after cc0 is set?
No.