Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp623170pxh; Tue, 9 Nov 2021 16:21:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJyppOzC6SA6QwLFXDiFgNRCJpaUTzkswfuXPV2OQOSJbcuG4TuNetxsqMlVO4loRJ2NDeI4 X-Received: by 2002:a92:c26d:: with SMTP id h13mr8540303ild.229.1636503672652; Tue, 09 Nov 2021 16:21:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636503672; cv=none; d=google.com; s=arc-20160816; b=HYMPjaqkhqBieAfDSnKAkzUuypW5fDAowbRaB631p9oyEaBriAcTyMWr8/ZxhwdgO4 upsw6adrHAx3LiSl7v+j0ky/xg+4sJhpAM7I8sRyCCyyGzj1r/8sHjhITemE5ur9ZfWt +U4V2afM+/WepuXAbJZW/Qqpa9zTwta2RtDILIjlRK6C2jXNb0GB0ghCoqOgREiV2+dt 0UUhK+li0NkFLEF9HpCMEZNOlQWTFvmKXRwxXsoripEvm7C1nkecI0EPCZhxNmZWwv/O wwdXTBWot2rEbDMbFcWbTUdZ/hWYuXawTyZWS+i/e3mcayzIRmRCtMCiATdSjcMzLvab /sMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tFaeIRYf4WcX3eLn8IfO976cgyYPtEx7VfB2So48QdA=; b=p47/8d+W1QuS9YLwIX9jHTybpbFKft4SN3XGMFYM8D+7iVyiuKUveEpDN+2B0s9wFC 9qPWYLjccFhIPLWeSmFSJ4Hn5IFprvlpzf4zItDr76XS7NC4V/hkhnVFX7cukLoN4NRj EcjU4M47fY+3xLnpFzwxlAYpZv+UrAPAqPHihRP22fTKdTsNmYKWr/I0wkdJlZSSppAN vvxgJEA/FfWB4RWfJcc519nyB6Y60vvvdsvJC3wDk3Jtbhb+qwuYpj1eKSQUDR0EoDXy MuFAyM1iNwIZgROtsc5JoVmHHErEMcxpVgWwzvGGtt1GkZ/y7t7RdumPqf9SAoRvuJf0 3/6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DxHU78GL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k2si30338546jac.101.2021.11.09.16.21.00; Tue, 09 Nov 2021 16:21:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DxHU78GL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244894AbhKIVKi (ORCPT + 97 others); Tue, 9 Nov 2021 16:10:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237576AbhKIVKh (ORCPT ); Tue, 9 Nov 2021 16:10:37 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1F20C061764; Tue, 9 Nov 2021 13:07:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tFaeIRYf4WcX3eLn8IfO976cgyYPtEx7VfB2So48QdA=; b=DxHU78GLXR59U9kZeDDIUeJmWn xF/G+XNLMP3qDVaTBHPeajbM65d8DzpAEGOY2r0jB1ayb8NZf8Nn6XRxZUd7DjRWt6iZ54xoeHv/w Ec45heQ+JWtpIzyNT4ArcAlbsw5gB5I3QbN4v3oMeAPBAi1+zaNMNvcX1lev0DnOZIuQhSNWct6ez UCZoLnCT4tEMNTySiNssJ91zshw7/4BPVUiJytlA9sei693R64BIHqVLSXwvRx2+gl9NfemAJZBfK cw6V+R7xGo0mxrZBOwHDjqd8yZbt4dB3VFDTRJ1BtAB1w7xlEPVVW7RxOvMYlpyr0etu6GtW/K6d1 0p9LBiQA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkYLA-001LQV-Tr; Tue, 09 Nov 2021 21:07:37 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 35546985A2A; Tue, 9 Nov 2021 22:07:36 +0100 (CET) Date: Tue, 9 Nov 2021 22:07:36 +0100 From: Peter Zijlstra To: Nick Desaulniers Cc: Bill Wendling , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org, mark.rutland@arm.com, dvyukov@google.com, seanjc@google.com, pbonzini@redhat.com, mbenes@suse.cz, llvm@lists.linux.dev, linux-toolchains@vger.kernel.org Subject: Re: [PATCH 20/22] x86,word-at-a-time: Remove .fixup usage Message-ID: <20211109210736.GV174703@worktop.programming.kicks-ass.net> References: <20211105171023.989862879@infradead.org> <20211105171821.654356149@infradead.org> <20211108164711.mr2cqdcvedin2lvx@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 11:22:44AM -0800, Nick Desaulniers wrote: > I think the use of this feature (label-attributes) here isn't > necessary though; because of the use of outputs, the "fallthrough" > basic block needs to be placed immediately after the basic block > terminated by the asm goto, at least in LLVM. Was different ordering > of basic blocks observed with GCC without this label attribute? GCC does the same, but I wanted to have the exception stuff be in .text.cold, but alas it doesn't do that. I left the attribute because of it's descriptive value. > Unless the cold attribute is helping move > ("shrink-wrap"?) the basic block to a whole other section > (.text.cold.)? I was hoping it would do that, but it doesn't on gcc-11.