From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17445 invoked by alias); 23 Apr 2003 18:50:12 -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 17438 invoked from network); 23 Apr 2003 18:50:12 -0000 Received: from unknown (HELO nikam.ms.mff.cuni.cz) (195.113.18.106) by sources.redhat.com with SMTP; 23 Apr 2003 18:50:12 -0000 Received: from camelot.ms.mff.cuni.cz (kampanus.ms.mff.cuni.cz [195.113.18.107]) by nikam.ms.mff.cuni.cz (Postfix) with SMTP id 27D8C4DF60; Wed, 23 Apr 2003 20:50:13 +0200 (CEST) Received: by camelot.ms.mff.cuni.cz (sSMTP sendmail emulation); Wed, 23 Apr 2003 20:50:15 +0200 Date: Wed, 23 Apr 2003 19:18:00 -0000 From: Jan Hubicka To: Richard Henderson , Jan Hubicka , Ulrich Weigand , gcc@gcc.gnu.org, aj@suse.de Subject: Re: Profiling on S390 Message-ID: <20030423185015.GA4751@kam.mff.cuni.cz> References: <20030422211923.GE21400@redhat.com> <20030423074537.GG15464@kam.mff.cuni.cz> <20030423174829.GD21871@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030423174829.GD21871@redhat.com> User-Agent: Mutt/1.3.28i X-SW-Source: 2003-04/txt/msg01172.txt.bz2 > On Wed, Apr 23, 2003 at 09:45:37AM +0200, Jan Hubicka wrote: > > > It could, but if you don't have add/load/store insns that don't > > > clobber CC, then you'll get in trouble with reload too. Of > > We can conclude to use some named patterns. For instance > > "save_state" "restore_state" to fold profiler code in. Does this sound > > plausible? > > No. How much state are you planning to save? I think it'd > make more sense to have an add_nocc pattern instead. Perhaps, but Zdenek already has come code to measure extra stuff (like value ranges) that do other thinks than plain add. How would one accomplish that? Honza > > > r~