From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108834 invoked by alias); 24 Nov 2019 17:48:45 -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 108694 invoked by uid 89); 24 Nov 2019 17:48:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=ASAP, H*MI:sk:fa91af6, H*f:sk:fa91af6, H*i:sk:fa91af6 X-HELO: mail-wr1-f65.google.com Received: from mail-wr1-f65.google.com (HELO mail-wr1-f65.google.com) (209.85.221.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Nov 2019 17:48:21 +0000 Received: by mail-wr1-f65.google.com with SMTP id i12so14722122wro.5 for ; Sun, 24 Nov 2019 09:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mittosystems.com; s=google; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S10Muwp4OOsgAPLgbkIkXLaJ9FR0iebK1J6N8uRljuA=; b=LxyNnXmFTs+XBT1I9QJidAmrfjGyVqqpzLe22FiMAUpor/jmWqqdtIfQ6tH1OWAUaX qxmaTqHOfCx6ClqsxJ795+d09goJeCUcENwR6Sx5m0SCnKyweaRnIvABOMzptG56kQcW L5ssLoiKTSbldswEjCu1jqiieNM52VlhnMOH21vqs7/gXbqZ0PZhovvBQ/dlTHOXdoyb Uw6t4ZWHgCUdfQMlbrYI8F790+n2JABoMOCM+s2nzthJsAQrwIjLl5e48xAiL/kaIJmk XGXRMpY1esFTHyJrrCU9Qof2XnymDNc6QQgCVDHJHE77Ifo6oVzl5mybyAWQKYxJ3uOg RNbg== Return-Path: Received: from jozef-kubuntu ([2a01:4b00:87fd:900:79d8:f129:7d79:e23b]) by smtp.gmail.com with ESMTPSA id a15sm7374886wrx.81.2019.11.24.09.48.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 24 Nov 2019 09:48:05 -0800 (PST) Date: Sun, 24 Nov 2019 17:55:00 -0000 From: Jozef Lawrynowicz To: Jeff Law Cc: "gcc-patches@gcc.gnu.org" Subject: Re: [PATCH 1/4] MSP430: Disable TM clone registry by default Message-ID: <20191124174804.4c5057e1@jozef-kubuntu> In-Reply-To: References: <20191107213110.0ceea63a@jozef-kubuntu> <20191107213418.2b32fc3c@jozef-kubuntu> <20191124142018.036e2ad2@jozef-kubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-11/txt/msg02283.txt.bz2 On Sun, 24 Nov 2019 10:10:51 -0700 Jeff Law wrote: > On 11/24/19 7:20 AM, Jozef Lawrynowicz wrote: > > On Sun, 17 Nov 2019 12:11:23 -0700 > > Jeff Law wrote: > > > >> On 11/7/19 2:34 PM, Jozef Lawrynowicz wrote: > >>> Given that MSP430 is a resource constrained, embedded target disabling > >>> transactional memory by default is a good idea to save on code size in > >>> the runtime library. > >>> > >>> It can still be enabled by passing --enable-tm-clone-registry (although as far > >>> as I understand the feature is fundamentally incompatible with MSP430 given > >>> reliance on libitm, lack of thread support without an OS and the memory > >>> limitations of the device. > >>> > >> I'm not a huge fan of making the default configurations behave > >> differently. But I can also see how something like TM in particular > >> isn't of much interest in the embedded space (hell, it's having trouble > >> getting real traction in the server space as well). > >> > >> May be a reasonable path forward is to add the configury bits, keep TM > >> on by default and create a different msp target which disables this stuff? > > > > Ok fair enough, what would an acceptable form for a new target triplet look > > like? "msp430-*-elfbare"? > Yea, that seems reasonable. > > > > > Since we're into stage 3 now I'll look at doing this for GCC 11. > I'd seriously consider letting this into gcc-10. It's going to be well > isolated and it's an iteration of something you posted before the > stage1->stage3 transition. Your choice if you want to try and pull it > together quickly for gcc-10. Ok great, I will aim to get something together ASAP. Thanks, Jozef > > Jeff >