This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Remove CALLER_SAVE_PROFITABLE since nobody use it now
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: Kito Cheng <kito dot cheng at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Sandiford <rsandifo at linux dot vnet dot ibm dot com>, Jeff Law <law at redhat dot com>
- Date: Mon, 18 Aug 2014 20:26:00 +0000
- Subject: Re: [PATCH] Remove CALLER_SAVE_PROFITABLE since nobody use it now
- Authentication-results: sourceware.org; auth=none
- References: <CA+yXCZAMrSt9EbnaLLJkMwt8-_oX9r6etLiXGF8PDX6rGYQZHQ at mail dot gmail dot com> <53F21422 dot 6070104 at arm dot com>
On Mon, 18 Aug 2014, Richard Earnshaw wrote:
> Hmm, I'm not sure about this. It might not be used at present, but on
> AArch64, with more call-clobbered registers than call-saved registers, I
> would expect this ought to be a win. The fact that it isn't on today
> may say more about the way it works than the concept that it's the wrong
> thing to do in principle.
Nothing uses it - not just no targets defining it, but no code calling it.
If you have a use in future for a target hook doing something suggested by
the name of this macro, by all means add one - but there's no point at all
in keeping the macro until then. (It should of course be poisoned in
system.h when removing it, as standard when removing target macros.)
Joseph S. Myers