This is the mail archive of the
mailing list for the GCC project.
Re: -fuse-caller-save - Collect register usage information
- From: Jeff Law <law at redhat dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>, Tom de Vries <Tom_deVries at mentor dot com>
- Cc: Eric Botcazou <ebotcazou at adacore dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Mike Stump <mikestump at comcast dot net>, Vladimir Makarov <vmakarov at redhat dot com>
- Date: Fri, 17 Oct 2014 09:50:23 -0600
- Subject: Re: -fuse-caller-save - Collect register usage information
- Authentication-results: sourceware.org; auth=none
- References: <534ED7BC dot 50300 at mentor dot com> <1934759 dot KususQOCne at polaris> <5440387C dot 7060202 at mentor dot com> <4449487 dot ggfnoZPqHa at polaris> <5440F3D1 dot 6090309 at mentor dot com> <CAFiYyc2rbMsbTVu_D+w-_4JPLQRN29c--uTb1VDgwH=GKiSkZg at mail dot gmail dot com>
On 10/17/14 05:00, Richard Biener wrote:
Similarly. At the heart of the matter is we're utilizing information
about the callee's behaviour to improve the code we generate in the
caller. That's clearly in IPA's domain IMHO.
I'm starting to lean towards -foptimize-call-clobbers or similar.
Well, it is really some form of IPA driven register allocation. Whether
you want to call it -fipa-ra or not is another question - but if we had
such option then enabling it with that option would be fine.
Also users may have no idea what call vs callee clobbers are, but
IPA RA may be a term that is more widely known (or at least google
can come up with something for you).
So - I like -fipa-ra more.