Module Name: src Committed By: maxv Date: Fri Aug 25 11:35:03 UTC 2017
Modified Files: src/sys/arch/amd64/amd64: copy.S Log Message: Move incq outside of the copy section. No functional change, reduces my smap diff. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/sys/arch/amd64/amd64/copy.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/amd64/amd64/copy.S diff -u src/sys/arch/amd64/amd64/copy.S:1.23 src/sys/arch/amd64/amd64/copy.S:1.24 --- src/sys/arch/amd64/amd64/copy.S:1.23 Fri Aug 25 11:05:46 2017 +++ src/sys/arch/amd64/amd64/copy.S Fri Aug 25 11:35:03 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: copy.S,v 1.23 2017/08/25 11:05:46 maxv Exp $ */ +/* $NetBSD: copy.S,v 1.24 2017/08/25 11:35:03 maxv Exp $ */ /* * Copyright (c) 2001 Wasabi Systems, Inc. @@ -259,10 +259,9 @@ ENTRY(copyoutstr) jae 1f movq %rax,%rdx movq %rax,%r8 - -.Lcopyoutstr_start: 1: incq %rdx +.Lcopyoutstr_start: 1: decq %rdx jz 2f lodsb @@ -300,10 +299,9 @@ ENTRY(copyinstr) jae 1f movq %rax,%rdx movq %rax,%r8 - -.Lcopyinstr_start: 1: incq %rdx +.Lcopyinstr_start: 1: decq %rdx jz 2f lodsb