Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp11887rdb; Sun, 28 Jan 2024 11:02:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFje3CStIom3Sur53zopaWEgblpOV5RSDrMRr4UuMXMOjjkmFK9PUYnvmP4QwaIt9fB9yxj X-Received: by 2002:a17:906:fa87:b0:a35:9cf0:56d4 with SMTP id lt7-20020a170906fa8700b00a359cf056d4mr1169995ejb.30.1706468552897; Sun, 28 Jan 2024 11:02:32 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706468552; cv=pass; d=google.com; s=arc-20160816; b=GlqQ7YIVf1rcbyzexL0m5uuAJm9gMUVZF3hVLn8F91PDtHkG5lkjZr5FnXAmLngHCt +ArImJZNMJo/wnEJCP+YFt+rg5zQYWuhLwIE4PbPr4uFw5KuDSpt8Jj4tPybGHtkoPDi h9G0UT9YOybAXWgtT6bBkhjMfgj9WafrdNQS7Lb4T0GB9igNikQ3nWUFDPZzCgpzfxZI l1PmBRw//0JT/MHf1FgC9VUs/9nzWnM74S9kstPZ37xq0auvsfm9/CFtTMSQ1ikv+Apd wwMRNEcqAH7/QK0SfoAVUtcl9anLAjCH3Kh033x+LbcEIVQ1PPzEZadznUNoGecDvP44 HbFw== 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=IFk7ohYCGkaEaZqGweUu5moUQWGrImMh+yZAuCDHdqY=; fh=KZGMmBb0PRPcnuwNSxgFj+3iQ/6tosjRdiUMQGK7OIQ=; b=JnGjVeIxYVdisdmrowZXHZW2wvO/5xWfJgu9wH0x+7c9MnI8Il0F5QAVxxRWMQW9hf qPgGJR8HoXO8hZjvUjfZScZq2Vw2BeWiZWMlTRAZXAQjTAXkLjSdyfDpdJsxpLg5hV0G 7F5tS6qsQGnOEC+4sIc41VClZZ7+8zOs7G/iK0wrFFyQU+CGZWUidbgXrJrE99w/PENW EK9W88VJ3C01UaSn5FS+fvUBhFJWEQ5tW/fUVE7nbqbiEl4izkVo+GrfJWsL3V/xH50C 1u0sLQqFPT4gQh2OaTBcvTYg2sWpRZ5inLj/aHxfF3RHGn0l4QsuacUSxjXI4b6ibVXB bOQQ== 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-41895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41895-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id gg16-20020a170906e29000b00a30ecb7d5e1si2598492ejb.656.2024.01.28.11.02.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 11:02:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41895-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; arc=pass (i=1 spf=pass spfdomain=aculab.com dmarc=pass fromdomain=aculab.com); spf=pass (google.com: domain of linux-kernel+bounces-41895-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41895-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A61E61F21F22 for ; Sun, 28 Jan 2024 19:02:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 079FF31A66; Sun, 28 Jan 2024 19:02:27 +0000 (UTC) Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.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 B42DE2E851 for ; Sun, 28 Jan 2024 19:02:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.58.85.151 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706468546; cv=none; b=ZyC1qApSvh0Qt2x17VBw52EAWEZb8wdDl9jNmmdow84GmoVuWZj0LJ8vKriThyrFKF3Zb8MPrL+x6AH/UO/HmfREbiNQToFrdaj0l4yr2u3xTxa4f/Ro5cs4XYFk8xautHNi9gccAloQ7H0V6kbz/E/03iQwoilMfYU4OIEozSA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706468546; c=relaxed/simple; bh=IFk7ohYCGkaEaZqGweUu5moUQWGrImMh+yZAuCDHdqY=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: MIME-Version:Content-Type; b=LH3Hy8pEhsqpmhU7H82jxwSWnHdBbRX3FA3+JmBmL9Q9grRDycRgx502l1a2NjX47XxcJ6PLaGzkqz1hHGsWFUVZHOjeD7xdCvN5TnYlmaz42aUW6ajXdkBRTeg0AZAqnnFM9+J3NxTag3g9/l/M66l9pcoeVO7yogOL6bJ61M0= 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.85.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-204-vG2EihzvPXeJminPNiTDtQ-1; Sun, 28 Jan 2024 19:02:15 +0000 X-MC-Unique: vG2EihzvPXeJminPNiTDtQ-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Sun, 28 Jan 2024 19:01:51 +0000 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Sun, 28 Jan 2024 19:01:51 +0000 From: David Laight To: 'Vincent MAILHOL' CC: Finn Thain , 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: AQHaUbL1xJNZnFSfqkuoXGWoPFOF8LDvIt6wgAAVO4CAAFsoEA== Date: Sun, 28 Jan 2024 19:01:51 +0000 Message-ID: <3af455be023949649f4061223600250b@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> <9d9be9dbe92f43d2a95d11d6b2f434c1@AcuMS.aculab.com> 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 RnJvbTogVmluY2VudCBNQUlMSE9MIA0KPiBTZW50OiAyOCBKYW51YXJ5IDIwMjQgMTM6MjgNCi4u Lg0KPiBGYWlyLiBNeSBnb2FsIHdhcyBub3QgdG8gcG9pbnQgdG8gdGhlIGFzc2VtYmx5IGNvZGUg YnV0IHRvIHRoaXMgc2VudGVuY2U6DQo+IA0KPiAgIEhvd2V2ZXIsIGZvciBub24gY29uc3RhbnQg ZXhwcmVzc2lvbnMsIHRoZSBrZXJuZWwncyBmZnMoKSBhc20NCj4gICB2ZXJzaW9uIHJlbWFpbnMg YmV0dGVyIGZvciB4ODZfNjQgYmVjYXVzZSwgY29udHJhcnkgdG8gR0NDLCBpdA0KPiAgIGRvZXNu J3QgZW1pdCB0aGUgQ01PViBhc3NlbWJseSBpbnN0cnVjdGlvbg0KDQpUaGUgY29tbWVudCBpbiB0 aGUgY29kZSBpczoNCgkgKiBBTUQ2NCBzYXlzIEJTRkwgd29uJ3QgY2xvYmJlciB0aGUgZGVzdCBy ZWcgaWYgeD09MDsgSW50ZWw2NCBzYXlzIHRoZQ0KCSAqIGRlc3QgcmVnIGlzIHVuZGVmaW5lZCBp ZiB4PT0wLCBidXQgdGhlaXIgQ1BVIGFyY2hpdGVjdCBzYXlzIGl0cw0KCSAqIHZhbHVlIGlzIHdy aXR0ZW4gdG8gc2V0IGl0IHRvIHRoZSBzYW1lIGFzIGJlZm9yZSwgZXhjZXB0IHRoYXQgdGhlDQoJ ICogdG9wIDMyIGJpdHMgd2lsbCBiZSBjbGVhcmVkLg0KSSBndWVzcyBn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