From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16673 invoked by alias); 28 Sep 2015 09:44:56 -0000 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 Received: (qmail 16662 invoked by uid 89); 28 Sep 2015 09:44:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: e06smtp12.uk.ibm.com Received: from e06smtp12.uk.ibm.com (HELO e06smtp12.uk.ibm.com) (195.75.94.108) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Mon, 28 Sep 2015 09:44:54 +0000 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 28 Sep 2015 10:44:51 +0100 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 28 Sep 2015 10:44:50 +0100 X-IBM-Helo: d06dlp01.portsmouth.uk.ibm.com X-IBM-MailFrom: vogt@linux.vnet.ibm.com X-IBM-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2E77317D8056 for ; Mon, 28 Sep 2015 10:46:44 +0100 (BST) Received: from d06av03.portsmouth.uk.ibm.com (d06av03.portsmouth.uk.ibm.com [9.149.37.213]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t8S9inlP37683442 for ; Mon, 28 Sep 2015 09:44:49 GMT Received: from d06av03.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t8S9imub004278 for ; Mon, 28 Sep 2015 03:44:49 -0600 Received: from bl3ahm9f.de.ibm.com (sig-9-84-158-116.evts.de.ibm.com [9.84.158.116]) by d06av03.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t8S9imfD004266; Mon, 28 Sep 2015 03:44:48 -0600 Received: from dvogt by bl3ahm9f.de.ibm.com with local (Exim 4.76) (envelope-from ) id 1ZgUzI-0003BE-5T; Mon, 28 Sep 2015 11:44:48 +0200 Date: Mon, 28 Sep 2015 10:23:00 -0000 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Cc: Andreas Krebbel , Ulrich Weigand Subject: Re: [PATCH] Add new hooks ASM_OUTPUT_START_FUNCTION_HEADER ... Message-ID: <20150928094447.GC4149@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: gcc-patches@gcc.gnu.org, Andreas Krebbel , Ulrich Weigand References: <20150921113158.GA30365@linux.vnet.ibm.com> <5601B25F.7020501@redhat.com> <20150923144851.GA22727@linux.vnet.ibm.com> <5603D354.5030404@redhat.com> <20150924134823.GA5142@linux.vnet.ibm.com> <56054D44.9000709@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56054D44.9000709@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15092809-0009-0000-0000-000005BFC7F6 X-SW-Source: 2015-09/txt/msg02093.txt.bz2 On Fri, Sep 25, 2015 at 03:33:56PM +0200, Bernd Schmidt wrote: > On 09/24/2015 03:48 PM, Dominik Vogt wrote: > >Hm, I wonder whether wrapping all these section switches in > >assemble_start/end_function in ".machine" pseudoops (that's what > >we need the hooks for; similar to .arch for ix86) has any real > >effect. > > I don't think I follow what you're trying to say here? I mean, it's more or less random whether switching to and from the function's section ends up inside the new .machine and .machinemode directives (if the section needs to be switched for this function) or outside (if the assembler code had already switched to the correct section earlier). I assume that .machine and .machinemode have no effect on the section switching, but I'm not completely sure (alignment?). (@Andreas + Uli: Do you know of any effect this would have on s390?) Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany