Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp644983ybz; Wed, 15 Apr 2020 15:50:58 -0700 (PDT) X-Google-Smtp-Source: APiQypIhlhqDsn8vDOobp/8tKRKHc2sQ42SIbFX4qJQuIL+QWi2zW4BuVS6CzmWUwOmLnPcDrqO4 X-Received: by 2002:a50:cd4e:: with SMTP id d14mr15953338edj.223.1586991058083; Wed, 15 Apr 2020 15:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586991058; cv=none; d=google.com; s=arc-20160816; b=bfh4yOQL0zwv7nmeX/bGu7C5JHVO8Nmd6TcLE9UxvJ5ajONQ8HxH/2wTdycfkz7zfI 7XCvpYtV3LSRazISKlBAhfK/0wicRgmrG/s5iEEvjv2Hikz1it+PhqaYS+Rm9/50nhdO S5TjRqVR0pPmhYNeFJOgo6FbcWqw88m+TYj4HT1+lAPSg5EclE0FytpU+/IZgTjH7CU6 6F9/zowPHWKoh1QSCnFdLe7JAovGE2uzAxbvm5TYbbe9SOo6um231hD5Tq67hxoDo0s+ VsSiU6dPU2hYaxQP3jpMiKhF+vhupO81j9aGFvFt9+ggr5JHPbJgRz9w6mu/c9ry3rvZ i+BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from; bh=5mh8J5/KmPrcfNYMk+PQtnSu7iLkPMDEIjRh4urrOF8=; b=PP2IOp/mMUZ+JesJXBoTgFm/1+T3sMJBnjHcrb9cD5gT+IBpCZyoZETtWYxq3JvIL6 sm+VMQZuR/1zmEqQn8xoMuMphW0T7tZ1giygpkvdt7l3lD2nxsb+0UXr1OuxDrmdpVUI RFEvxjgsbLEyJIoprNUEtvYRFxyLMhtHGJvUZONeZTazfoCVbLfmYkQ7qST9b875P2VB 5D2Xf9T343q57j6Nlmb3NH+/1uzHJbaol4AXQ6hYUSWm4muueUX9KcpFdDBzt6eSVSJN q1Z/p4KEwnSa/wKRyC2yJfYIYGlxHm4c2nYQ68XvLUJRJ/gog3mu4UkaS+JlCJG7YIzv HmNg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b26si6324713edr.228.2020.04.15.15.50.34; Wed, 15 Apr 2020 15:50:58 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2895716AbgDOJji (ORCPT + 99 others); Wed, 15 Apr 2020 05:39:38 -0400 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:55090 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2895690AbgDOJje (ORCPT ); Wed, 15 Apr 2020 05:39:34 -0400 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-26-3LtwRS6zPnGStZcChf9l-A-1; Wed, 15 Apr 2020 10:39:30 +0100 X-MC-Unique: 3LtwRS6zPnGStZcChf9l-A-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Wed, 15 Apr 2020 10:39:30 +0100 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Wed, 15 Apr 2020 10:39:30 +0100 From: David Laight To: =?utf-8?B?J0NocmlzdGlhbiBLw7ZuaWcn?= , "Jani Nikula" , Alex Deucher , Bernard Zhao CC: Alex Sierra , Oak Zeng , "Maling list - DRI developers" , David Airlie , Felix Kuehling , LKML , amd-gfx list , "kernel@vivo.com" , Huang Rui , "Kent Russell" , Alex Deucher , "Sam Ravnborg" , Xiaojie Yuan Subject: RE: [PATCH] Optimized division operation to shift operation Thread-Topic: [PATCH] Optimized division operation to shift operation Thread-Index: AQHWEvuQwS1rXduVrE2yfaZDBTuKn6h57U6g Date: Wed, 15 Apr 2020 09:39:29 +0000 Message-ID: References: <1586864113-30682-1-git-send-email-bernard@vivo.com> <87lfmx5h72.fsf@intel.com> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQ2hyaXN0aWFuIEvDtm5pZw0KPiBTZW50OiAxNSBBcHJpbCAyMDIwIDA4OjU3DQo+IEFt IDE1LjA0LjIwIHVtIDA5OjQxIHNjaHJpZWIgSmFuaSBOaWt1bGE6DQo+ID4gT24gVHVlLCAxNCBB cHIgMjAyMCwgQWxleCBEZXVjaGVyIDxhbGV4ZGV1Y2hlckBnbWFpbC5jb20+IHdyb3RlOg0KPiA+ PiBPbiBUdWUsIEFwciAxNCwgMjAyMCBhdCA5OjA1IEFNIEJlcm5hcmQgWmhhbyA8YmVybmFyZEB2 aXZ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