From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f174.google.com (mail-pd0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 9F7FC378E for ; Wed, 15 Apr 2015 04:53:43 +0200 (CEST) Received: by pdbqa5 with SMTP id qa5so34746319pdb.1 for ; Tue, 14 Apr 2015 19:53:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-type:content-transfer-encoding; bh=nukUl0R4+/bmiIpuh7U50Ot9bB7SlsYymDmtoHuIR7A=; b=iAUni5cuXA2PpZaxQQjK9S6El6InZF+NgBBY6eP1o/iT9q6zVkmeikJS0cKgrcm9XG tu9jOkHw/QVIDsEzF/V8QfKd45w3BTs1XPdnkHUc9ezpMvJUxNawwQ2o/I8AG5+jU5ue QFzF1+/4gQMDolbxoNehsqz1FLtzB1lzfpn6e1UNjw3vQ1GIwSSIGe9xQH3WVk/2YzmA 4k34VEfYINDeqLcy8plcA7cb37Em47XxuIWNoCpcQXcIZsYFR472HGahdKJY5IqGXQdP 9RnE5Pp1uFFQ2Dc2aYGUYJdoKnUsKdzo7zJX15tXVggpy4bBwC0QRAa/I0Xgd30E2YsP Z/zQ== X-Gm-Message-State: ALoCoQnoEyKHoblzuM+CTVKf7N9Dbx47mCdM23t0xSqtRUKpzWYN3CQ1gB2JiY5NRCrckizpSCKt X-Received: by 10.66.150.165 with SMTP id uj5mr42346558pab.54.1429066422808; Tue, 14 Apr 2015 19:53:42 -0700 (PDT) Received: from urahara (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id f1sm2452766pdp.24.2015.04.14.19.53.42 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 19:53:42 -0700 (PDT) Date: Tue, 14 Apr 2015 19:53:48 -0700 From: Stephen Hemminger To: Ravi Kerur Message-ID: <20150414195348.7fe30c3f@urahara> In-Reply-To: <1429047113-11688-1-git-send-email-rkerur@gmail.com> References: <1429047011-11545-1-git-send-email-rkerur@gmail.com> <1429047113-11688-1-git-send-email-rkerur@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] Clean up rte_memcpy.h file 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, 15 Apr 2015 02:53:44 -0000 On Tue, 14 Apr 2015 14:31:53 -0700 Ravi Kerur wrote: > + > + for (i = 0; i < 2; i++) > + rte_mov32(dst + i * 32, src + i * 32); > } Unless you force compiler to unroll the loop, it will be slower.