From owner-dev-commits-src-all@freebsd.org Mon Jul 19 09:53:52 2021 Return-Path: Delivered-To: dev-commits-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4CC2C653DA3; Mon, 19 Jul 2021 09:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GSxxr1ZWTz3pc5; Mon, 19 Jul 2021 09:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AC97E15255; Mon, 19 Jul 2021 09:53:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 16J9rp6B023484; Mon, 19 Jul 2021 09:53:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 16J9rpAg023483; Mon, 19 Jul 2021 09:53:51 GMT (envelope-from git) Date: Mon, 19 Jul 2021 09:53:51 GMT Message-Id: <202107190953.16J9rpAg023483@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 6799c73d1e35 - main - arm: retire bcopy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6799c73d1e35cffc2bc86c49e1bc42faaf3f8e9d Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2021 09:53:52 -0000 The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=6799c73d1e35cffc2bc86c49e1bc42faaf3f8e9d commit 6799c73d1e35cffc2bc86c49e1bc42faaf3f8e9d Author: Mateusz Guzik AuthorDate: 2021-07-19 09:53:02 +0000 Commit: Mateusz Guzik CommitDate: 2021-07-19 09:53:02 +0000 arm: retire bcopy It is obsolete since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero) routines.") Discussed with: cognet Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/arm/arm/support.S | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/sys/arm/arm/support.S b/sys/arm/arm/support.S index bcb0b8cffbbb..9390b03f62a3 100644 --- a/sys/arm/arm/support.S +++ b/sys/arm/arm/support.S @@ -326,12 +326,7 @@ ENTRY(memcmp) RET END(memcmp) -ENTRY(bcopy) - /* switch the source and destination registers */ - eor r0, r1, r0 - eor r1, r0, r1 - eor r0, r1, r0 -EENTRY(memmove) +ENTRY(memmove) /* Do the buffers overlap? */ cmp r0, r1 RETeq /* Bail now if src/dst are the same */ @@ -736,8 +731,7 @@ EENTRY(memmove) .Lmemmove_bsrcul1l4: add r1, r1, #1 b .Lmemmove_bl4 -EEND(memmove) -END(bcopy) +END(memmove) /* LINTSTUB: Func: void *memcpy(void *dst, const void *src, size_t len) */ ENTRY(memcpy)