From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by dpdk.org (Postfix) with ESMTP id A68965A40 for ; Mon, 20 Apr 2015 22:33:04 +0200 (CEST) Received: by pacyx8 with SMTP id yx8so217463872pac.1 for ; Mon, 20 Apr 2015 13:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=+NE9n5H5im5rolRETmCsMQD3mByOb+UMKE4segnUHPE=; b=ClBA45bVkMB8GUylzjFA/EqQxVO0GfYMRVGqZ/UO9G4v9lTZ3NYnue6c1QVXlMgh9S E0d83GyL1iePPknS12LcJBQ0zsuZA9kpF5bhw0USP+1KsRmARbpG3O+Bh2sNh06/ztr/ Zxar4nh0HWzlndnKNpCBB0TZRuPMQflfp3GG9Rrd7foxB5SLwRVUsT/ZGtrr25Iq5+OI WYuwTCpHdVLmHkwWwVQIDVeKR1pIC+iqPXrwIRyHW+lPBtD41JSupeB6Vrbwea6tMFeC szLhxeSHD5Q/AuxKOXB+cFJms86vIQbhnvmnLNn1CDxtSdQAQ2ZksgTdT4jeA0dI6+2e Tb6g== X-Received: by 10.66.141.143 with SMTP id ro15mr31912566pab.4.1429561984111; Mon, 20 Apr 2015 13:33:04 -0700 (PDT) Received: from user-PC.hsd1.ca.comcast.net (c-98-234-176-9.hsd1.ca.comcast.net. [98.234.176.9]) by mx.google.com with ESMTPSA id gu1sm18972135pbd.67.2015.04.20.13.33.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Apr 2015 13:33:03 -0700 (PDT) From: Ravi Kerur To: dev@dpdk.org Date: Mon, 20 Apr 2015 13:32:28 -0700 Message-Id: <1429561948-11777-1-git-send-email-rkerur@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [dpdk-dev] [PATCH v2] Clean up rte_memcpy.h 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: Mon, 20 Apr 2015 20:33:05 -0000 This version contains changes for removing unnecessary typecasting only. Backing out remaining changes i.e. loop-unrolling. Though loop-unrolling makes sense from more space/less time perspective, code generated by GCC 4.8.2 with "gcc -O3 -mavx -s" and "gcc -O3 -m64 -s" for loop of 2, 4 and 8 iterations are same and "memcpy perf" from "make test" reveals similar results for "with and without loop". Will investigate this later. Ravi Kerur (1): Clean up rte_memcpy.h file .../common/include/arch/x86/rte_memcpy.h | 340 +++++++++++---------- 1 file changed, 175 insertions(+), 165 deletions(-) -- 1.9.1