svn commit: r336917 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Mon Jul 30 16:54:52 UTC 2018
Author: kib
Date: Mon Jul 30 16:54:51 2018
New Revision: 336917
URL: https://svnweb.freebsd.org/changeset/base/336917
Log:
Remove unneeded CLDs instructions in the SMAP-ed version of several
functions from support.S.
I believe they re-appeared due to me mis-merging my r327820 into the
topic branch.
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/amd64/amd64/support.S
Modified: head/sys/amd64/amd64/support.S
==============================================================================
--- head/sys/amd64/amd64/support.S Mon Jul 30 16:33:32 2018 (r336916)
+++ head/sys/amd64/amd64/support.S Mon Jul 30 16:54:51 2018 (r336917)
@@ -307,7 +307,6 @@ ENTRY(copyout_smap)
movq %rdx,%rcx
shrq $3,%rcx
- cld
stac
rep
movsq
@@ -358,7 +357,6 @@ ENTRY(copyin_nosmap)
movq %rdx,%rcx
movb %cl,%al
shrq $3,%rcx /* copy longword-wise */
- cld
rep
movsq
movb %al,%cl
@@ -887,7 +885,6 @@ ENTRY(copyinstr_nosmap)
movq %rax,%r8
1:
incq %rdx
- cld
2:
decq %rdx
More information about the svn-src-head
mailing list