[Bug target/25287] PPC has conditional indirect jumps if ra allocates the a in ctr before the jumps

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 7 19:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25287

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |segher at gcc dot gnu.org

--- Comment #3 from Segher Boessenkool <segher at gcc dot gnu.org> ---
But then we always run the mtctr, also when the condition is false.
Are there CPUs where this is better than branching around it?  On most
CPUs "simple" conditional branches are free.


More information about the Gcc-bugs mailing list