From: Ulrich Drepper Date: Tue, 22 Jun 1999 10:12:25 +0000 (+0000) Subject: Don't return a zero result if the high bits of two words differ. X-Git-Tag: cvs/glibc_2-1-2~368 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c72e72fda3fb4a15dea8d02b5f3863df079953a;p=thirdparty%2Fglibc.git Don't return a zero result if the high bits of two words differ. --- diff --git a/sysdeps/powerpc/strcmp.S b/sysdeps/powerpc/strcmp.S index 9f4d1344199..de8872963ab 100644 --- a/sysdeps/powerpc/strcmp.S +++ b/sysdeps/powerpc/strcmp.S @@ -84,7 +84,7 @@ L(different): sub %r3,%r5,%r6 bgelr+ L(highbit): - mr %r3,%r6 + ori %r3,%r6,1 blr