[Bug target/87949] PowerPC saves CR registers across calls
segher at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 9 20:09:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87949
--- Comment #9 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to meissner from comment #6)
- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
> > Seems like a potential opportunity for shrink-wrap separate on the CRs. I'm
> > not sure whether that's implemented yet.
>
> Not really, since shrink wrap only occurs if the program has an early exit
> condition.
Separate shrink-wrapping can help in all cases where not all saves or restores
are needed on every path through the function, not just in cases where on some
path through the function *no* save/restore is needed.
More information about the Gcc-bugs
mailing list