This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Speculative call support in the callgraph
- From: Andi Kleen <andi at firstfloor dot org>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Andi Kleen <andi at firstfloor dot org>, gcc-patches at gcc dot gnu dot org, marxin dot liska at gmail dot com, mjambor at suse dot cz, davidxl at google dot com
- Date: Sat, 10 Aug 2013 02:25:21 +0200
- Subject: Re: Speculative call support in the callgraph
- References: <20130809121840 dot GA28721 at kam dot mff dot cuni dot cz> <87pptmo6n3 dot fsf at tassilo dot jf dot intel dot com> <20130809231511 dot GC12350 at kam dot mff dot cuni dot cz>
On Sat, Aug 10, 2013 at 01:15:11AM +0200, Jan Hubicka wrote:
> > Jan Hubicka <hubicka@ucw.cz> writes:
> >
> > > Hi,
> > > this patch adds support for speculative calls into callgraph. The idea is that
> > > any IPA optimization that believes it knows likely target of an indirect call
> > > (currently I use it for cross-module indirect call profiling, but I expect
> > > Martin J. can easily add support for ipa-cp and I hope to add speculative
> > > devirtualization in foreseeable future since it should make difference for
> > > Firefox). Speculative call replaces indirect call
> >
> > Patch appears to break boot strap on x86_64-linux
> > (or maybe your other one)
>
> How do you bootstrap? This should not be used w/o lto+profiledbootstrap and
> that seems to work for me...
Neither LTO nor profiled
../gcc/configure --prefix=/pkg/gcc-$V-$D --enable-lto \
--with-plugin-ld=/usr/local/bin/ld-plugin \
--disable-nls --enable-languages=$FRONTEND > /dev/null \
--enable-checking=release --disable-libstdcxx-pch \
--disable-fixincl
-Andi