Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2019 07:11:44 +0000 (UTC)
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347506 - head/sys/amd64/amd64
Message-ID:  <201905120711.x4C7Bifm012103@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mjg
Date: Sun May 12 07:11:44 2019
New Revision: 347506
URL: https://svnweb.freebsd.org/changeset/base/347506

Log:
  amd64: tidy up pagezero*/pagecopy (movq -> movl)
  
  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	Sun May 12 06:59:22 2019	(r347505)
+++ head/sys/amd64/amd64/support.S	Sun May 12 07:11:44 2019	(r347506)
@@ -43,7 +43,7 @@
 /* Address: %rdi */
 ENTRY(pagezero_std)
 	PUSH_FRAME_POINTER
-	movq	$PAGE_SIZE/8,%rcx
+	movl	$PAGE_SIZE/8,%ecx
 	xorl	%eax,%eax
 	rep
 	stosq
@@ -53,7 +53,7 @@ END(pagezero_std)
 
 ENTRY(pagezero_erms)
 	PUSH_FRAME_POINTER
-	movq	$PAGE_SIZE,%rcx
+	movl	$PAGE_SIZE,%ecx
 	xorl	%eax,%eax
 	rep
 	stosb
@@ -66,7 +66,7 @@ END(pagezero_erms)
  */
 ENTRY(pagecopy)
 	PUSH_FRAME_POINTER
-	movq	$PAGE_SIZE/8,%rcx
+	movl	$PAGE_SIZE/8,%ecx
 	movq	%rdi,%r9
 	movq	%rsi,%rdi
 	movq	%r9,%rsi



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