This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Basic speculation support for polymorphic_call_context
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, gcc-patches at gcc dot gnu dot org, mjambor at suse dot cz, rguenther at suse dot de, jason at redhat dot com
- Date: Mon, 28 Jul 2014 21:42:10 +0200
- Subject: Re: Basic speculation support for polymorphic_call_context
- Authentication-results: sourceware.org; auth=none
- References: <20140728150136 dot GA7414 at kam dot mff dot cuni dot cz> <87y4vd8lxx dot fsf at tassilo dot jf dot intel dot com>
> Jan Hubicka <hubicka@ucw.cz> writes:
>
> > There are similar testcases in bugzilla where we do not devirtualize because we
> > lost track of type promises C++ language makes on memory accesses. This may
> > give us a clue how common these are.
>
> How would the user know without some optional warning?
I can know - I can implement this speculatively and get stats how many cases this would
catch if we had infrastructure for it. I plan to gather some stats on firefox soonish.
Honza
>
> -Andi