This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and FORM_POST_ADD cases
- From: Bernd Schmidt <bschmidt at redhat dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, richard dot sandiford at arm dot com
- Date: Mon, 26 Oct 2015 12:28:08 +0100
- Subject: Re: [PATCH][auto-inc-dec.c] Account for cost of move operation in FORM_PRE_ADD and FORM_POST_ADD cases
- Authentication-results: sourceware.org; auth=none
- References: <562E030B dot 7090908 at arm dot com> <562E0AB4 dot 7050809 at redhat dot com>
On 10/26/2015 12:12 PM, Bernd Schmidt wrote:
But isn't that balanced by the fact that it doesn't seem to take into
account the gain of removing the inc_insn either? So I think this can't
be right.
Argh, misread the code. The patch is OK with the change I suggested.
Bernd