From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26883 invoked by alias); 12 Aug 2013 07:55:07 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 26868 invoked by uid 89); 12 Aug 2013 07:55:06 -0000 X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.2 Received: from mail-we0-f175.google.com (HELO mail-we0-f175.google.com) (74.125.82.175) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Mon, 12 Aug 2013 07:55:06 +0000 Received: by mail-we0-f175.google.com with SMTP id q58so5159086wes.20 for ; Mon, 12 Aug 2013 00:55:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=99kB9j80T0iYYl1gv8DIVgDLc7YJGFan2j55lRVCHcQ=; b=SQl6wefRqO1bhWCf2y+46WDW+NXbD92vWlpQfcWAebmOhV1Y6B2YSZxj9JgZhkAr6Y f8EuKhBO+flZXh2BKKJ7nG7XxxB8bsh7t/IwUhRv/LEB5cUffBNle4jCo/AlULs3eGnn UAYV16xRjYv2JKi4Otk4y3edfoAi+IT9lTJR3TPa/LeovFongnhHkhSk/ThLh98SmP0e 3zRejsNBdmPJPFxURmM1vBA4RvrFxPry3ONzcqrdqLz3LJ9EETNqPEr7fu+HJRP8obkr lsVC/yR0rzZVlo1qjThfowiqm8wadJDSvJVLRWJjnwKqHlHbl1Y6xYWQZ6wMG3pQ4LnF Fk/A== X-Gm-Message-State: ALoCoQm6Vx/sisMj7pD1v3kvM/7AQTFBLPTH/19Wh45FAy4jD933W7JLyHdAnMpuPqj3/t8OibNh X-Received: by 10.180.75.164 with SMTP id d4mr5659448wiw.58.1376294104154; Mon, 12 Aug 2013 00:55:04 -0700 (PDT) Received: from localhost.localdomain (cpc11-seac20-2-0-cust84.7-2.cable.virginmedia.com. [81.108.156.85]) by mx.google.com with ESMTPSA id l5sm14577799wia.6.2013.08.12.00.55.02 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 12 Aug 2013 00:55:03 -0700 (PDT) Message-ID: <520894D5.7060207@linaro.org> Date: Mon, 12 Aug 2013 07:55:00 -0000 From: Will Newton User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7 MIME-Version: 1.0 To: libc-ports@sourceware.org CC: patches@linaro.org Subject: [PATCH] sysdeps/arm/armv7/multiarch/memcpy_impl.S: Improve performance. Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00000.txt.bz2 A small change to the entry to the aligned copy loop improves performance slightly on A9 and A15 cores for certain copies. ports/ChangeLog.arm: 2013-08-07 Will Newton * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Tighten check on entry to aligned copy loop for improved performance. --- ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S b/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S index 3decad6..6e84173 100644 --- a/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S +++ b/ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S @@ -369,8 +369,8 @@ ENTRY(memcpy) cfi_adjust_cfa_offset (FRAME_SIZE) cfi_rel_offset (tmp2, 0) cfi_remember_state - and tmp2, src, #3 - and tmp1, dst, #3 + and tmp2, src, #7 + and tmp1, dst, #7 cmp tmp1, tmp2 bne .Lcpy_notaligned -- 1.8.1.4