mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Update.
2000-06-30 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
This commit is contained in:
parent
80503fa0e2
commit
dbda6079a6
@ -1,3 +1,7 @@
|
||||
2000-06-30 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/i386/i686/strcmp.S: Little optimization in non-BP case.
|
||||
|
||||
2000-06-30 Greg McGary <greg@mcgary.org>
|
||||
|
||||
* sysdeps/powerpc/stpcpy.S: Define & use symbolic register names.
|
||||
|
@ -51,6 +51,11 @@ L(oop): movb (%ecx), %al
|
||||
CHECK_BOUNDS_HIGH (%edx, STR2(%esp), jbe)
|
||||
jmp L(out)
|
||||
|
||||
#ifndef __BOUNDED_POINTERS__
|
||||
L(neq): movl $1, %eax
|
||||
movl $-1, %ecx
|
||||
cmovbl %ecx, %eax
|
||||
#else
|
||||
L(neq): movl $1, %eax
|
||||
ja L(chk)
|
||||
negl %eax
|
||||
@ -58,6 +63,7 @@ L(neq): movl $1, %eax
|
||||
the unequal characters. */
|
||||
L(chk): CHECK_BOUNDS_HIGH (%ecx, STR1(%esp), jb)
|
||||
CHECK_BOUNDS_HIGH (%edx, STR2(%esp), jb)
|
||||
#endif
|
||||
|
||||
L(out): LEAVE
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user