summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [7.2d]libatomic_ops-7_2dbaserock/morphIvan Maidanski2012-08-092-1/+7
| | | | Change version in README to 7.2d; update ChangeLog
* Merge branch 'libatomic_ops-7_2-hotfix-1' into release-7_2Ivan Maidanski2012-08-097-176/+288
|\
| * Update ChangeLogIvan Maidanski2012-08-011-0/+5
| |
| * Fix AO_compiler_barrier missing parenthesesIvan Maidanski2012-08-011-1/+1
| | | | | | | | | | * src/atomic_ops.h (AO_compiler_barrier): Add parentheses and cast to void.
| * Update (regenerate) config.guess and config.sub; update ChangeLogIvan Maidanski2012-07-223-155/+232
| | | | | | | | | | | | * config.guess: Regenerate (by autoreconf -vif using autoconf-2.68, automake-1.11.1 and libtool-2.4). * config.sub: Likewise.
| * Update ChangeLogIvan Maidanski2012-07-221-1/+10
| |
| * Fix AO_compare_double_and_swap_double_full for gcc-4.2.1/x86 in PIC modeIvan Maidanski2012-07-221-8/+20
| | | | | | | | | | | | | | | | | | * 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.
| * Update ChangeLogIvan Maidanski2012-07-021-0/+9
| |
| * Fix generalized AO_char/short_fetch_and_add CTYPE argsIvan Maidanski2012-07-022-12/+12
|/ | | | | | | | | | | (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.
* [7.2]libatomic_ops-7_2Ivan Maidanski2012-05-154-12/+19
| | | | | | | | Bump libatomic_ops version to 7.2 (final) * configure.ac, README: Bump version to 7.2 (final). * configure: Regenerate. * ChangeLog: Update.
* Update ChangeLogIvan Maidanski2012-05-011-0/+5
|
* Define AO_T_IS_INT for x32H.J. Lu2012-05-011-0/+4
| | | | | * src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined for x32.
* Update ChangeLogIvan Maidanski2012-05-011-0/+6
|
* Fix for x32 by removing 'q' suffix in x86-64 instructionsH.J. Lu2012-05-011-3/+3
| | | | | | | | | | | | | (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.
* Regenerate configure; update ChangeLogIvan Maidanski2012-03-282-10/+47
|
* Fix configure to define __PIC__ macro explicitly only if not done by GCCIvan Maidanski2012-03-281-8/+16
| | | | | | | | | | (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.
* Update ChangeLogIvan Maidanski2012-03-261-0/+11
|
* Fix double_ptr_storage definition for GCC pre-v4 (x86_64)Ivan Maidanski2012-03-261-1/+1
| | | | | | * 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).
* Fix a typo in comment in standard_ao_double_t.hIvan Maidanski2012-03-261-5/+7
|
* Regenerate configure, Makefile.in; update ChangeLogIvan Maidanski2012-03-193-10/+34
|
* Add -uninstalled pkg-config file, move them to pkgconfig/.Petter Urkedal2012-03-194-2/+14
| | | | | | | | (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.
* Add atomic_ops.pc.Ivan Maidanski2012-03-195-15/+84
| | | | | | | | | (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.
* Update ChangeLogIvan Maidanski2012-03-071-0/+22
|
* Fix AO_compare_double_and_swap_double_full for gcc/x86 (PIC mode)Ivan Maidanski2012-03-071-4/+7
| | | | | | | | * 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.
* Fix AO_stack_push_release to workaround bug in clang-1.1/x86Ivan Maidanski2012-03-071-1/+7
| | | | | | * 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.
* Fix a typo in commentIvan Maidanski2012-03-072-2/+2
| | | | | | | | * 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.
* Update ChangeLogIvan Maidanski2012-03-041-0/+5
|
* Fix a typo in commentIvan Maidanski2012-03-041-7/+7
| | | | | | | (Apply commit 529f91a from 'master' branch) * src/atomic_ops_malloc.h (AO_malloc_enable_mmap): Fix a typo in the comment.
* Update ChangeLogIvan Maidanski2012-01-191-0/+6
|
* Change function prototype specifications to follow strict ANSI C styleIvan Maidanski2012-01-192-2/+2
| | | | | | * tests/test_atomic.c (main): Put "void" keyword into the arguments specification of the function prototype. * tests/test_stack.c (main): Likewise.
* .gitignore: Ignore config.cacheIvan Maidanski2011-12-221-0/+1
|
* Update ChangeLogIvan Maidanski2011-12-161-0/+6
|
* Fix __ARM_ARCH_5__ macro handling for Android NDK (ARMv7)Ivan Maidanski2011-12-161-5/+6
| | | | | | * 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.
* .gitignore: Ignore Gcov files (.gcda, .gcno)Ivan Maidanski2011-12-131-0/+2
|
* .gitignore: Ignore binary files (.a, .exe, .o, etc.) in all foldersIvan Maidanski2011-12-131-10/+8
|
* Instruct Git to ignore 'tests/core' fileIvan Maidanski2011-12-131-0/+1
| | | | (Apply commit f2eef23)
* Merge branch 'hotfix-7_2a6-4' into releaseIvan Maidanski2011-11-294-0/+14
|\
| * Update ChangeLogIvan Maidanski2011-11-291-0/+7
| |
| * Fix generalization for IA-64, Hexagon (include generalize.h beforeIvan Maidanski2011-11-293-0/+7
|/ | | | | | | | | | 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.
* Update ChangeLogIvan Maidanski2011-11-031-0/+8
|
* Fix generalized AO_<type>_fetch_and_add() return typeIvan Maidanski2011-11-032-12/+12
| | | | | | | | * 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.
* Update ChangeLogIvan Maidanski2011-10-241-0/+7
|
* Fix AO_compare_and_swap_full (GCC MIPS, PowerPC) returned value typeIvan Maidanski2011-10-242-2/+2
| | | | | | | * 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.
* Regenerate test_atomic_include.h; update ChangeLogIvan Maidanski2011-10-242-0/+17
|
* Fix test_atomic_include for the case of missing CAS primitiveIvan Maidanski2011-10-241-0/+1
| | | | | * tests/test_atomic_include.template (test_atomicXX): Add action for the missing AO_compare_and_swap primitive.
* Update ChangeLogIvan Maidanski2011-10-211-0/+4
|
* Fix compiler warning in atomic_ops.c (define 'init_lock' only if used)Ivan Maidanski2011-10-211-2/+1
| | | | * src/atomic_ops.c (init_lock): Define only unless AO_USE_NO_SIGNALS.
* Update ChangeLogIvan Maidanski2011-10-211-0/+9
|
* Fix a typo in doc/README.txtIvan Maidanski2011-10-211-2/+2
|
* Fix AO_compare_and_swap (gcc/alpha.h) to suppress compiler warningIvan Maidanski2011-10-211-1/+1
| | | | | * src/atomic_ops/sysdeps/gcc/alpha.h (AO_compare_and_swap): Cast returned value to int.