diff options
Diffstat (limited to 'usr/src/lib/libc/i386/gen/memcpy.s')
-rw-r--r-- | usr/src/lib/libc/i386/gen/memcpy.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libc/i386/gen/memcpy.s b/usr/src/lib/libc/i386/gen/memcpy.s index b1d36b7a41..c050a67a09 100644 --- a/usr/src/lib/libc/i386/gen/memcpy.s +++ b/usr/src/lib/libc/i386/gen/memcpy.s @@ -20,7 +20,7 @@ */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -66,9 +66,9 @@ movl $3,%eax / heavily used constant cmpl %esi,%edi / if (source addr > dest addr) leal -1(%esi,%ecx),%edx - jle .CopyRight / + jbe .CopyRight / cmpl %edx,%edi - jle .CopyLeft + jbe .CopyLeft .CopyRight: cmpl $8,%ecx / if (size < 8 bytes) jbe .OneByteCopy / goto fast short copy loop |