Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4351DC433F5 for ; Fri, 19 Nov 2021 22:31:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234306AbhKSWeS (ORCPT ); Fri, 19 Nov 2021 17:34:18 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([185.58.85.151]:57627 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231477AbhKSWeR (ORCPT ); Fri, 19 Nov 2021 17:34:17 -0500 Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-150-TLzD-UFjPSu_uxpT-Txzlg-1; Fri, 19 Nov 2021 22:31:09 +0000 X-MC-Unique: TLzD-UFjPSu_uxpT-Txzlg-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) by AcuMS.aculab.com (fd9f:af1c:a25b:0:994c:f5c2:35d6:9b65) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Fri, 19 Nov 2021 22:31:08 +0000 Received: from AcuMS.Aculab.com ([fe80::994c:f5c2:35d6:9b65]) by AcuMS.aculab.com ([fe80::994c:f5c2:35d6:9b65%12]) with mapi id 15.00.1497.026; Fri, 19 Nov 2021 22:31:08 +0000 From: David Laight To: 'Noah Goldstein' CC: "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "x86@kernel.org" , "hpa@zytor.com" , "luto@kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v4] arch/x86: Improve 'rep movs{b|q}' usage in memmove_64.S Thread-Topic: [PATCH v4] arch/x86: Improve 'rep movs{b|q}' usage in memmove_64.S Thread-Index: AQHX2/aBIpegHmlt3EiJPKc4pU+GYawITRxwgAAEh4CAAxnnEA== Date: Fri, 19 Nov 2021 22:31:08 +0000 Message-ID: References: <20211101044955.2295495-1-goldstein.w.n@gmail.com> <20211117210245.843374-1-goldstein.w.n@gmail.com> In-Reply-To: Accept-Language: en-GB, 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTm9haCBHb2xkc3RlaW4NCj4gU2VudDogMTcgTm92ZW1iZXIgMjAyMSAyMjo0NQ0KPiAN Cj4gT24gV2VkLCBOb3YgMTcsIDIwMjEgYXQgNDozMSBQTSBEYXZpZCBMYWlnaHQgPERhdmlkLkxh aWdodEBhY3VsYWIuY29tPiB3cm90ZToNCj4gPg0KPiA+IEZyb206IE5vYWggR29sZHN0ZWluDQo+ ID4gPiBTZW50OiAxNyBOb3ZlbWJlciAyMDIxIDIxOjAzDQo+ID4gPg0KPiA+ID4gQWRkIGNoZWNr IGZvciAic2hvcnQgZGlzdGFuY2UgbW92c2IiIGZvciBmb3J3YXJkcyBGU1JNIHVzYWdlIGFuZA0K PiA+ID4gZW50aXJlbHkgcmVtb3ZlIGJhY2t3YXJkcyAncmVwIG1vdnNxJy4gQm90aCBvZiB0aGVz ZSB1c2FnZXMgaGl0ICJzbG93DQo+ID4gPiBtb2RlcyIgdGhhdCBhcmUgYW4gb3JkZXIgb2YgbWFn bml0dWRlIHNsb3dlciB0aGFuIHVzdWFsLg0KPiA+ID4NCj4gPiA+ICdyZXAgbW92c2InIGhhcyBz b21l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