about summary refs log tree commit diff
path: root/sysdeps/alpha/strrchr.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-09 05:33:59 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-09 05:33:59 +0000
commit6b58cbc02d642a18343fbb8663e76d87a538dd4a (patch)
tree6fbb9e19d03d9b1d2e404787cad140d9e0323ede /sysdeps/alpha/strrchr.S
parentf8b23b32adc5426128582f02b53f199bfe2d43aa (diff)
downloadglibc-6b58cbc02d642a18343fbb8663e76d87a538dd4a.tar.gz
glibc-6b58cbc02d642a18343fbb8663e76d87a538dd4a.tar.xz
glibc-6b58cbc02d642a18343fbb8663e76d87a538dd4a.zip
Update.
2001-02-08  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/alpha/strrchr.S: Little optimization.
	Patch by Richard Henderson <rth@redhat.com>.

	* sysdeps/alpha/alphaev67/strrchr.S: New file.
	Contributed by Rick Gorton <rick.gorton@alpha-processor.com>..

2001-02-08  kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Correct function name
	in the assembler end directive.

	pointer in FILE structure before calling _IO_init.
	correctly.  For numbers ending in all zeros eat the zeros even before
Diffstat (limited to 'sysdeps/alpha/strrchr.S')
-rw-r--r--sysdeps/alpha/strrchr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/alpha/strrchr.S b/sysdeps/alpha/strrchr.S
index 9997961c60..0faa8cc55f 100644
--- a/sysdeps/alpha/strrchr.S
+++ b/sysdeps/alpha/strrchr.S
@@ -39,7 +39,7 @@ ENTRY(strrchr)
 	.prologue 0
 #endif
 
-	zapnot	a1, 1, a1	# e0    : zero extend our test character
+	and	a1, 0xff, a1	# e0    : zero extend our test character
 	mov	zero, t6	# .. e1 : t6 is last match aligned addr
 	sll	a1, 8, t5	# e0    : replicate our test character
 	mov	zero, t7	# .. e1 : t7 is last match byte compare mask