From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B27ECA00C4; Thu, 28 Jul 2022 12:51:35 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C04240151; Thu, 28 Jul 2022 12:51:35 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 64DBD4014F for ; Thu, 28 Jul 2022 12:51:33 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [RFC v2] non-temporal memcpy Date: Thu, 28 Jul 2022 12:51:31 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D87201@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC v2] non-temporal memcpy Thread-Index: AdiiBJJOlcYd1mlsRnq7bBCS3GeDwAAZXt8w References: <98CBD80474FA8B44BF855DF32C47DC35D871D4@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D871DB@smartserver.smartshare.dk> <262c214b-7870-a221-2621-6684dce42823@yandex.ru> <98CBD80474FA8B44BF855DF32C47DC35D871F7@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D871FD@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: =?UTF-8?B?U3RhbmlzxYJhdyBLYXJkYWNo?= , "Honnappa Nagarahalli" Cc: "Konstantin Ananyev" , "dev" , "Bruce Richardson" , "Jan Viktorin" , "Ruifeng Wang" , "David Christensen" , "nd" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-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