aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2022-06-16 17:01:12 +0000
committerAlexander Motin <mav@FreeBSD.org>2022-06-16 17:46:34 +0000
commit6210ac95a19416832601b571409a3e08b76d107f (patch)
tree86f450ca42ad5bfa08acdfc1ba87414f2067cfb8
parentf6379f7fdec030e2ede75454cb61d25517606eaa (diff)
-rw-r--r--sys/amd64/amd64/support.S8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index e21374233c84..8e284c6f6a9e 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -507,13 +507,6 @@ END(memcmp)
ALIGN_TEXT
2256:
std
-.if \erms == 1
- leaq -1(%rdi,%rcx),%rdi
- leaq -1(%rsi,%rcx),%rsi
- rep
- movsb
- cld
-.else
leaq -8(%rdi,%rcx),%rdi
leaq -8(%rsi,%rcx),%rsi
shrq $3,%rcx
@@ -523,7 +516,6 @@ END(memcmp)
movq %rdx,%rcx
andb $7,%cl
jne 2004b
-.endif
\end
ret
.endif