Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp189818rdh; Wed, 7 Feb 2024 01:35:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IE91qx1mvYoGXOM67jH1x+e1tg4++T87sm22SZKN6vxlgvKqN9S3xGOBuNPI9LOBC8Xwhwd X-Received: by 2002:a9d:5615:0:b0:6e1:d8c:8f8b with SMTP id e21-20020a9d5615000000b006e10d8c8f8bmr5066346oti.37.1707298534737; Wed, 07 Feb 2024 01:35:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707298534; cv=pass; d=google.com; s=arc-20160816; b=XT3cnrL1VDrbIz9aYWvZsHPrUhW+qwvXOkxZHIT+ZXa15L2Ehy/y5TyUIPYvB+hkA9 LH142yu65L+BGYIvyQfOBV4OsslAHDq68aeyiNtrUSTwy37695auJ3ekqo9KZpIMViPd cXAp2dlxialxLwcuY6NP0GisA9wHENPSnMWqEK1WSNhTFGRr7gNn8wNGggfLN8dcF/fv Hn57rjq6FbsuggoRODyjmiBCjtS1RCLyW+2NbuZspW75hwl/42PwHMxiHDDWEdT30o// HRp8VNbLRVtv8yNyj8U6j6j6md0y4hMZDNUeDalrsbZMGKX15Qn9cIHhr5cT34syIE+m WaAA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:in-reply-to:subject:cc:to:from:date :feedback-id:dkim-signature; bh=fVw80QJFLPYfWbj4U+oHv7nKjKhEpJo5GSFwl//HtDQ=; fh=ChqzIAyaQ9bTpWT/9qI530elodvf3n4ccNBX5O5Iquk=; b=bjh5JsHmU06BfxReOXPbSPvaGxSH5f15LJR9EhM/pe6+yOJgIsd5kX/2vBzXV0V/P0 Pda/8RkwWMCvn9YyCVBlxnu9Nsf3GKJKz+3MNaM3/mTF0WEPyaKgMoguOlQopJn2huB9 Kvo0v7nEtmErfaeMvHjDB+9qD4sv+7PY4WjBT3aKOlG49khSpYcboDDxD98J5HCOF6Sn VqtFLoNQY+iYR6I1upAXvLCfGLyJazAM3lfsbfWyftCbMWJvJUUl+mOj9bilaZQu0LsP cA4njG+3nMgs3Hiosb3aE/g76Cswdg6i8tq397GsgTPSE/JEWGwaeApgXVQ5sfRguv6z v9Cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=mf0noyJQ; arc=pass (i=1 dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-56020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56020-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUZCVQlyoEy1OmAG3wkCbfCwEhtKNVJKCX1l8sUUKvi2OVahFEOZL7bxAxOPk3ljQxVfGeyA1IqVM5JrVchxQWxjjWq2nFJmVs37TQeJw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id l30-20020a63701e000000b005d8bf8b3ee5si1161814pgc.818.2024.02.07.01.35.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 01:35:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=mf0noyJQ; arc=pass (i=1 dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-56020-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56020-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7559CB23ECE for ; Wed, 7 Feb 2024 06:31:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E05831CD32; Wed, 7 Feb 2024 06:30:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mf0noyJQ" Received: from wfout2-smtp.messagingengine.com (wfout2-smtp.messagingengine.com [64.147.123.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EC05A1CD26 for ; Wed, 7 Feb 2024 06:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.145 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707287457; cv=none; b=fMKGrp4JZk/6TzNUymhWEMln34ofEwG4EFeLW9UTvano4H/rw/NZUrgv4+8iiABbcY9Nq5CPfGrCtJ01ixgye3XilIzmuQAgJzhOBt+yT0qhcjKXTxEmH/6ykWFs/DIxj4rFSm6eK84W4aAqJqXbbVDr03G4FjEdcSznnp63wr4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707287457; c=relaxed/simple; bh=zjUyccO5kmtnrNZbXgtpxlpwxekTnpaqHlECgsnZcgQ=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=Em8EQAZcUVUvJcM52EWSyGfLpooyunOEYO/tibPwj/FpaBaHXl6Ma5LBGcW1oFMtB7dizA0az08Ib2c9NrNpi+u5YNpz/P6LMrZqS5V3KK0FTwFjhTwvdImsNUF5lUzdT1UidOEOuv3yP6cNf60I/OaIIJoY1VBIcq1OWen/38o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org; spf=none smtp.mailfrom=linux-m68k.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=mf0noyJQ; arc=none smtp.client-ip=64.147.123.145 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 4D1E61C0006E; Wed, 7 Feb 2024 01:30:53 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 07 Feb 2024 01:30:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707287452; x=1707373852; bh=fVw80QJFLPYfWbj4U+oHv7nKjKhE pJo5GSFwl//HtDQ=; b=mf0noyJQ3Bn4VWIfZ7NXg/B2I3uVlcJHSYda4lTfoDzD 5NnpjeyZnuuYImDXLTmr2B11pAcGnnVTjC8csx3l5drIh6oTLHDSbA+XtvTabj4n NMGdEY6PQcdbV2mFTyDiGegRgLSsDuEO9UkG58j4FjF1ag5qzYHOzoGGZNl2Y29W S7ogfsQfphH57UM/2cOPFTDlocfZLnB0fN2xAtpSYPg9JgUmnByM18njP9gdib/K 5GcM92sIpRcFBRL5r/azFJ1eZnP6171lSHxefGQgDN2vN416cgBggsaN4k9dn9eA E0nmWNMkUJ7m8RZmRPucHh6LoezoE94fJfD38NucIg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrtddugdelhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefujgfkfhggtgesthdtredttddtvdenucfhrhhomhephfhinhhnucfv hhgrihhnuceofhhthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgheqnecuggftrfgrth htvghrnhepleeuheelheekgfeuvedtveetjeekhfffkeeffffftdfgjeevkeegfedvueeh ueelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepfh hthhgrihhnsehlihhnuhigqdhmieekkhdrohhrgh X-ME-Proxy: Feedback-ID: i58a146ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Feb 2024 01:30:49 -0500 (EST) Date: Wed, 7 Feb 2024 17:31:08 +1100 (AEDT) From: Finn Thain To: Vincent MAILHOL cc: David Laight , Andrew Morton , "linux-kernel@vger.kernel.org" , Yury Norov , Nick Desaulniers , Douglas Anderson , Kees Cook , Petr Mladek , Randy Dunlap , Zhaoyang Huang , Geert Uytterhoeven , Marco Elver , Brian Cain , Geert Uytterhoeven , Matthew Wilcox , "Paul E . McKenney" , "linux-m68k@lists.linux-m68k.org" Subject: Re: [PATCH v4 2/5] m68k/bitops: use __builtin_{clz,ctzl,ffs} to evaluate constant expressions In-Reply-To: Message-ID: References: <20221111081316.30373-1-mailhol.vincent@wanadoo.fr> <20240128050449.1332798-1-mailhol.vincent@wanadoo.fr> <20240128050449.1332798-3-mailhol.vincent@wanadoo.fr> <9d9be9dbe92f43d2a95d11d6b2f434c1@AcuMS.aculab.com> <77831c6f-7fc9-c42d-b29b-c3b2f3f5e687@linux-m68k.org> <002675b0-6976-9efa-6bc5-b8bad287a1d2@linux-m68k.org> <00a7e866-23ff-fc63-b6df-364580f69c78@linux-m68k.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII On Mon, 5 Feb 2024, Vincent MAILHOL wrote: > On Mon. 5 Feb. 2024 at 18:48, Finn Thain wrote: > > On Mon, 5 Feb 2024, Vincent MAILHOL wrote: > > > > If clang support is important then clang's builtins are important. So > > why not improve those instead? That would resolve the issue in a > > win-win. > > I am deeply sorry, but with all your respect, this request is unfair. I > will not fix the compiler. > Absolutely. It is unfair. Just as your proposal was unfair to maintainers. That patch would make a compiler deficiency into a maintenance burden.