| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change version in README to 7.2d; update ChangeLog
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
* src/atomic_ops.h (AO_compiler_barrier): Add parentheses and cast to
void.
|
| |
| |
| |
| |
| |
| | |
* config.guess: Regenerate (by autoreconf -vif using autoconf-2.68,
automake-1.11.1 and libtool-2.4).
* config.sub: Likewise.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/atomic_ops/sysdeps/gcc/x86.h
(AO_compare_double_and_swap_double_full): Use EDI register for
"new_val1" argument in PIC mode only for GCC 4.3+ to workaround
a problem with older compiler versions (e.g., GCC 4.2.1 [FreeBSD])
that do not recognize 'D' as a valid register specification; update
comment.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
(fix missing 'unsigned' for generalized fetch_and_add primitives)
* src/atomic_ops/generalize-small.template
(AO_XSIZE_fetch_and_add_full,
AO_XSIZE_fetch_and_add_acquire, AO_XSIZE_fetch_and_add_release):
Fix type of function arguments (or local variables) by adding
'unsigned' to XCTYPE.
* src/atomic_ops/generalize-small.h: Regenerate.
|
|
|
|
|
|
|
|
| |
Bump libatomic_ops version to 7.2 (final)
* configure.ac, README: Bump version to 7.2 (final).
* configure: Regenerate.
* ChangeLog: Update.
|
| |
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined
for x32.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Apply commit 711f7fe from 'master' branch)
We do not need the 'q' suffix on x86_64 atomic instructions for AO_t
which is defined as "unsigned long"; the later is 32-bit for x32
and 64-bit for x86-64; the register operand in x86-64 atomic
instructions is sufficient to properly determine the register size.
* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_fetch_and_add_full,
AO_and_full, AO_or_full, AO_xor_full, AO_compare_and_swap_full,
AO_fetch_compare_and_swap_full): Remove 'q' suffix in asm instruction.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(Apply commit 058dd11 from 'master' branch)
* configure.ac (PICFLAG): Adjust AC_MSG_CHECKING message; report
"none" result if no -fPIC is needed (for Cygwin/MinGW); determine
whether GCC -fPIC option causes __PIC__ macro definition; pass
-D __PIC__ to PICFLAG (instead of CFLAGS) only if not defined
automatically in case -fPIC specified; update comment.
|
| |
|
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/standard_ao_double_t.h: Do not use __m128
if GCC pre-v4 (at least, xmmintrin.h is missing in gcc-3.4.3-x86_64
included in Solaris 10 distribution).
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(Apply commit 8e6f271 from 'master' branch)
* atomic_ops.pc.in -> pkgconfig/atomic_ops.pc.in: Moved.
* pkgconfig/atomic_ops-uninstalled.pc.in: Added developer version.
* configure.ac, Makefile.am: Update accordingly.
|
|
|
|
|
|
|
|
|
| |
(Apply commit 5757ba9 from 'master' branch)
* atomic_ops.pc.in: new file.
* Makefile.am (pkgconfigdir, pkgconfig_DATA): new items.
* configure.ac (AC_CONFIG_FILES): add atomic_ops.pc.
* configure, Makefile.in: Regenerate.
|
| |
|
|
|
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/x86.h
(AO_compare_double_and_swap_double_full): Use EDI register for
"new_val1" argument instead of a memory operand and use XCHG assembler
instruction instead of push/pop in case of PIC mode (to workaround
a bug in GCC 4.6.1); update the comment.
|
|
|
|
|
|
| |
* src/atomic_ops_stack.c (AO_stack_push_release): Make "cptr" local
variable volatile to workaround a bug in clang-1.1/x86 compiler; add
comment.
|
|
|
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/x86.h
(AO_compare_double_and_swap_double_full): Fix argument name in the
comment.
* src/atomic_ops/sysdeps/sunc/x86.h
(AO_compare_double_and_swap_double_full): Likewise.
|
| |
|
|
|
|
|
|
|
| |
(Apply commit 529f91a from 'master' branch)
* src/atomic_ops_malloc.h (AO_malloc_enable_mmap): Fix a typo in the
comment.
|
| |
|
|
|
|
|
|
| |
* tests/test_atomic.c (main): Put "void" keyword into the arguments
specification of the function prototype.
* tests/test_stack.c (main): Likewise.
|
| |
|
| |
|
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/arm.h (__ARM_ARCH_7__, __ARM_ARCH_7A__):
Recognize to override __ARM_ARCH_5xx__ macros (since Android NDK GCC
defines both for armv7); update comment.
|
| |
|
| |
|
|
|
|
| |
(Apply commit f2eef23)
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
ao_t_is_int.h to have AO_or, AO_..._read/write and some other
int-derived primitives got defined)
* src/atomic_ops/sysdeps/gcc/hexagon.h: Include generalize.h file
before ao_t_is_int.h one.
* src/atomic_ops/sysdeps/gcc/ia64.h: Likewise.
* src/atomic_ops/sysdeps/hpc/ia64.h: Likewise.
|
| |
|
|
|
|
|
|
|
|
| |
* src/atomic_ops/generalize-small.template
(AO_XSIZE_fetch_and_add_full, AO_XSIZE_fetch_and_add_acquire,
AO_XSIZE_fetch_and_add_release): Change return type from AO_t to
XCTYPE.
* src/atomic_ops/generalize-small.h: Regenerate.
|
| |
|
|
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/mips.h (AO_compare_and_swap_full):
Change "result" local variable type from AO_t to int.
* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_compare_and_swap_full):
Likewise.
|
| |
|
|
|
|
|
| |
* tests/test_atomic_include.template (test_atomicXX): Add action for
the missing AO_compare_and_swap primitive.
|
| |
|
|
|
|
| |
* src/atomic_ops.c (init_lock): Define only unless AO_USE_NO_SIGNALS.
|
| |
|
| |
|
|
|
|
|
| |
* src/atomic_ops/sysdeps/gcc/alpha.h (AO_compare_and_swap): Cast
returned value to int.
|