From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8978 invoked by alias); 30 Jul 2003 18:06:16 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 8971 invoked from network); 30 Jul 2003 18:06:16 -0000 Received: from unknown (HELO dberlin.org) (69.3.5.6) by sources.redhat.com with SMTP; 30 Jul 2003 18:06:16 -0000 Received: from [192.168.1.7] (account dberlin HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.1) with ESMTP-TLS id 4655393; Wed, 30 Jul 2003 14:06:15 -0400 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v581) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <8156ED3C-C2B8-11D7-B239-000A95A34564@dberlin.org> Content-Transfer-Encoding: 7bit Cc: Joe Buck , Scott Robert Ladd , Gabriel Dos Reis , Alexandre Oliva , Steven Bosscher , From: Daniel Berlin Subject: Re: std::pow implementation Date: Wed, 30 Jul 2003 19:12:00 -0000 To: Richard Guenther X-SW-Source: 2003-07/txt/msg02245.txt.bz2 >> >> Actually, the heuristic is usually something like: >> If number of calls to function with constant arguments is estimated or >> actually high (IE function is on some critical performance path): >> >> >> Otherwise, you would waste so much time trying to determine what to >> clone, it's absurd. > > So this would be only practical with profiling feedback then? Or static profiling, to determine the number of calls and whatnot. > > Richard. >