|(Once again) Branch likely instructions (MIPS R4000) girishvgNOSPAM@yahoo.com (Girish Gulawani) (2003-09-22)|
|Re: (Once again) Branch likely instructions (MIPS R4000) firstname.lastname@example.org (Vijay Krishnan) (2003-09-23)|
|Re: (Once again) Branch likely instructions (MIPS R4000) email@example.com (Tim Olson) (2003-09-23)|
|From:||Tim Olson <firstname.lastname@example.org>|
|Date:||23 Sep 2003 13:31:33 -0400|
|Posted-Date:||23 Sep 2003 13:31:33 EDT|
| How Much Am I To Lose If I Don'T Use Branch-Likely Instructions?
| My Target Is Toshiba (R4k) Tx49. The Software Is Quite Loopy & Mathematical.
None. In fact, you will probably gain performance by *not* using them.
The branch-likely instructions are somewhat misnamed: they are not
branch hints, but rather a way of saving space by not having an explicit
NOP in the delay slot of the branch.
Since they are pretty useless, the MIPS branch-likely instructions are
deprecated: implementations are required to handle them correctly, but
they aren't required to be fast. The reason they are deprecated is
that, on high-performance pipelines, conditionally squashing the result
of the delay-slot instruction is a pain in the neck.
Here's a reference to a previous comp.compilers posting back in 2000
with some more information:
-- Tim Olson
Return to the
Search the comp.compilers archives again.