mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 06:50:07 +00:00
Update.
2002-04-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/ia64/strncpy.S: Fix recovery code. Patch by David Mosberger <davidm@hpl.hp.com>.
This commit is contained in:
parent
39ebfd809e
commit
dde9407b50
@ -1,3 +1,8 @@
|
||||
2002-04-26 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/ia64/strncpy.S: Fix recovery code.
|
||||
Patch by David Mosberger <davidm@hpl.hp.com>.
|
||||
|
||||
2002-04-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/ia64/Versions [libc]: Add getunwind for
|
||||
|
@ -205,6 +205,7 @@ ENTRY(strncpy)
|
||||
st1 [in0] = c, 1 // *dest++ = c
|
||||
(p6) cmp.ne p6, p0 = c, r0
|
||||
br.cloop.dptk .l8
|
||||
;;
|
||||
mov ar.lc = saved_lc // restore the loop counter
|
||||
mov pr = saved_pr, -1 // restore the predicate registers
|
||||
br.ret.sptk.many b0
|
||||
@ -213,11 +214,11 @@ ENTRY(strncpy)
|
||||
ld8 r[0] = [tmp]
|
||||
br.cond.sptk .back2
|
||||
.recovery3:
|
||||
add tmp = -(MEMLAT + 1) * 8, src ;;
|
||||
add tmp = -MEMLAT * 8, src ;;
|
||||
ld8 r[MEMLAT] = [tmp]
|
||||
br.cond.sptk .back3
|
||||
.recovery4:
|
||||
add tmp = -(MEMLAT + 1) * 8, src ;;
|
||||
ld8 r[MEMLAT] = [tmp]
|
||||
add tmp = -(MEMLAT - 1) * 8, src ;;
|
||||
ld8 r[MEMLAT - 1] = [tmp]
|
||||
br.cond.sptk .back4
|
||||
END(strncpy)
|
||||
|
Loading…
Reference in New Issue
Block a user