about summary refs log tree commit diff
path: root/sysdeps/powerpc/strcmp.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-28 22:36:31 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-28 22:36:31 +0000
commit4e141d64a5e933013a479f4e3695f5e9a5a86059 (patch)
tree99ddae8e5664d52ef5999f20e50833f8537e8cde /sysdeps/powerpc/strcmp.S
parentb041ebc280681f391cd0a3b4d70e08ec72179952 (diff)
downloadglibc-4e141d64a5e933013a479f4e3695f5e9a5a86059.tar.gz
glibc-4e141d64a5e933013a479f4e3695f5e9a5a86059.tar.xz
glibc-4e141d64a5e933013a479f4e3695f5e9a5a86059.zip
Update.
	* sysdeps/powerpc/fpu/s_copysign.S: Use L() instead of local labels.
	* sysdeps/powerpc/submul_1.S: Likewise.
	* sysdeps/powerpc/sub_n.S: Likewise.
	* sysdeps/powerpc/strcpy.S: Likewise.
	* sysdeps/powerpc/strcmp.S: Likewise.
	* sysdeps/powerpc/stpcpy.S: Likewise.
	* sysdeps/powerpc/rshift.S: Likewise.
	* sysdeps/powerpc/mul_1.S: Likewise.
	* sysdeps/powerpc/memset.S: Likewise.
	* sysdeps/powerpc/lshift.S: Likewise.
	* sysdeps/powerpc/addmul_1.S: Likewise.
	* sysdeps/powerpc/add_n.S: Likewise.
Diffstat (limited to 'sysdeps/powerpc/strcmp.S')
-rw-r--r--sysdeps/powerpc/strcmp.S28
1 files changed, 14 insertions, 14 deletions
diff --git a/sysdeps/powerpc/strcmp.S b/sysdeps/powerpc/strcmp.S
index a4afead1b6..92e9858d13 100644
--- a/sysdeps/powerpc/strcmp.S
+++ b/sysdeps/powerpc/strcmp.S
@@ -1,5 +1,5 @@
 /* Optimized strcmp implementation for PowerPC.
-   Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -48,16 +48,16 @@ EALIGN(strcmp,4,0)
 	lis   r8,0x7f7f
 	addi  r7,r7,-0x101
 	addi  r8,r8,0x7f7f
-	b     1f
+	b     L(g1)
 
-0:	lwzu  r5,4(r3)
+L(g0):	lwzu  r5,4(r3)
 	bne   cr1,L(different)
 	lwzu  r6,4(r4)
-1:	add   r0,r7,r5
+L(g1):	add   r0,r7,r5
 	nor   r9,r8,r5
 	and.  r0,r0,r9
 	cmpw  cr1,r5,r6
-	beq+  0b
+	beq+  L(g0)
 L(endstring):
 /* OK. We've hit the end of the string. We need to be careful that
    we don't compare two strings as different because of gunk beyond
@@ -93,23 +93,23 @@ L(highbit):
 L(unaligned):
 	lbz   r5,0(r3)
 	lbz   r6,0(r4)
-	b     1f
+	b     L(u1)
 
-0:	lbzu  r5,1(r3)
-	bne-  4f
+L(u0):	lbzu  r5,1(r3)
+	bne-  L(u4)
 	lbzu  r6,1(r4)
-1:	cmpwi cr1,r5,0
-	beq-  cr1,3f
+L(u1):	cmpwi cr1,r5,0
+	beq-  cr1,L(u3)
 	cmpw  r5,r6
-	bne-  3f
+	bne-  L(u3)
 	lbzu  r5,1(r3)
 	lbzu  r6,1(r4)
 	cmpwi cr1,r5,0
 	cmpw  r5,r6
-	bne+  cr1,0b
-3:	sub   r3,r5,r6
+	bne+  cr1,L(u0)
+L(u3):	sub   r3,r5,r6
 	blr
-4:	lbz   r5,-1(r3)
+L(u4):	lbz   r5,-1(r3)
 	sub   r3,r5,r6
 	blr
 END(strcmp)