mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
[BZ #1016]
2005-06-16 Jakub Jelinek <jakub@redhat.com> [BZ #1016] * sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
This commit is contained in:
parent
bb6e8ca30a
commit
79ef9ed417
@ -1,3 +1,8 @@
|
||||
2005-06-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
[BZ #1016]
|
||||
* sysdeps/ia64/strlen.S (strlen): Change l2 into a local label.
|
||||
|
||||
2005-06-23 Thorsten Kukuk <kukuk@suse.de>
|
||||
|
||||
* nscd/nscd_stat.c (receive_print_stats): Replace YESSTR/NOSTR
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* Optimized version of the standard strlen() function.
|
||||
This file is part of the GNU C Library.
|
||||
Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
Contributed by Dan Pop <Dan.Pop@cern.ch>.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -73,7 +73,7 @@ ENTRY(strlen)
|
||||
ld8 val1 = [str], 8;;
|
||||
nop.b 0
|
||||
nop.b 0
|
||||
l2: ld8.s val2 = [str], 8 // don't bomb out here
|
||||
.l2: ld8.s val2 = [str], 8 // don't bomb out here
|
||||
czx1.r pos0 = val1
|
||||
;;
|
||||
cmp.ne p6, p0 = 8, pos0
|
||||
@ -81,7 +81,7 @@ l2: ld8.s val2 = [str], 8 // don't bomb out here
|
||||
chk.s val2, .recovery
|
||||
.back:
|
||||
mov val1 = val2
|
||||
br.cond.dptk l2
|
||||
br.cond.dptk .l2
|
||||
.foundit:
|
||||
sub tmp = str, origadd // tmp = crt address - orig
|
||||
add len = len, pos0;;
|
||||
|
Loading…
Reference in New Issue
Block a user