This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/sysdeps x86_64/bits/atomic.h i386/i486/bi ...
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 22 Mar 2003 00:05:02 -0000
- Subject: libc/sysdeps x86_64/bits/atomic.h i386/i486/bi ...
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland at sourceware dot org 2003-03-22 00:05:02
Modified files:
sysdeps/x86_64/bits: atomic.h
sysdeps/i386/i486/bits: atomic.h
Log message:
2003-03-21 Roland McGrath <roland at redhat dot com>
* sysdeps/i386/i486/bits/atomic.h (atomic_bit_set): Use "ir"
constraint to permit non-constant BIT argument.
(atomic_bit_test_set): Likewise.
* sysdeps/x86_64/bits/atomic.h (atomic_bit_test_set): Likewise.
(atomic_bit_set): Likewise. Use 1UL in case that BIT might be >= 32.
For quadword case, use "i" constraint if __builtin_constant_p and < 32
or "r" constraint otherwise.