This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RS6000] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE
- From: Alan Modra <amodra at gmail dot com>
- To: Segher Boessenkool <segher at kernel dot crashing dot org>
- Cc: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje dot gcc at gmail dot com>
- Date: Wed, 4 May 2016 09:15:20 +0930
- Subject: Re: [RS6000] powerpc64le -ffixed-cr2 -ffixed-cr3 -ffixed-cr4 ICE
- Authentication-results: sourceware.org; auth=none
- References: <20160503145224 dot GP18915 at bubble dot grove dot modra dot org> <20160503152159 dot GC20260 at gate dot crashing dot org>
On Tue, May 03, 2016 at 10:22:02AM -0500, Segher Boessenkool wrote:
> Have you tested if save and restore are correct now? I.e. not touching
> the fixed ones.
It doesn't matter if we save more cr fields than needed, and I think
the epilogue restores are good. Restores done by the unwinder won't
be correct except for ELFv2, because on other ABIs we emit a single
save of cr2 to .eh_frame to mean the whole cr is saved. There's not
much we can do about that.
--
Alan Modra
Australia Development Lab, IBM