[Bug target/87949] PowerPC saves CR registers across calls

meissner at linux dot ibm.com gcc-bugzilla@gcc.gnu.org
Fri Nov 9 18:43:00 GMT 2018


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

--- Comment #6 from meissner at linux dot ibm.com ---
On Fri, Nov 09, 2018 at 02:47:31PM +0000, wschmidt at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87949
> 
> --- 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.  In this case, I don't think it is early exit, but instead the
compiler is just lengthening the lifetime of the CR and moving it out of loops,
etc.


More information about the Gcc-bugs mailing list