diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-07-05 17:36:34 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-07-05 17:36:34 +0000 |
commit | 2dd18ce2b2dfecc737479548f5b6d1784d90fe79 (patch) | |
tree | 58de42856e6e475536f8c8304168478ebeab0b62 /linuxthreads/sysdeps/ia64/pt-machine.h | |
parent | 9b9ef823581ecee546653d6ac3fd335f7b79faca (diff) | |
download | glibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.tar.gz glibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.tar.xz glibc-2dd18ce2b2dfecc737479548f5b6d1784d90fe79.zip |
Update.
* include/string.h (ffs): Add libc_hidden_builtin_proto. * sysdeps/rs6000/ffs.c (ffs): Add libc_hidden_builtin_def. * sysdeps/alpha/alphaev67/ffs.S (ffs): Likewise. * sysdeps/alpha/ffs.S (ffs): Likewise. * sysdeps/s390/ffs.c (ffs): Likewise. * sysdeps/powerpc/ffs.c (ffs): Likewise. * sysdeps/i386/ffs.c (ffs): Likewise. * sysdeps/i386/i686/ffs.c (ffs): Likewise. * sysdeps/m68k/ffs.c (ffs): Likewise. * sysdeps/generic/ffs.c (ffs): Likewise. * sysdeps/m88k/ffs.c (ffs): Likewise. * sysdeps/am29k/ffs.c (ffs): Likewise. * sysdeps/i960/ffs.c (ffs): Likewise. * sysdeps/x86_64/ffs.c (ffs): Likewise. * Makerules (check-abi): Use diff -p -U 0 instead of diff -pu0.
Diffstat (limited to 'linuxthreads/sysdeps/ia64/pt-machine.h')
-rw-r--r-- | linuxthreads/sysdeps/ia64/pt-machine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/ia64/pt-machine.h b/linuxthreads/sysdeps/ia64/pt-machine.h index a04ae81e2c..6c5dfe93bb 100644 --- a/linuxthreads/sysdeps/ia64/pt-machine.h +++ b/linuxthreads/sysdeps/ia64/pt-machine.h @@ -89,7 +89,7 @@ __compare_and_swap (long int *p, long int oldval, long int newval) ("mov ar.ccv=%4;;\n\t" "cmpxchg8.acq %0=%1,%2,ar.ccv" : "=r" (readval), "=m" (__atomic_fool_gcc (p)) - : "r"(newval), "1" (__atomic_fool_gcc (p)), "r" (oldval) + : "r"(newval), "m" (__atomic_fool_gcc (p)), "r" (oldval) : "memory"); return readval == oldval; } @@ -105,7 +105,7 @@ __compare_and_swap_with_release_semantics (long int *p, ("mov ar.ccv=%4;;\n\t" "cmpxchg8.rel %0=%1,%2,ar.ccv" : "=r" (readval), "=m" (__atomic_fool_gcc (p)) - : "r"(newval), "1" (__atomic_fool_gcc (p)), "r" (oldval) + : "r"(newval), "m" (__atomic_fool_gcc (p)), "r" (oldval) : "memory"); return readval == oldval; } @@ -121,7 +121,7 @@ testandset (int *spinlock) __asm__ __volatile__( "xchg4 %0=%1,%2" : "=r"(ret), "=m"(__atomic_fool_gcc (spinlock)) - : "r"(1), "1"(__atomic_fool_gcc (spinlock)) + : "r"(1), "m"(__atomic_fool_gcc (spinlock)) : "memory"); return ret; |