Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2293626rdb; Mon, 5 Feb 2024 01:48:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjg0KvFls9ibifo8ktHJynVJ8ogHtc9wOAbKAP05Ah8/fpGG06XRb+iBFMFXSbm4qL1vqy X-Received: by 2002:a05:6402:1659:b0:55f:fe3a:5c88 with SMTP id s25-20020a056402165900b0055ffe3a5c88mr4022829edx.16.1707126539160; Mon, 05 Feb 2024 01:48:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707126539; cv=pass; d=google.com; s=arc-20160816; b=0xIOLhewi+td2OdVdXkkulERZ7jCub79A8qbPG0lwuk+5pozrdiS82erRhMyRK8jCz rdc3TggCAWVUUK4S1rIgtH5YScnRXy42fbTWEgMTVDx6YUVMG1L0/dC0TbsF0xpyJlqC TKCB2r4c7YI61o9HSnAo9EpynyC2SpZCRBpU74ksAZdv9FQsai1iHanroLMOBnHQTMjO Xkn9DGE9XK97KMe3BjEa5opjS33qd8sqL8boXp1WzwsdrrNbegXlmySUdL/oJIBRRGyl sWOHIZQg9vE1R7ZluCI1pesd3e8zOYrdWwzDOyvzS0Kv+QCbnasEtBGIo/QrKsWFxfw3 DoYQ== 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=4HXHrHNRaH/IGLDh84/hJNfQKsbtOoowjsd4egH2tFE=; fh=lJcaMRlFj8Hd2wvpX0i9cdnZLrT0/O7tKUW02S+sbjk=; b=KaqSoU6VZJvEwdffYs/EO16zcZ3HYsYeBxCVEQkCRLjLx6lDc+X03zRmhql9NxiWfa l/Xo6cAH8v33Tf2THEU4cWpoJ0nvPZbKQhOV3313E/o8Qs2L+T8RYrr2svI2DvfFbrao EqO8tvLXAceAw2mWzcq6jbPhbhgwiLnQQX2BNFx1OlGPxH8U/5Q/8TyPj9l8MLTQUsfL v+/+VQo2cL2MeW943wnvkkEjBtwT3y9fmEBDWXXqRAFtn6V5k4MSB1x2PjUGZOxMpg6e PvaBtSpaejSULY2gUhZnGubQYmvFfPKGFT1fpd5szb9V+uge+cKxNlOuT/CDc3DPKskS ElzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JVQQRWEe; arc=pass (i=1 dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-52343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52343-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCU3D2y/A4xEZPLlYpMeOCnEuR7zW1Z8mdfkivtniEJXKNK37n6GUMB8+cU0Qs2NHfPugmpuiV8DVL7rEW57XMMZHbCyr9OPm5To17OCWg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id bx4-20020a0564020b4400b005605051caa8si1481015edb.315.2024.02.05.01.48.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:48:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=JVQQRWEe; arc=pass (i=1 dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-52343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52343-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 am.mirrors.kernel.org (Postfix) with ESMTPS id E03211F215BE for ; Mon, 5 Feb 2024 09:48:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED5A3134A6; Mon, 5 Feb 2024 09:48:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="JVQQRWEe" Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 C6E11134AD for ; Mon, 5 Feb 2024 09:48:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=66.111.4.29 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126524; cv=none; b=NmucKSP/0LrXgnYExuVPnOOUseUQrCKqQfTP4XRx6onK6H/nuXqYjxwW8FqWBXb4uUpRWmdlHlyWZ6Vmr5evtzLOYzad4GO+9vazsZrumE8tzIHmeeusSgtOtpboSahqnR1hANZqcgLAv72CjqYtsGnQpZIh/+BgnENmd1StGrE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707126524; c=relaxed/simple; bh=Hf4odG5wn7R54sc/WswXFwxztiof6WIDGhFtOxaGJzc=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=i132xNf1F5XrQ4Rg35aQTQbZPJuLSpxwMeV+RI4FyNIxSBIue32hIlMQPofgEkSvDowS0hLdR4rduGfe/70dNiC3R5QT0jQ511Hdknpq0wPliTQJitvhQHErk2REiPMC5unNhum1sII0kI8NPYoMXY40lk8MGa5o1b1vCtUcm2E= 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=JVQQRWEe; arc=none smtp.client-ip=66.111.4.29 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 mailout.nyi.internal (Postfix) with ESMTP id 95CBB5C0112; Mon, 5 Feb 2024 04:48:40 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 05 Feb 2024 04:48:40 -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=1707126520; x=1707212920; bh=4HXHrHNRaH/IGLDh84/hJNfQKsbt Ooowjsd4egH2tFE=; b=JVQQRWEeOYnEhibTNuIBXSMWoBRVPo9jQIn5cPeafI9B t2aqtg/oyijjW33uoMbiCMaiPTVr0nx07m5RPDE1WnkpYpFDga8RilOqjh0S6zU6 TxjgKabtOx+vNkMTnA0czdlykdQKLIkNFpT1b0sp5TE6YbWDyElhf3LiNP0ls9KE IcdzWpSeGKC9fztMKc9lNF9i8d9pdZWqYXN1tKLYtSSPecCdeIrjy99+9n9s5/Kp HUfYyx0L4nq3KGkIqVamdn0aD/TSauVorrkyLz65RhSlKnOGgOcEU27Jc/J7+WKD ckAR2DuhVzxooOymrNpUI1twU74iaJa9jg4q1Ips7w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedvtddgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevufgjkfhfgggtsehttdertddttddvnecuhfhrohhmpefhihhnnhcu vfhhrghinhcuoehfthhhrghinheslhhinhhugidqmheikehkrdhorhhgqeenucggtffrrg htthgvrhhnpeelueehleehkefgueevtdevteejkefhffekfeffffdtgfejveekgeefvdeu heeuleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hfthhhrghinheslhhinhhugidqmheikehkrdhorhhg X-ME-Proxy: Feedback-ID: i58a146ae:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 5 Feb 2024 04:48:37 -0500 (EST) Date: Mon, 5 Feb 2024 20:48:52 +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: <00a7e866-23ff-fc63-b6df-364580f69c78@linux-m68k.org> 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> 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: > > This is why I am asking whether or not clang support is important or not > for m68k. If you tell me it is not, then fine, I will remove all the asm > (by the way, the patch is already ready). But if there are even a few > users who care about clang for m68k, then I do not think we should > penalize them and I would not sign-off a change which negatively impacts > some users. > 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.