Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp675461rdb; Sun, 28 Jan 2024 04:17:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQ9c7Nfwg87LuRPpRo9Kx13AdmorWQi4HgJDnfRA0J1Wq3KEtkR/UfhofYR3AiE/Dkau5r X-Received: by 2002:a17:903:230d:b0:1d8:a677:2f7d with SMTP id d13-20020a170903230d00b001d8a6772f7dmr2379701plh.25.1706444246594; Sun, 28 Jan 2024 04:17:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706444246; cv=pass; d=google.com; s=arc-20160816; b=MWBzfBRH3kxr4rWBUMaLrsriUQoTR4ln58v0ceq0hWFovdwhJWpPxyxkpq7ygM86UN aTzHUqaq1cYWYOAXRlKjk94C2xlFEsUbQLWwlKoEF9BBGXlXQ0TEHypBpOoe7BCHtkaU sMeSmtGt3tuTcGe2MmjSBueEYikxDXbyEmA93DHAjJ8rDSGzV+UwSi8FxnBEw5x2TKhs O/zdXb8UC5J+COMaLpiQZURlpX7B0yi5CA7AjAtdz5ZA37tYjTquWVoi5M/IrCx5G7Y1 qq2G3tX/ebsv/rDYM+/DgTeXoILMV1k3bFBUStMcslfDgYHSpDwnwoi/oSrJgvq7I72o Fw/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=SozXLh3KenyMR0qcRmmuAZrWrBYZ30sZ1xNaH0/AzYQ=; fh=qO+4+ina4iCEReY7ibND6BeffJx1YH4jrn/X8TNWomU=; b=loJaE8gXt0VD4fwCR/JwgIYdgMD9LZ/Fz4LcxbC+YeZqubMAual9Watbl5Vn+9sTDv g4TDa6aDwzhUV+Skqj1Lz1cmZ3LwRqfzmOmh9mx89HQ9IIttNJhM6c1P8Kwk8gqjO/+3 obLhCDl5iamaw0gICSXY/yZv3cdP7d2erTHCKQ0JRBdq7WSpYp3GN5XnZXQ2Z9kTCAl4 DMagtk8hK+t+rFdBoFJTjtz3LPO8K5K5cvWQgQp3osoN+Lp67DeUDpX9pp0h5B6cofvU ZwOmtE3lhBvD0f+vzZYPtV39g7B9ln/yduxP27uxBIRLptpHjToxBp9Llfb8wGWQur2P ziAg== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-41619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id x16-20020a170902ec9000b001d6e4b51d1dsi1118290plg.539.2024.01.28.04.17.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 04:17:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-41619-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id DB60C28228F for ; Sun, 28 Jan 2024 12:17:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 501FA20B10; Sun, 28 Jan 2024 12:17:17 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) (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 94F2E208B4 for ; Sun, 28 Jan 2024 12:17:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.86.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706444236; cv=none; b=PclIobvy81jVUAECLyOy2x9kFBp2XyJnTU6i0nHsWRxERko7F0HyDlWrBs4U1q/YjFImU/eo6oLNwCLrqNLmJ8VrvOFkiuf8FLkTDGF45c7lw8FFO91GFVcBMWxT0Ccfz7nYkw0M4q9URZ/PNovGI/9DX1BwF8ZUOV9VVb82IGA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706444236; c=relaxed/simple; bh=SozXLh3KenyMR0qcRmmuAZrWrBYZ30sZ1xNaH0/AzYQ=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=lhIY5qw9cUOkR5jGjz/H8dMtF+vqSbUPklOb9SCzSz3jOcnMrVHVMnP2Xoh2JXShq9XX5SvgAuGhFNatd9Xvnrj3LmaUFBlNWRyh6uaHCcID6VxMZ+JaQWDQO0z5qYGzrhB65ixmAsXUBodGgT5BBja80ZMAMDui+XNG9DFssKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM; spf=pass smtp.mailfrom=aculab.com; arc=none smtp.client-ip=185.58.86.151 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=ACULAB.COM Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aculab.com Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-275--Xf6UUp_NjOr1vM6gW-ukg-1; Sun, 28 Jan 2024 12:17:05 +0000 X-MC-Unique: -Xf6UUp_NjOr1vM6gW-ukg-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 28 Jan 2024 12:16:42 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 28 Jan 2024 12:16:41 +0000 From: David Laight To: 'Vincent MAILHOL' , Finn Thain CC: 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 Thread-Topic: [PATCH v4 2/5] m68k/bitops: use __builtin_{clz,ctzl,ffs} to evaluate constant expressions Thread-Index: AQHaUbL1xJNZnFSfqkuoXGWoPFOF8LDvIt6w Date: Sun, 28 Jan 2024 12:16:41 +0000 Message-ID: <9d9be9dbe92f43d2a95d11d6b2f434c1@AcuMS.aculab.com> References: <20221111081316.30373-1-mailhol.vincent@wanadoo.fr> <20240128050449.1332798-1-mailhol.vincent@wanadoo.fr> <20240128050449.1332798-3-mailhol.vincent@wanadoo.fr> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 RnJvbTogVmluY2VudCBNQUlMSE9MDQo+IFNlbnQ6IDI4IEphbnVhcnkgMjAyNCAwNjoyNw0KPiAN Cj4gT24gU3VuLiAyOCBKYW4uIDIwMjQgYXQgMTQ6MzksIEZpbm4gVGhhaW4gPGZ0aGFpbkBsaW51 eC1tNjhrLm9yZz4gd3JvdGU6DQo+ID4gT24gU3VuLCAyOCBKYW4gMjAyNCwgVmluY2VudCBNYWls aG9sIHdyb3RlOg0KPiA+DQo+ID4gPiBUaGUgY29tcGlsZXIgaXMgbm90IGFibGUgdG8gZG8gY29u c3RhbnQgZm9sZGluZyBvbiAiYXNtIHZvbGF0aWxlIiBjb2RlLg0KPiA+ID4NCj4gPiA+IEV2YWx1 YXRlIHdoZXRoZXIgb3Igbm90IHRoZSBmdW5jdGlvbiBhcmd1bWVudCBpcyBhIGNvbnN0YW50IGV4 cHJlc3Npb24NCj4gPiA+IGFuZCBpZiB0aGlzIGlzIHRoZSBjYXNlLCByZXR1cm4gYW4gZXF1aXZh bGVudCBidWlsdGluIGV4cHJlc3Npb24uDQo+ID4gPg0KLi4uDQo+ID4gSWYgdGhlIGJ1aWx0aW4g aGFzIHRoZSBkZXNpcmVkIGJlaGF2aW91ciwgd2h5IGRvIHdlIHJlaW1wbGVtZW50IGl0IGluIGFz bT8NCj4gPiBTaG91bGRuJ3Qgd2UgYWJhbmRvbiBvbmUgb3IgdGhlIG90aGVyIHRvIGF2b2lkIGhh dmluZyB0byBwcm92ZSAoYW5kDQo+ID4gbWFpbnRhaW4pIHRoZWlyIGVxdWl2YWxlbmNlPw0KPiAN Cj4gVGhlIGFzbSBpcyBtZWFudCB0byBwcm9kdWNlIGJldHRlciByZXN1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