From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6298 invoked by alias); 19 Dec 2006 03:19:25 -0000 Received: (qmail 6287 invoked by uid 22791); 19 Dec 2006 03:19:23 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0506.google.com) (64.233.162.239) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Dec 2006 03:19:17 +0000 Received: by nz-out-0506.google.com with SMTP id q3so108622nzb for ; Mon, 18 Dec 2006 19:19:15 -0800 (PST) Received: by 10.64.249.18 with SMTP id w18mr6202178qbh.1166498355317; Mon, 18 Dec 2006 19:19:15 -0800 (PST) Received: by 10.65.22.10 with HTTP; Mon, 18 Dec 2006 19:19:15 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2006 03:19:00 -0000 From: "Seongbae Park" To: "Tomas Bily" Subject: Re: PATCH: Profile driven specialization of indirect/virtual calls Cc: "Richard Guenther" , hubicka@ucw.cz, gcc-patches@gcc.gnu.org, tomby@ucw.cz In-Reply-To: <20061213172135.GA20336@atrey.karlin.mff.cuni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061213015540.GA19328@atrey.karlin.mff.cuni.cz> <84fc9c000612130211p489ddfe9uf8122fb875b5ec4d@mail.gmail.com> <20061213101332.GA26003@atrey.karlin.mff.cuni.cz> <84fc9c000612130232s4e66c326taa8b68e0f0458517@mail.gmail.com> <20061213172135.GA20336@atrey.karlin.mff.cuni.cz> X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2006-12/txt/msg01351.txt.bz2 Hi Tomas, How does this patch handle indirect calls across files ? e.g. the caller and the callee are in different source files. This particular optimization will be most effective and useful when combined with LTO, and for various reasons, it would be nice if the profile collection (-fprofile-generate) doesn't have to use LTO as well. Seongbae On 12/13/06, Tomas Bily wrote: > Hi, > > > >> It would be nice to have some testcase for C and C++, at least for > > >> successful > > >> instrumentation. Bonus points if you can test for a successful > > >> transformation > > >> with -fprofile-use. > > > > > >There are two testcases (one C and one C++) in the patch. > > > > Doh, sorry. I only looked at the changelog. > > sorry. I forgot add them to changelog. > > Tomas > -- #pragma ident "Seongbae Park, compiler, http://seongbae.blogspot.com"