This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 4/N] Recover GOTO predictor.
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Martin Liška <mliska at suse dot cz>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, ppalka at gcc dot gnu dot org
- Date: Thu, 22 Jun 2017 12:27:04 +0200
- Subject: Re: [PATCH 4/N] Recover GOTO predictor.
- Authentication-results: sourceware.org; auth=none
- References: <cover.1496739572.git.mliska@suse.cz> <faba6d46-0f9e-f768-e2dc-5b661565c529@suse.cz>
On Wed, Jun 21, 2017 at 3:06 PM, Martin Liška <mliska@suse.cz> wrote:
> Hello.
>
> There's one additional predictor enhancement that is GOTO predict that
> used to working. Following patch adds expect statement for C and C++ family
> languages.
>
> There's one fallout which is vrp24.c test-case, where only 'Simplified relational'
> appears just once. Adding Richi and Patrick who can probably help how to fix the
> test-case.
Happens to be optimized better now, there's only one predicate to simplify
left in the IL input to VRP1. I suggest to change it to match 1 times and add
-fdump-tree-optimized to dg-options and
/* { dg-final { scan-tree-dump-times "if " 3 "optimized" } } */
to verify we have 3 conditions left.
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.
>
> Ready to be installed?
> Martin