From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32645 invoked by alias); 18 Apr 2013 17:58:27 -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 32634 invoked by uid 89); 18 Apr 2013 17:58:27 -0000 X-Spam-SWARE-Status: No, score=-5.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_CB,TW_CP autolearn=ham version=3.3.1 Received: from mail-we0-f172.google.com (HELO mail-we0-f172.google.com) (74.125.82.172) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 18 Apr 2013 17:58:26 +0000 Received: by mail-we0-f172.google.com with SMTP id r3so2661110wey.17 for ; Thu, 18 Apr 2013 10:58:24 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.180.208.47 with SMTP id mb15mr35470054wic.16.1366307904232; Thu, 18 Apr 2013 10:58:24 -0700 (PDT) Received: by 10.194.57.202 with HTTP; Thu, 18 Apr 2013 10:58:24 -0700 (PDT) In-Reply-To: References: <516D18F0.4060009@linaro.org> <516EC27E.8080502@twiddle.net> <516FA3CF.8080200@twiddle.net> Date: Thu, 18 Apr 2013 17:58:00 -0000 Message-ID: Subject: Re: [PATCH v2] ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC. From: Siddhesh Poyarekar To: Will Newton Cc: Richard Henderson , libc-ports@sourceware.org, Patch Tracking Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-04/txt/msg00093.txt.bz2 On 18 April 2013 13:55, Siddhesh Poyarekar wrote: > On 18 April 2013 13:24, Will Newton wrote: >> Thanks for the offer, I don't have any armv6 hardware to test with. >> The easiest way to test is probably using the cortex-strings package >> (as the patch I posted is for armv7). >> >> https://launchpad.net/cortex-strings >> >> "try-this -t memcpy" will benchmark the code I submitted, "try-glibc >> -t memcpy" will benchmark the current glibc code. > > OK, I'll try to do this tonight (i.e. ~8 hours from now) since the > board is at home and I'm not. I assume you want 'current glibc code' > to be master? The distribution version is 2.17 IIRC or at worst 2.16. `try-this` crashes with a SIGILL: Program received signal SIGILL, Illegal instruction. memset () at src/linaro-a9/memset.S:64 64 cbz r2, 10f @ Exit if 0 length (gdb) bt I don't know much arm assembly, but digging around a bit I found that cbz is implemented on armv6T2 or later and hence not available on my board. If you're interested in making this work on armv6 then I can give this a shot - I've been meaning to start playing with arm assembly anyway. Siddhesh -- http://siddhesh.in