Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp323148pxh; Wed, 10 Nov 2021 02:21:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdqUJRybpODyqUgpPS/puY0zeo6atNSSUiPkodMDJQYlXSKnp0ArRZA27vpvfqQRHSPlbK X-Received: by 2002:a5d:85d8:: with SMTP id e24mr9744223ios.109.1636539684660; Wed, 10 Nov 2021 02:21:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636539684; cv=none; d=google.com; s=arc-20160816; b=cFmB/ejZPjZZznwPjEZ8RqPJVhUHBWDk4jhZJAGhVBPnQA1ySgdpbPTYUCB+AWtfZe 5Xcr+emuyjQG3CUHxxfsc/jyMtbB6HfEJbZ+y6Ks/r7SyDNjl4sI/YPyPLqDbLuEvGY6 O0QdqM2jj1vXh6GFhO50ZLfbCKh+Uitt3hqMAMqhBzuV2fOY5h8KfZOxEEgUQm57Hldv IAJKFe8lkXHXTk6DMR+2CvmTN7SEeDC7W1WYEe9jIBAkxGNHH4viq/sDGhaJcsRjlpGC AlHRHdvZvxwYB+hheGZg5JqnHrt6zZ+j3eClQqqTqQzp1V9Pi0Ja3WmGCLjjsPv2J/6q k05A== 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=K6+8kXKib6sIkUJI1XrdDyzZBHgx7wwZP/n9vo0a4os=; b=X1fh7VlP0dFnXZ0k4yN1zWuuiJFQCCzzBiA03JIXKKDldQ+PzRZVdFj8XqwkTvwfSr MloJ+H4pOAjc5P1EtJQ4SRMtStVPtVli6K9tkKUrqTsOui+JK6hga5rUygNVm1hDFYky BbBMc+Pcah5/dqf0Ln50pmvSuJgldfdzVBkxp0toj6OdLYcspHg+QVA7OwcMoxsh9v0j bF40pnxiswI55vuiFFSahP8iDYUmU7vEyjxAFUBWsd5NNg5T7KS14abj6xJwxM1DMdnu tziGGpwSZeGgYzTXd026l+q2GEQACZUB9Fg3i4r1VYAzhLyF3FWHNAJAPqdKSZQtpr96 Va1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=VdVgiyYZ; 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 e74si4706830iof.52.2021.11.10.02.21.12; Wed, 10 Nov 2021 02:21:24 -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=desiato.20200630 header.b=VdVgiyYZ; 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 S231174AbhKJKVl (ORCPT + 99 others); Wed, 10 Nov 2021 05:21:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbhKJKVh (ORCPT ); Wed, 10 Nov 2021 05:21:37 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1128CC061764; Wed, 10 Nov 2021 02:18:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; 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=K6+8kXKib6sIkUJI1XrdDyzZBHgx7wwZP/n9vo0a4os=; b=VdVgiyYZmpE8SOGnmjXIk3ucwC y0IUZolBtwAqMu4hAvE3+d8UQFQm2gnpaSsrvrlY3+v5n7gKgvXpUe7du+kjQWc2KGk2OiYs3lTSL 6OU1UyhesLGdvgSp6k2FkSSsZQl2YCe8vifi7cNbhFgkAQ/fwvMsYX8YHAPbh58SJeydNOzXgJo63 0PxcDrK5SSaYKqwnsU+hhxkexA4QDSbkaP3RYRGhj/nIRTUcsZG7huipFloIhhabkBnggVJ1W02ha kXf5LzA3qMfllzSZGcwTip8ZJLBYZmV+7Y9ANaIZst4yun6/DkYcBVyRbyIfKvwgLBc9jfR3dmygU jnnDVksA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkkge-00FFuh-Pi; Wed, 10 Nov 2021 10:18:36 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 685D93000D5; Wed, 10 Nov 2021 11:18:36 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 51ABC20189CA9; Wed, 10 Nov 2021 11:18:36 +0100 (CET) Date: Wed, 10 Nov 2021 11:18: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: References: <20211105171023.989862879@infradead.org> <20211105171821.654356149@infradead.org> <20211108164711.mr2cqdcvedin2lvx@treble> <20211109210736.GV174703@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211109210736.GV174703@worktop.programming.kicks-ass.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 09, 2021 at 10:07:36PM +0100, Peter Zijlstra wrote: > 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. I've removed the __cold on labels in the latest posting. https://lkml.kernel.org/r/20211110100102.250793167@infradead.org