diff options
author | silby <silby@FreeBSD.org> | 2002-06-27 14:16:21 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2002-06-27 14:16:21 +0000 |
commit | a0823faefaed5ed0f0c870767a60e8092600fc88 (patch) | |
tree | 9595fb5087d54ba913b34352b93c0ee0c2ad2afc /lib | |
parent | 0ac902835ebc7377bbfc6d4d6045f2b6c41d99f6 (diff) | |
download | FreeBSD-src-a0823faefaed5ed0f0c870767a60e8092600fc88.zip FreeBSD-src-a0823faefaed5ed0f0c870767a60e8092600fc88.tar.gz |
Fix style bugs I added in last commit.
Spotted by: bde
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/i386/string/bcopy.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/i386/string/bcopy.S b/lib/libc/i386/string/bcopy.S index 0046e57..0c57134 100644 --- a/lib/libc/i386/string/bcopy.S +++ b/lib/libc/i386/string/bcopy.S @@ -69,11 +69,11 @@ ENTRY(bcopy) cmpl %ecx,%eax /* overlapping? */ jb 1f cld /* nope, copy forwards. */ - movl %ecx, %eax + movl %ecx,%eax shrl $2,%ecx /* copy by words */ rep movsl - movl %eax, %ecx + movl %eax,%ecx andl $3,%ecx /* any bytes left? */ rep movsb @@ -87,13 +87,13 @@ ENTRY(bcopy) addl %ecx,%edi /* copy backwards. */ addl %ecx,%esi std - movl %ecx, %eax + movl %ecx,%eax andl $3,%ecx /* any fractional bytes? */ decl %edi decl %esi rep movsb - movl %eax, %ecx /* copy remainder by words */ + movl %eax,%ecx /* copy remainder by words */ shrl $2,%ecx subl $3,%esi subl $3,%edi |