Bump libatomic_ops version to 7.6.4
[platform/upstream/libatomic_ops.git] / ChangeLog
1
2 == [7.6.4] 2018-03-27 ==
3
4 * Add RISC-V support
5 * Convert atomic_ops_malloc.c and tests to valid C++ code
6 * Eliminate 'function is never used' cppcheck warning for load_before_cas
7 * Eliminate 'using argument that points at uninitialized var' cppcheck error
8 * Fix 'AO_pt_lock undefined' error if cross-compiling manually (MinGW)
9 * Fix public headers inclusion from clients C++ code
10 * Remove gcc/nios2.h file (include gcc/generic.h directly for nios2)
11 * Support MIPS rel6
12
13
14 == [7.6.2] 2017-12-24 ==
15
16 * Allow to alter DEFAULT/MAX_NTHREADS values in test_malloc/stack
17 * Allow to select almost-non-blocking stack implementation explicitly
18 * Annotate AO_malloc with 'alloc_size' and 'malloc' attributes
19 * Avoid misleading 'AO_t undefined' error if wrong atomic_ops.h included
20 * Define AO_TS_SET to 1 (true) if GCC atomic_test_and_set is used
21 * Disable workaround in stack_pop_acquire that was needed for ancient Clang
22 * Do not define AO_GCC_FORCE_HAVE_CAS for Clang 3.8+ (Aarch64)
23 * Do not disallow to define double_load using built-in atomics (Aarch64)
24 * Do not expose AO_GCC_FORCE_HAVE_CAS macro to client code (GCC)
25 * Do not install documentation if configure --disable-docs (new option)
26 * Do not produce .tar.bz2 distribution file (configure)
27 * Eliminate '-pedantic is not an option that controls warnings' GCC message
28 * Eliminate data race in cons() of test_malloc
29 * Eliminate GCC-5 ASan global-buffer-overflow false positive for AO_stack_bl
30 * Fill in allocated memory with values depending on thread id (test_malloc)
31 * Fix 'bad register name %sil' assembler error (GCC-4.4/x86)
32 * Fix 'unknown attribute no_sanitize' compiler warning for GCC
33 * Fix AO_malloc for sizes near CHUNK_SIZE
34 * Fix memory leak in test_malloc
35 * Fix test failures for Clang-3.8 and older (Aarch64)
36 * Fix test_stack failure if AO_PREFER_BUILTIN_ATOMICS (GCC/Aarch64)
37 * Fix typo in AO_REAL_NEXT_PTR comment
38 * Increase the default number of threads to 16 in test_malloc/stack
39 * Mark unallocated/freed memory as inaccessible using ASan functionality
40 * New macro (DONT_USE_MMAP) to support testing as if mmap() is unavailable
41 * New macro to select stack implementation based on CAS-double
42 * Place no_sanitize attributes in a GCC-compliant way
43 * Prevent too long run of test_atomic_generalized (especially with TSan)
44 * Simplify '#if' expressions in gcc/x86.h (code refactoring)
45 * Test smallest allocation of large type (test_malloc)
46 * Use __builtin_expect in atomic_ops_malloc
47 * Use built-in atomics for load/store/CAS for Clang by default (Aarch64)
48 * Use double-word atomic intrinsics for recent Clang versions (gcc/x86.h)
49 * Use GCC atomic intrinsics for Hexagon (clang 3.9+)
50 * Use generalized double-wide load/store if AO_PREFER_GENERALIZED (Aarch64)
51 * Workaround 'unused result' code defects in atomic_ops.c, list_atomic
52 * Workaround Thread Sanitizer (TSan) false positive warnings
53 Also, includes 7.4.8 changes
54
55
56 == [7.6.0] 2017-05-19 ==
57
58 * Add *_and/or/xor* and *_[fetch_]compare_and_swap* tests to test_atomic
59 * Add asm-based and/or/xor implementation for char/short/int (gcc/x86)
60 * Add asm-based char/short/int CAS implementation for gcc/x86[_64]
61 * Add configure '--disable-atomic-intrinsics' option
62 * Add dd_acquire_read case to test_atomic
63 * Add initial nios2 architecture support
64 * Add Makefile target (check-nolink) to compile all source without linking
65 * Add Makefile target to run all tests without test-driver
66 * Add test_atomic_generalized to Makefile and Makefile.msft
67 * Allow alternate CC (CROSS_CC) for AC_TRY_COMPILE (configure)
68 * Always define word-wide CAS for x86 (MS VC++ 8+)
69 * Avoid atomic_compare_exchange_n if no __GCC_HAVE_SYNC_COMPARE_AND_SWAP_n
70 * Avoid extra nop_full in stack_pop_acquire if atomic intrinsics used (x86)
71 * Basic support of TILE-Gx and TILEPro CPUs
72 * Code refactoring of int-wide primitives in gcc/x86.h
73 * Define AO_TS_SET as __GCC_ATOMIC_TEST_AND_SET_TRUEVAL if applicable
74 * Define CLANG/GNUC_PREREQ macros to check gcc/clang minimum version
75 * Do not define print_list() unless used (tests)
76 * Eliminate 'condition sizeof(long)>4 is always true' cppcheck style warning
77 * Eliminate 'ISO C90 does not support long long' compiler pedantic warning
78 * Eliminate 'scope of variable can be reduced' cppcheck warnings
79 * Eliminate redundant lwsync 2nd call in CAS_full on fail (gcc/PowerPC)
80 * Fix 'unknown attribute no_sanitize' compiler warning (clang prior to v3.8)
81 * Fix 'variable new value is never used' cppcheck style warning
82 * Fix missing double_compare_and_swap_dd_acquire_read
83 * Fix reporting about missing and/or/xor_dd_acquire_read (test_atomic)
84 * Hide AO_locks symbol
85 * Implement AO_CLEAR using C11 atomic intrinsic (GCC)
86 * Implement CAS_acquire/release/full using __atomic_compare_exchange_n (gcc)
87 * Implement char and/or/xor and short CAS for msftc ARM and X86[_64]
88 * Implement char CAS and char/short add for msftc X86[_64] (VS 2013+)
89 * Implement compiler_barrier using C11 __atomic_signal_fence (GCC)
90 * Implement int CAS/inc/dec for msftc/x86_64
91 * Implement short inc/dec directly for msftc ARM and X86[_64]
92 * Initial ibmc/powerpc (xlc) support
93 * New configure option (--enable-werror) to treat warnings as compiler errors
94 * New macro AO_PREFER_BUILTIN_ATOMICS to rely on C11 atomics fully (AArch64)
95 * Refine AO_nop_write comment for ARM big.LITTLE architecture
96 * Refine configure messages when checking for compiler options
97 * Refine documentation about _full memory ordering suffix
98 * Refine README how to build the library source from the repository
99 * Relax shareability domain for dmb st in AO_nop_write (ARM/AArch64)
100 * Remove redundant include windows.h from headers (msftc/x86[_64])
101 * Remove spaces at EOLn in asm code
102 * Report gcc/clang pedantic warnings (configure)
103 * Support NaCl/arm
104 * Suppress 'ISO C does not support __int128 type' GCC/Clang pedantic warning
105 * Test store/CAS emulation explicitly
106 * Update shared libraries version info to 2:0:1
107 * Use GCC atomic intrinsics for PowerPC 32/64 (GCC 4.8+ and clang 3.8+)
108 * Use GCC atomic intrinsics for x86, x64, ARM, MIPS (gcc 4.9+, clang 3.5+)
109 * Use generalized double-wide load/store if AO_PREFER_GENERALIZED (gcc/x86)
110 * Workaround '#error' cppcheck error messages
111 * Workaround 'condition always true', 'unused stored value' cppcheck warnings
112 * Workaround 'function is never used' cppcheck style warnings
113 * Workaround 'obsolescent ftime called' cppcheck style warning (POSIX)
114 * Workaround 'overflow in pointer subtraction' cppcheck warning
115 * Workaround 'shifting 32-bit value by 32 bits undefined' cppcheck warning
116 * Workaround 'uninitialized memory use' code analyzer false warning (tests)
117 * Workaround 'uninitialized variable' cppcheck error in hpc/hppa.h
118 * Workaround 'value of macro is unknown' cppcheck information messages
119 * Workaround a bug in double-wide intrinsics of Clang/x64 with ASan enabled
120 * Workaround MSan warning about uninitialized data read by generalized store
121 Also, includes 7.4.6 changes
122
123
124 == [7.4.10] 2017-12-22 ==
125
126 * Fix AO_malloc for sizes near CHUNK_SIZE
127 * Fix memory leak in test_malloc
128 * Fix typo in AO_REAL_NEXT_PTR comment
129
130
131 == [7.4.8] 2017-10-18 ==
132
133 * Fix 'missing select.h', 'undefined sigprocmask' compiler errors (Hexagon)
134 * Update README about bugs reporting and new releases notification
135 * Workaround misspelling in GCC to detect ARMv6KZ platform
136
137
138 == [7.4.6] 2017-05-18 ==
139
140 * Add assertion that double-wide CAS target is aligned (msftc/x86[_64])
141 * Add configure --enable-gcov option (enable code coverage analysis)
142 * Code refactoring of gcc/powerpc.h to avoid code duplication
143 * Eliminate 'cast to long from void*' compiler warning in test_atomic
144 * Eliminate 'implicit declaration of close' warning in 'strict ANSI' mode
145 * Eliminate 'missing braces around initializer' gcc warning (hppa)
146 * Eliminate 'printf format specifies type void*' GCC pedantic warnings
147 * Eliminate 'value shift followed by expansion' false code defect warning
148 * Enable limited testing in Makefile.msft without Cygwin
149 * Fix (delete) comment for AO_and_full (x86)
150 * Fix block_all_signals compilation in 'strict ANSI' mode
151 * Fix missing .exe for test filenames in Makefile (MinGW)
152 * Fix missing printed value names (test_stack)
153 * Implement fetch-CAS for s390[x] (gcc)
154 * Move libraries version info to the beginning of Makefile.am
155 * Refine documentation in Makefile.msft how to run all tests (MS VC)
156 * Refine README about library downloading
157 * Rename doc/README.txt to doc/README_details.txt
158 * Support AIX/ppc (gcc)
159 * Support CFLAGS_EXTRA to pass extra user-defined compiler flags (make)
160 * Support n32 ABI for mips64
161 * Update shared libraries version info for 7.4.6+ (to 1:4:0)
162 * Use 'inline code' format for commands in README.md
163 * Use LLD and SCD instructions on mips64
164 * Workaround 'resource leak' false positives in AO_malloc, add_elements
165 * Workaround 'uninitialized memory use' MemorySanitizer warning (test_atomic)
166 Also, includes 7.2h changes
167
168
169 == [7.4.4] 2016-05-24 ==
170
171 * Eliminate 'signed-to-unsigned value extension' compiler warning in malloc
172 * Eliminate 'variable set but not used' Cppcheck warnings in test_stack
173 * Fix GCC 5.x compatibility for AArch64 double-wide primitives
174 * Fix makefile preventing AO_pause undefined in libatomic_ops_gpl
175 * Fix missing casts to match printf format specifier in test_atomic
176 * Fix missing output folder on making auto-generated test files (Automake)
177 * Fix typo in configure.ac (in description of AO_ASM_X64_AVAILABLE)
178 * Minor fix of code alignment in mips AO_compare_and_swap
179 * Remove TODO file
180 * Restore contribution info in ChangeLog for authors not listed in git log
181 Also, includes 7.2g changes
182
183
184 == [7.4.2] 2014-05-02 ==
185
186 * Fix a typo in doc/README.txt (remove redundant "an" article)
187 * Update emails/links due to project site transition
188 Also, includes 7.2f changes
189
190
191 == [7.4.0] 2013-11-17 ==
192
193 * Add and/or/xor entries to list_atomic (tests)
194 * Add char/short/int/AO_double_t and dd_acquire cases to list_atomic (tests)
195 * Add compile-time assertion for size of 'standard' AO_double_t
196 * Add double_store pthread-based implementation and tests
197 * Add generalized CAS primitives of char/short/int size
198 * Add generalized atomic and/or/xor operations for char/short/int types
199 * Add generalized fetch_and_add_acquire/release (for ARMv6+)
200 * Add generic implementation of double_load primitives
201 * Add information about AO_ASSUME_VISTA to README_win32
202 * Add internal header containing only char/short/int/AO_t atomic loads
203 * Add load/store primitives generalization based on CAS
204 * Add lock-based implementation of char/short/int_fetch_compare_and_swap
205 * Add makefile rule to test list_atomic.template syntax (tests)
206 * Add missing 'const' in aligned-atomic XSIZE_load implementation
207 * Add missing double_compare_and_swap to generalization
208 * Add missing generalization of no-barrier CAS in template
209 * Add negative double-CAS test cases to test_atomic_include (tests)
210 * Add test_stack to Makefile.msft (tests)
211 * Adjust fprintf arguments type matching specifier in test_stack (tests)
212 * Adjust included filenames in atomic_ops_malloc and test_stack
213 * Adjust quotes in echo command of Makefile.msft (Win32)
214 * Always use 'mfence' for nop_full if target CPU supports SSE2 (gcc/x86)
215 * Better document configure THREADDLLIBS variable
216 * Cast away volatile on dereference in CAS-based generalization primitives
217 * Change policy regarding version numbers ("micro" part instead of "alpha")
218 * Convert README to Markdown format
219 * Define AO_NO_PTHREADS in configure if no pthreads (Win32 and VxWorks)
220 * Define AO_int_X operations for ARM and avr32
221 * Define double-wide ordered loads/stores for x86
222 * Define int_and/or/xor primitives in ao_t_is_int header
223 * Define nop_full as compiler barrier for pre-ARMv6 single-core case
224 * Do not duplicate BUILT_SOURCES entries in nobase_private_HEADERS (Makefile)
225 * Do not include standard_ao_double_t.h where double-CAS is unimplemented
226 * Do not report absence of meaningless nop, load and store in test_atomic
227 * Do not use deprecated AO_T and AO_TS_T (tests)
228 * Eliminate 'missing initializer' warning for AO_stack_t value initializer
229 * Eliminate 64-bit compiler warnings in atomic_ops_malloc
230 * Eliminate arithmetic shifts in double-CAS (gcc/arm, msftc/x86)
231 * Eliminate warning for fetch_and_add argument in test_atomic_include (tests)
232 * Enable Makefile.msft for Win64
233 * Enable build using toolchain without pthreads
234 * Enable double_compare_and_swap for non-cpp code (msftc/x86.h)
235 * Enable generalization of all variants of CAS via fetch_compare_and_swap
236 * Enable test_stack for pthreads-w32 and Win32 with native threads
237 * Fix generalized AO_char/short_compare_and_swap args (missing 'unsigned')
238 * Fix makefile sed rule for list_atomic (tests)
239 * Fix missing abort() usage in atomic_ops_malloc and tests on WinCE
240 * Generalize compare_double_and_swap_double using double_compare_and_swap
241 * Generalize double_load/store for x86_64 (GCC)
242 * Generate ao_t_is_int, 'loadstore' headers from templates
243 * Generate generalized AO_t load/store/fetch_and_add primitives from template
244 * Generate ordered_loads/stores_only headers from templates
245 * Group all X_acquire_release_volatile.h and X_[aligned_]atomic_load_store.h
246 * Implement and/or/xor, AO_double_load for ARM
247 * Implement atomic store using direct write by default on ARMv6+
248 * Implement char/short/int-wide primitives using GCC built-in atomic/sync
249 * Implement char/short/int_fetch_and_add for msftc/x86[_64] (Win32)
250 * Implement char/short_fetch_and_add, char/short_load for ARMv6+ (GCC)
251 * Implement char/short_store primitives at aligned addresses for ARM
252 * Implement compare_double_and_swap_double for SunCC/x86
253 * Implement double_load/store based on guaranteed x86 access atomicity
254 * Implement double_store for ARMv7 using LDREXD/STREXD
255 * Implement load/store via simple LDR/STR for ARMv6+ (msftc)
256 * Implement nop_full/write using 'dmb' instruction if available (gcc/arm)
257 * Improve debug printing in test_stack (tests)
258 * Log messages to stdout instead of stderr (tests)
259 * Make AO_ASSUME_VISTA also enables Win98 code in msftc/x86.h (Win32)
260 * Minimize gcc/generic-arithm template by factoring out barriers
261 * Move 'unsigned' keyword to XCTYPE in generalize-small template
262 * Move default compiler options to CFLAGS in Makefile.msft (Win32)
263 * Move definitions of ordered loads/stores to inner separate headers
264 * Move gcc-generic AO_t-wide primitives to generic-small/arithm headers
265 * Move generalized arithmetical primitives to 'generalize-arithm' template
266 * Optimize AO_spin manually to minimize compiler influence on its duration
267 * Parameterize list_atomic template with XSIZE (tests)
268 * Perform only few list reversals in test_malloc if AO based on pthreads
269 * Put autogen.sh to 'dist' package (Automake)
270 * Remote duplicate definition of test_and_set_acquire in generalize.h
271 * Remove X_aligned_atomic_load_store headers and template
272 * Remove duplicate AO_spin and AO_pause definition in atomic_ops_stack
273 * Remove gcc/x86_64.h eliminating code duplication of gcc/x86.h
274 * Remove nested AO_USE_PTHREAD_DEFS macro check in atomic_ops.h (gcc/arm)
275 * Remove redundant 'cc' clobber for LDREXD instruction (gcc/arm)
276 * Remove store_full from msftc/arm.h in favor of generalized primitive
277 * Remove sunc/x86_64.h eliminating code duplication of sunc/x86.h
278 * Remove unsafe emulation-based implementation of double CAS (SunCC/x86_64)
279 * Remove useless 'perror' call in run_parallel.h (tests)
280 * Reorder AO_double_t union elements for AO_DOUBLE_T_INITIALIZER portability
281 * Replace atomic_load_store.template with atomic_load and atomic_store ones
282 * Replace some FIXME items with TODO in atomic_ops.c and sysdeps headers
283 * Specify fetch_and_add/sub1 result as unused in test_atomic (tests)
284 * Support AArch64 (64-bit ARM) target (GCC)
285 * Support ARMv8 target (gcc/arm)
286 * Test double_compare_and_swap in test_atomic (tests)
287 * Use AO_ prefix for internal functions in arm_v6.h, hppa.h
288 * Use __atomic GCC built-in to implement generic double-wide CAS
289 * Use built-in __sync CAS for double-CAS if AO_USE_SYNC_CAS_BUILTIN for x86
290 * Workaround GCC 4.4.3 warning reported for 'val' of list_atomic.c (tests)
291 Also, includes 7.2e changes
292
293
294 == [7.3alpha2] 2012-05-11 ==
295
296 * Add '-no-undefined' to LDFLAGS in src/Makefile.am
297 * Add AO_and, AO_xor atomic operations
298 * Add AO_fetch_compare_and_swap primitives
299 * Add and fill in AUTHORS, TODO files
300 * Add autogen.sh file
301 * Adjust AO_..._H macros in public headers
302 * Code refactoring of gcc/arm.h by introducing AO_ARM_HAVE_x macros
303 * Define AO macros for libatomic_ops version identification
304 * Do not define NDEBUG if '--enable-assertions' passed to configure
305 * Eliminate compiler warnings in various functions and macros
306 * Generalize AO_compare_and_swap primitives via AO_fetch_compare_and_swap
307 * Generalize acquire/release/full CAS primitives for MIPS
308 * Implement fetch_and_add, test_and_set primitives for MIPS
309 * Improve Makefile for MS VC++; pass '-W3' option to MS compiler
310 * Include ao_t_is_int.h from atomic_ops.h after first generalization pass
311 * Merge all Makefile.am files in src tree
312 * Minor code refactoring of atomic_ops.c, generic_pthread.h
313 * Minor configure build improvements (e.g., ensure proper autoconf version)
314 * Place only major per-release changes description to ChangeLog (this file)
315 * Recognize AO_PREFER_GENERALIZED macro to favor generalization over assembly
316 * Remove all auto-generated files except for generalize-small.h from the repo
317 * Remove duplicate doc/COPYING and empty NEWS files
318 * Replace atomic_ops_malloc static mmap-related empty functions with macros
319 * Replace pointer relational comparisons with non-pointer ones
320 * Require autoconf 2.61 instead of v2.64
321 * Show extra compiler warnings (GCC only)
322 * Turn off AO primitives inlining if AO_NO_INLINE defined
323 * Use __builtin_expect in CAS failure loop condition checks (GCC only)
324 Also, includes 7.2 changes
325
326
327 == [7.2i] 2017-12-21 ==
328
329 * Fix 'missing select.h', 'undefined sigprocmask' compiler errors (Hexagon)
330 * Fix AO_malloc for sizes near CHUNK_SIZE
331 * Fix typo in AO_REAL_NEXT_PTR comment
332
333
334 == [7.2h] 2017-05-17 ==
335
336 * Add 'clean' target to Makefile.msft
337 * Enable Makefile.msft for Win64
338 * Exclude 'check' from nmake all (Makefile.msft)
339 * Fix 'Cannot implement CAS_full on this architecture' build error (cris)
340 * Fix 'doc' files installation folder
341 * Fix (improve) AO_REQUIRE_CAS description in README
342 * Fix AO_SIZE_MAX definition (Linux/musl-gcc)
343 * Fix assertions style in test_atomic_include
344 * Fix size value wrap around in AO_malloc_large
345 * Fix test_atomic failure caused unaligned AO_double_t access (x86)
346 * Fix type of general AO_TS_INITIALIZER
347 * Fix typo in comments in gcc/arm.h
348 * Fix typos in 'error' pragma messages
349 * Workaround test_stack failure on AIX/ppc
350
351
352 == [7.2g] 2016-05-23 ==
353
354 * Add disclaimer to README to favor C11/C++14 atomics over libatomic_ops use
355 * Regenerate configure files using official libtool release (v2.4.2)
356 * Remove inclusion of acquire_release_volatile.h on MIPS
357 * Remove obsolete information from README about C++0x standard future
358 * Update links due to project site transition
359
360
361 == [7.2f] 2014-05-02 ==
362
363 * Fix a typo in doc/README.txt (remove redundant "an" article)
364 * Regenerate configure files by new automake (v1.14.1), libtool (v2.4.2.418)
365
366
367 == [7.2e] 2013-11-10 ==
368
369 * Fix (remove) invalid include of read_ordered.h for ARM
370 * Fix AM_CONFIG_HEADER in configure for autoconf-2.69-1
371 * Fix AO_pause sleep delay for particular argument values (Win32)
372 * Fix ARMv7 LDREXD/STREXD double-wide operand specification (GCC/Clang)
373 * Fix LDREXD/STREXD use for pre-Clang3.3/arm
374 * Fix README regarding _acquire_read barrier
375 * Fix XSIZE_load/store definition order in generalize-small template
376 * Fix asm constraint of CAS memory operand for gcc/alpha, clang-3.1/mips
377 * Fix asm constraints of primitives in sunc/x86.h
378 * Fix cmpxchg16b-based compare_double_and_swap_double for SunCC/x86_64
379 * Fix compare_double_and_swap_double and double_ptr_storage for gcc/x32
380 * Fix compare_double_and_swap_double for clang3.0/x86 in PIC mode
381 * Fix compare_double_and_swap_double_full definition condition in emul_cas
382 * Fix generalize-small template adding missed CAS-based fetch_and_add
383 * Fix generalized fetch_and_add function
384 * Fix missing compiler barrier in nop_full for uniprocessor ARM
385 * Fix ordered_except_wr header inclusion for s390
386 * Fix return type of AO_int_X primitives defined in ao_t_is_int header
387 * Fix return type of char/short/int_load_read() in read_ordered.h
388 * Fix template-based headers regeneration order in src/Makefile
389 * Fix typos in ao_t_is_int, atomic_ops.h, generalize.h, msftc/arm.h comments
390 * Fix variable type to match printf format specifier in test_stack
391 * Fix visibility and initial value of 'dummy' variable in atomic_ops_stack
392 * Terminate tests with abort after error reported
393
394
395 == [7.2d] 2012-08-09 ==
396
397 * Fix AO_compare_double_and_swap_double_full for gcc-4.2.1/x86 in PIC mode
398 * Fix AO_compiler_barrier missing parentheses
399 * Fix missing 'unsigned' for generalized AO_char/short_fetch_and_add result
400
401
402 == [7.2] 2012-05-11 ==
403
404 * Add atomic_ops.pc.in and atomic_ops-uninstalled.pc.in to pkgconfig folder
405 * Define and use AO_PTRDIFF_T in tests for casts between pointer and integer
406 * Fix AO_compare_and_swap return type for s390 and PowerPC
407 * Fix AO_compare_double_and_swap_double_full for gcc/x86 (PIC mode)
408 * Fix AO_stack_push_release to workaround bug in clang-1.1/x86 compiler
409 * Fix AO_test_and_setXX in tests/list_atomic.template
410 * Fix AO_test_and_set_full (gcc/x86[_64].h) to work-around a bug in LLVM v2.7
411 * Fix AO_test_and_set_full on m68k
412 * Fix __ARM_ARCH_5__ macro handling for Android NDK (ARMv7)
413 * Fix configure for Cygwin, mingw-w64/32
414 * Fix configure to define __PIC__ macro explicitly if needed (GCC)
415 * Fix double_ptr_storage definition for GCC pre-v4 (x86_64)
416 * Fix for x32 by removing 'q' suffix in x86-64 instructions
417 * Fix generalization for IA-64 (regarding AO_or, AO_..._read/write primitives)
418 * Fix generalized AO_<type>_fetch_and_add() return type
419 * Fix test_atomic_include for the case of missing CAS primitive
420 * Fix test_malloc - allocate less memory in case of missing mmap
421 * Implement the basic atomic primitives for the hexagon CPU
422
423
424 == [7.2alpha6] 2011-06-14 ==
425
426 * Add missing AO_HAVE_ macros
427 * Add support of avr32 CPU
428 * Better support of various models of ARM
429 * Disable AO_compare_double_and_swap_double_full for SunCC x86 as not working
430 * Enable ARM Thumb-2 mode
431 * Fix AO_test_and_set_full for SunCC (x86)
432 * Fix bugs in tests
433 * Fix clobbers in AO_compare_and_swap_full (x86.h)
434 * Fix typos in identifiers and comments
435 * Improve AO_sync for PowerPC
436 * Improve make scripts (configure.ac)
437 * Make get_mmaped() in atomic_ops_malloc.c more portable
438 * Support Intel compiler
439 * Support NaCl target
440 * Suppress compiler warnings in various places
441 * Test more predefined macros (ARM, PowerPC)
442 * Use assembly code only for MS VC if available (x86_64)
443 * Use built-in __sync_bool_compare_and_swap if available (x86_64)
444 * Workaround bugs in LLVM GCC and SunCC regarding XCHG (x86, x86_64)
445
446
447 == [7.2alpha4] 2009-12-02 ==
448
449 * Fix typos in comments, identifiers and documentation
450 * Implement AO_compare_and_swap_full for SPARC
451 * Refine ARM-specific code
452 * Refine code and comments for MS VC
453 * Regenerate make scripts
454 * Share common code for all 32-bit CPUs (MS VC)
455 * Support DigitalMars and Watcom compilers
456 * Support MS VC for ARM (WinCE)
457 * Support SH CPU
458 * Support win32-pthreads
459 * Support x86 and x86_64 for SunCC compiler
460
461
462 == [7.2alpha2] 2009-05-27 ==
463
464 * Add MIPS support
465 * Add better support for m68k
466 * Add "const" to first parameter of load calls
467 * Add parentheses around address argument for various macros
468 * Add some platform-specific documentation to INSTALL
469 * Add untested 64-bit support for PowerPC
470 * Fix AO_compare_and_swap_double_acquire
471 * Fix AO_int_fetch_and_add_full (x86_64)
472 * Fix comments
473 * Fix s390 include paths
474 * Fix use of lwz instruction (PowerPC)
475 * Refine clobbers (PowerPC)
476 * Remove outdated info about Windows support in README
477 * Replace K&R-style function definition with ANSI C one
478 * add AO_compare_double_and_swap_double for ARMv6
479 * gcc/powerpc.h: Consider __NO_LWSYNC__
480
481
482 == [7.1] 2008-02-11 ==
483
484 * Add test_and_set, AO_double_compare_and_swap generalizations
485 * Conditionally add compare_double_and_swap_double (x86)
486 * Conditionally add compare_double_and_swap_double (x86)
487 * Fix AO_compare_double_and_swap_double_full (x86) for PIC mode
488 * Fix AO_load_acquire for PowerPC
489 * Fix double-width CAS (x86)
490 * Refine README (add more warnings about data dependencies)
491 * Refine double_ptr_storage type definition
492 * Support ARMv6+ in GCC
493 * Support ArmCC compiler
494 * Use _InterlockedExchangeAdd for MS VC (x86)
495
496
497 == [7.0] 2007-06-28 ==
498
499 * Add 64-bit version of AO_load_acquire for PowerPC (by Luca Barbato)
500 * Add support of x86 and x86_64 for MS VC
501 * Do not assume that "mfence" is always present (x86.h)
502 * Fix ARM AO_test_and_set_full
503 * Include windows.h (MS VC)
504 * Update README to reflect C++0x effort
505
506
507 == [1.2] 2006-07-11 ==
508
509 * Add prototypes to suppress compiler warnings
510 * Add simple VxWorks support
511 * Fix InterlockedCompareExchange proto usage
512 * Fix typos (ia64)
513 * Include all_acquire_release_volatile.h and all_atomic_load_store.h (ia64)
514 * Initial support for 64-bit targets
515 * Use "=q" for AO_test_and_set_full (x86)
516 * Use inline assembler to generate "mfence" and byte sized XCHG
517 * Use new intrinsics available in MSVC 2003 and MSVC 2005
518
519
520 == [1.1] 2005-09-27 ==
521
522 * Add and use read_ordered.h
523 * Change function naming from "byte" to "char"
524 * Fix AO_test_and_set for ARM; define AO_CAN_EMUL_CAS
525
526
527 == [1.0] 2005-03-21 ==
528
529 * Add atomic_ops primitives for different sized data
530 * Add compare_double_and_swap_double and compare_and_swap_double
531 * Add gcc/cris.h (originally comes from Hans-Peter Nilsson)
532 * Add gcc/m68k.h (contributed by Tony Mantler)
533 * Add gcc/powerpc.h (with help of Maged Michael, Doug Lea, Roger Hoover)
534 * Add initial support for atomic_ops for VC++/Windows/X86 and HP/UX
535 * Add minimal support for the Sun SPARC compiler
536 * Add support for platforms that require out-of-line assembly code
537 * Add support of int-wide operations on platforms with int-sized pointers
538 * Added libatomic_ops_gpl library with support for lock-free stack and malloc
539 * Change atomic_ops include file structure
540 * Change most platforms to use byte-wide test-and-set locations
541 * Define AO_CLEAR, __ldcw[_align] macros in gcc/hppa.h (by Carlos O'Donell)
542 * Fix various bugs
543 * Install under "atomic_ops" instead of "ao"
544 * Remove compiler_barrier workaround for gcc 3.4+
545 * Renamed various types to end in _t
546 * Replace AO_HAVE_NOP_FULL with AO_HAVE_nop_full (by Ranko Zivojnovic)
547 * Use autoconf, automake