| Message ID | 20231005122030.81381-1-sebastian.huber@embedded-brains.de |
|---|---|
| Headers |
Return-Path: <newlib-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4CA1638313AB for <patchwork@sourceware.org>; Thu, 5 Oct 2023 12:20:47 +0000 (GMT) X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) by sourceware.org (Postfix) with ESMTPS id 322A3387545C for <newlib@sourceware.org>; Thu, 5 Oct 2023 12:20:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 322A3387545C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embedded-brains.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embedded-brains.de Received: from sslproxy06.your-server.de ([78.46.172.3]) by dedi548.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <sebastian.huber@embedded-brains.de>) id 1qoNLG-000O4u-6J for newlib@sourceware.org; Thu, 05 Oct 2023 14:20:34 +0200 Received: from [82.100.198.138] (helo=mail.embedded-brains.de) by sslproxy06.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <sebastian.huber@embedded-brains.de>) id 1qoNLG-000808-2Y for newlib@sourceware.org; Thu, 05 Oct 2023 14:20:34 +0200 Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id A8D2D480205 for <newlib@sourceware.org>; Thu, 5 Oct 2023 14:20:33 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavis, port 10032) with ESMTP id nC8yVSD1MQF6 for <newlib@sourceware.org>; Thu, 5 Oct 2023 14:20:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 4A9094801D8 for <newlib@sourceware.org>; Thu, 5 Oct 2023 14:20:33 +0200 (CEST) X-Virus-Scanned: amavis at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavis, port 10026) with ESMTP id oCqfFZeHixYy for <newlib@sourceware.org>; Thu, 5 Oct 2023 14:20:33 +0200 (CEST) Received: from zimbra.eb.localhost (unknown [192.168.96.242]) by mail.embedded-brains.de (Postfix) with ESMTPSA id 2722D480055 for <newlib@sourceware.org>; Thu, 5 Oct 2023 14:20:33 +0200 (CEST) From: Sebastian Huber <sebastian.huber@embedded-brains.de> To: newlib@sourceware.org Subject: [PATCH v4 0/2] aarch64: Sync with ARM-software/optimized-routines Date: Thu, 5 Oct 2023 14:20:28 +0200 Message-Id: <20231005122030.81381-1-sebastian.huber@embedded-brains.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldi-networks.de X-Virus-Scanned: Clear (ClamAV 0.103.10/27052/Thu Oct 5 09:38:26 2023) X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces+patchwork=sourceware.org@sourceware.org Sender: "Newlib" <newlib-bounces+patchwork=sourceware.org@sourceware.org> |
| Series |
aarch64: Sync with ARM-software/optimized-routines
|
|
Message
Sebastian Huber
Oct. 5, 2023, 12:20 p.m. UTC
This patch set synchronizes AArch64-specific files with the https://github.com/ARM-software/optimized-routines upstream. Sebastian Huber (2): aarch64: Sync with ARM-software/optimized-routines aarch64: Import memrchr.S v3: Use latest commit. v4: Update COPYING.NEWLIB. Sebastian Huber (2): aarch64: Sync with ARM-software/optimized-routines aarch64: Import memrchr.S COPYING.NEWLIB | 250 ++++++++++++ newlib/Makefile.in | 40 ++ newlib/libc/machine/aarch64/Makefile.inc | 2 + newlib/libc/machine/aarch64/asmdefs.h | 106 +++++ newlib/libc/machine/aarch64/memchr.S | 73 ++-- newlib/libc/machine/aarch64/memcmp.S | 311 ++++++++------- newlib/libc/machine/aarch64/memcpy.S | 272 +++++++------ newlib/libc/machine/aarch64/memrchr-stub.c | 11 + newlib/libc/machine/aarch64/memrchr.S | 115 ++++++ newlib/libc/machine/aarch64/memset.S | 194 ++------- newlib/libc/machine/aarch64/stpcpy.S | 36 +- newlib/libc/machine/aarch64/strchr.S | 107 ++--- newlib/libc/machine/aarch64/strchrnul.S | 90 ++--- newlib/libc/machine/aarch64/strcmp.S | 282 +++++++------ newlib/libc/machine/aarch64/strcpy.S | 437 ++++++--------------- newlib/libc/machine/aarch64/strlen.S | 319 +++++++-------- newlib/libc/machine/aarch64/strncmp.S | 323 ++++++++------- newlib/libc/machine/aarch64/strnlen.S | 256 ++++-------- newlib/libc/machine/aarch64/strrchr.S | 86 ++-- 19 files changed, 1644 insertions(+), 1666 deletions(-) create mode 100644 newlib/libc/machine/aarch64/asmdefs.h create mode 100644 newlib/libc/machine/aarch64/memrchr-stub.c create mode 100644 newlib/libc/machine/aarch64/memrchr.S
Comments
On 05/10/2023 13:20, Sebastian Huber wrote: > This patch set synchronizes AArch64-specific files with the > > https://github.com/ARM-software/optimized-routines > > upstream. > > Sebastian Huber (2): > aarch64: Sync with ARM-software/optimized-routines > aarch64: Import memrchr.S > > v3: > > Use latest commit. > > v4: > > Update COPYING.NEWLIB. > > Sebastian Huber (2): > aarch64: Sync with ARM-software/optimized-routines > aarch64: Import memrchr.S > > COPYING.NEWLIB | 250 ++++++++++++ > newlib/Makefile.in | 40 ++ > newlib/libc/machine/aarch64/Makefile.inc | 2 + > newlib/libc/machine/aarch64/asmdefs.h | 106 +++++ > newlib/libc/machine/aarch64/memchr.S | 73 ++-- > newlib/libc/machine/aarch64/memcmp.S | 311 ++++++++------- > newlib/libc/machine/aarch64/memcpy.S | 272 +++++++------ > newlib/libc/machine/aarch64/memrchr-stub.c | 11 + > newlib/libc/machine/aarch64/memrchr.S | 115 ++++++ > newlib/libc/machine/aarch64/memset.S | 194 ++------- > newlib/libc/machine/aarch64/stpcpy.S | 36 +- > newlib/libc/machine/aarch64/strchr.S | 107 ++--- > newlib/libc/machine/aarch64/strchrnul.S | 90 ++--- > newlib/libc/machine/aarch64/strcmp.S | 282 +++++++------ > newlib/libc/machine/aarch64/strcpy.S | 437 ++++++--------------- > newlib/libc/machine/aarch64/strlen.S | 319 +++++++-------- > newlib/libc/machine/aarch64/strncmp.S | 323 ++++++++------- > newlib/libc/machine/aarch64/strnlen.S | 256 ++++-------- > newlib/libc/machine/aarch64/strrchr.S | 86 ++-- > 19 files changed, 1644 insertions(+), 1666 deletions(-) > create mode 100644 newlib/libc/machine/aarch64/asmdefs.h > create mode 100644 newlib/libc/machine/aarch64/memrchr-stub.c > create mode 100644 newlib/libc/machine/aarch64/memrchr.S > These are OK. R.
Hi, It looks like this update has caused a duplicate symbol in the generated libc.a due to the added alias to memmove in newlib/libc/machine/aarch64/memcpy.S. To maintain a closer match to the upstream optimized-routines repository, I'd recommend emptying newlib/libc/machine/aarch64/memmove.S if it needs to remain in place or removing it from the build entirely. Thanks, Kinsey -----Original Message----- From: Newlib <newlib-bounces+kinsey.moore=oarcorp.com@sourceware.org> On Behalf Of Richard Earnshaw (lists) Sent: Thursday, October 5, 2023 10:36 AM To: Sebastian Huber <sebastian.huber@embedded-brains.de>; newlib@sourceware.org Subject: Re: [PATCH v4 0/2] aarch64: Sync with ARM-software/optimized-routines On 05/10/2023 13:20, Sebastian Huber wrote: > This patch set synchronizes AArch64-specific files with the > > https://github.com/ARM-software/optimized-routines > > upstream. > > Sebastian Huber (2): > aarch64: Sync with ARM-software/optimized-routines > aarch64: Import memrchr.S > > v3: > > Use latest commit. > > v4: > > Update COPYING.NEWLIB. > > Sebastian Huber (2): > aarch64: Sync with ARM-software/optimized-routines > aarch64: Import memrchr.S > > COPYING.NEWLIB | 250 ++++++++++++ > newlib/Makefile.in | 40 ++ > newlib/libc/machine/aarch64/Makefile.inc | 2 + > newlib/libc/machine/aarch64/asmdefs.h | 106 +++++ > newlib/libc/machine/aarch64/memchr.S | 73 ++-- > newlib/libc/machine/aarch64/memcmp.S | 311 ++++++++------- > newlib/libc/machine/aarch64/memcpy.S | 272 +++++++------ > newlib/libc/machine/aarch64/memrchr-stub.c | 11 + > newlib/libc/machine/aarch64/memrchr.S | 115 ++++++ > newlib/libc/machine/aarch64/memset.S | 194 ++------- > newlib/libc/machine/aarch64/stpcpy.S | 36 +- > newlib/libc/machine/aarch64/strchr.S | 107 ++--- > newlib/libc/machine/aarch64/strchrnul.S | 90 ++--- > newlib/libc/machine/aarch64/strcmp.S | 282 +++++++------ > newlib/libc/machine/aarch64/strcpy.S | 437 ++++++--------------- > newlib/libc/machine/aarch64/strlen.S | 319 +++++++-------- > newlib/libc/machine/aarch64/strncmp.S | 323 ++++++++------- > newlib/libc/machine/aarch64/strnlen.S | 256 ++++-------- > newlib/libc/machine/aarch64/strrchr.S | 86 ++-- > 19 files changed, 1644 insertions(+), 1666 deletions(-) > create mode 100644 newlib/libc/machine/aarch64/asmdefs.h > create mode 100644 newlib/libc/machine/aarch64/memrchr-stub.c > create mode 100644 newlib/libc/machine/aarch64/memrchr.S > These are OK. R.