diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-04-01 23:29:52 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-04-01 23:29:52 +0000 |
commit | 758b215383cde2389bc73d4483e6d3202bdc6520 (patch) | |
tree | 3f0d231798ee89beee63dec508652480f812f235 /sysdeps/ia64 | |
parent | 47eb6e76dab25719319c5bdc2092cd3f23c87173 (diff) | |
download | glibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.gz glibc-758b215383cde2389bc73d4483e6d3202bdc6520.tar.xz glibc-758b215383cde2389bc73d4483e6d3202bdc6520.zip |
Update.
* include/string.h: Add libc_hidden_builtin_proto for memcmp. * sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/ia64/memcmp.S: Likewise. * sysdeps/sparc/sparc64/memcmp.S: Likewise. * sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r-- | sysdeps/ia64/memcmp.S | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/ia64/memcmp.S b/sysdeps/ia64/memcmp.S index 6de6d1580d..c3f21b98eb 100644 --- a/sysdeps/ia64/memcmp.S +++ b/sysdeps/ia64/memcmp.S @@ -1,6 +1,6 @@ /* Optimized version of the standard memcmp() function. This file is part of the GNU C Library. - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2004 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 @@ -88,7 +88,7 @@ ENTRY(memcmp) ;; cmp.ne p6, p0 = value1, value2 (p6) br.cond.spnt .done - br.cloop.dptk .l1 + br.cloop.dptk .l1 .dest_aligned: and sh1 = 7, src // sh1 = src % 8 and tmp = -8, len // tmp = len & -OPSIZ @@ -109,7 +109,7 @@ ENTRY(memcmp) // We enter this loop with p6 cleared by the above comparison -.l2: +.l2: (p[0]) ld8 r[0] = [asrc], 8 // r[0] = w1 (p[0]) ld8 q[0] = [dest], 8 (p[MEMLAT]) shr.u tmp1[0] = r[1 + MEMLAT], sh1 // tmp1 = w0 >> sh1 @@ -162,3 +162,4 @@ ENTRY(memcmp) END(memcmp) weak_alias (memcmp, bcmp) +libc_hidden_builtin_def (BP_SYM (memcmp)) |