From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118706 invoked by alias); 26 Jun 2017 08:23:34 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 118692 invoked by uid 89); 26 Jun 2017 08:23:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*R:D*sourceware.org, H*R:U*newlib, H*c:application X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Jun 2017 08:23:31 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id AAD4B81229 for ; Mon, 26 Jun 2017 08:23:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com AAD4B81229 Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=vinschen@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com AAD4B81229 Received: from calimero.vinschen.de (ovpn-117-36.ams2.redhat.com [10.36.117.36]) by smtp.corp.redhat.com (Postfix) with ESMTP id 77DA47EA34 for ; Mon, 26 Jun 2017 08:23:30 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id DBBE1A805F0; Mon, 26 Jun 2017 10:23:29 +0200 (CEST) Date: Mon, 26 Jun 2017 08:23:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] aarch64: optimize the unaligned case of memcmp Message-ID: <20170626082329.GB6201@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <1498249389-27204-1-git-send-email-s.pop@samsung.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: <1498249389-27204-1-git-send-email-s.pop@samsung.com> User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017/txt/msg00477.txt.bz2 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1167 On Jun 23 15:23, Sebastian Pop wrote: > This brings to newlib a performance improvement that we developed in Bion= ic > libc. That change has been submitted for review to Bionic libc: > https://android-review.googlesource.com/418279 >=20 > A similar patch has been submitted for review in glibc: > https://sourceware.org/ml/libc-alpha/2017-06/msg01143.html >=20 > Patch written by Vikas Sinha and Sebastian Pop. >=20 > The performance was measured on the bionic-benchmarks on a hikey (aarch64= 8xA53) > board. There was no performance change to the existing benchmark > and a performance improvement on the new benchmark for memcmp > on the unaligned side. The new benchmark has been submitted for > review at https://android-review.googlesource.com/414860 >=20 > The overall performance improves by 18% for the small data set 8 > and the performance improves by 450% for the large data set 64k. >=20 > The base is with the libc from /system/lib64. The bionic libc > with this patch is in /data. > [...] > newlib/libc/machine/aarch64/memcmp.S | 57 ++++++++++++++++++++++++++++++= ++++-- Pushed. Thanks, Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZUMSBAAoJEPU2Bp2uRE+gjCgP/1CgiHdPaSIweSZ3L0sRNS6d x/lzMr/72wo5+NCNyXMRiIIgBfVU7o7J4J5BrCFAy31iFle67LgrO74qB6ALy4W0 jj0/9ZOco/JFdXtaaOG/Zzl83WHnfyF/M/ux2nuEm2jNtf8w6gcfZGS5zpuXddZa 2oTeMYX4gBIoJ92Ht8yRG/e4MGOd0Sm2EsO8oucWb8/ONjMlUY9lJn81gAni3I3e ieoUqa5t3J9RIeIkc2u67cdpv7cZz4/YQ1xq5lAqSiFYnTl72Vd8dZdIWct+lfq3 s4JCyrFo9jykyuBtco0nTiIATnv8ii+v3wmS5KPyGmHUrfoBqBsgVbRt6YRLtGLL T5Q2F0onmoKc0QfuTug0mE70j0o3OCkZksiqqTOwWWSQChRu6J11zgfEp/Et+sx5 +MBq3/BOZq9zM084YhcPLek+popS3EcR4gs77lMQ3JDKJblI/3QFayJ4SB3QIkJs aC531PiHBnIabQ6ctweZd77O8/Xe9ZUVoLWtndyTR6OGODbXJUpSf1TcWcdgKLwt J+ufMmZsg3yCJrpz0jYbahOvZp6iE1wPF6Une5uz+OGIWQsHnEXfOVI/13vfzjAS 1TNEntFYSYBgQpZ730hGQZSSdZAf1rWf+gjwq0OExvqHnbeH/tNvJ2Ys7xJMs9x/ lBwRUQNk/qWtUqxAMEgV =HRk/ -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm--