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: 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


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