From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f172.google.com (mail-ob0-f172.google.com [209.85.214.172]) by dpdk.org (Postfix) with ESMTP id 352C95697 for ; Wed, 13 May 2015 22:00:36 +0200 (CEST) Received: by obcus9 with SMTP id us9so38239299obc.2 for ; Wed, 13 May 2015 13:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8r6KfRDoXixD5wLKkx1nMVjdjJ8tvHmpZsdwJeDpY+s=; b=BtOgnWsA17uIaWHTRz7aHqw+OalTmPK24BiiMfzT1LWG3Css3+P4fUC+uOtGN4MSNL k5SFKPzImbJjI9izWPUcRv7tmmjVQTU6Q0g1lqUSd1vkqdoMVEiAIFelQ33vguVREXK1 Um4UN4lIwM5XFCJRMMrsxMupAo4NGiHAkWKu4jgrCdEWv2LBHnnCdc4Lep22eNOSnTMC P4I/wtTX3+G0suTkoXLLsjXiIn78vjcLbLzViBJx3oNbezpIcquXFSs7Hdl8Fng95R1V n86rTIhSJF/okdJUUXlTkDtO3P/l7CG3wgUuapGtpML6VJPkgp9W2O3eRHH6xyoo/hz4 v2FA== MIME-Version: 1.0 X-Received: by 10.60.124.20 with SMTP id me20mr508104oeb.86.1431547235426; Wed, 13 May 2015 13:00:35 -0700 (PDT) Received: by 10.202.179.195 with HTTP; Wed, 13 May 2015 13:00:35 -0700 (PDT) In-Reply-To: <5552FBC2.709@huawei.com> References: <1431119946-32078-1-git-send-email-rkerur@gmail.com> <1431119989-32124-1-git-send-email-rkerur@gmail.com> <5551B615.5060405@huawei.com> <5552FBC2.709@huawei.com> Date: Wed, 13 May 2015 13:00:35 -0700 Message-ID: From: Ravi Kerur To: Linhaifeng Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] Implement memcmp using AVX/SSE instructions. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2015 20:00:36 -0000 On Wed, May 13, 2015 at 12:22 AM, Linhaifeng wrote: > > > On 2015/5/13 9:18, Ravi Kerur wrote: > > If you can wait until Thursday I will probably send v3 patch which will > > have full memcmp support. > > Ok, I'd like to test it:) > > > > > In your program try with volatile pointer and see if it helps. > > like "volatile uint8_t *src, *dst" ? > uint8_t * volatile src