Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 16:54:51 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r336917 - head/sys/amd64/amd64
Message-ID:  <201807301654.w6UGspk4056073@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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