Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2021 11:24:12 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d0bc029b4a1e - main - arm64: retire bcopy
Message-ID:  <202108241124.17OBOCcP059781@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=d0bc029b4a1ec6522375a1db7d5fc73e3b0461f3

commit d0bc029b4a1ec6522375a1db7d5fc73e3b0461f3
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-08-23 19:21:48 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-08-24 11:24:07 +0000

    arm64: retire bcopy
    
    Unused since ba96f37758412151 ("Use __builtin for various mem* and b* (e.g. bzero)
    routines.")
    
    Reviewed by:    andrew
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    Differential Revision:  https://reviews.freebsd.org/D31651
---
 sys/arm64/arm64/memmove.S | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/sys/arm64/arm64/memmove.S b/sys/arm64/arm64/memmove.S
index 4b99dccc536e..22e7edb54636 100644
--- a/sys/arm64/arm64/memmove.S
+++ b/sys/arm64/arm64/memmove.S
@@ -84,12 +84,7 @@ __FBSDID("$FreeBSD$");
    unrolled loop processes 64 bytes per iteration.
 */
 
-ENTRY(bcopy)
-	/* Switch the input pointers when called as bcopy */
-	mov	x3, x1
-	mov	x1, x0
-	mov	x0, x3
-EENTRY(memmove)
+ENTRY(memmove)
 	sub	tmp1, dstin, src
 	cmp	count, 96
 	ccmp	tmp1, count, 2, hi
@@ -146,5 +141,4 @@ EENTRY(memmove)
 	stp	B_l, B_h, [dstin, 16]
 	stp	C_l, C_h, [dstin]
 3:	ret
-EEND(memmove)
-END(bcopy)
+END(memmove)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108241124.17OBOCcP059781>