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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to