This is the mail archive of the gcc-patches@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: [PATCH] If using branch likelies in MIPS sync code fill the delay slot with a nop


FWIW, I agree this is the right fix, but:

Andrew Bennett <Andrew.Bennett@imgtec.com> writes:
> +  /* When using branch likely (-mfix-r10000), the delay slot instruction
> +     will be annulled on false.  The normal delay slot instructions
> +     calculate the overall result of the atomic operation and must not
> +     be annulled.  To ensure this behaviour unconditionally use a NOP
> +     in the delay slot for the branch likely case.  */

remember to use US spelling: "behavior" rather than "behaviour".

Thanks,
Richard


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