git: d0bc029b4a1e - main - arm64: retire bcopy

Mateusz Guzik mjg at FreeBSD.org
Tue Aug 24 11:24:13 UTC 2021


The branch main has been updated by mjg:

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

commit d0bc029b4a1ec6522375a1db7d5fc73e3b0461f3
Author:     Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2021-08-23 19:21:48 +0000
Commit:     Mateusz Guzik <mjg at 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)


More information about the dev-commits-src-all mailing list