This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: branch delay slots
Boris Boesler <baembel@gmx.de> writes:
> Ok, I think I found it: GCC leaves control-flow operations as they
> are, if it can not place other operations in branch delay slots
> (represented as SEQUENCEs in GCC); or in other words: GCC does not
> represent empty delay slots.
>
> Is this correct?
Yeah. See e.g. the way the MIPS port deals with this. The jump and
call patterns add a nop to the asm string when final_sequence is null.
Richard