summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 52b3f5f5643bd4844588fc15f9ea462641fc6fff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
[7.2k]

2022-08-24  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2k (rev. K).

2022-02-20  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE
	&& !AO_STACK_ATTR_ALLIGNED] (AO_STACK_ATTR_ALLIGNED): Define.
	* src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE]
	(AO_stack_t.AO_ptr): Add AO_STACK_ATTR_ALLIGNED attribute.

2022-02-20  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.c [AO_USE_ALMOST_LOCK_FREE]
	(AO_stack_push_explicit_aux_release): Use acquire barrier to read list
	value (stored to next local variable); read list value and store it to
	x element before iterating over AO_stack_bl (and, thus, retry iterating
	over AO_stack_bl if CAS failed).

2022-02-15  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_stack.c (main): Adjust indentation for ifdef VERBOSE
	and for "for" statement (for statistic output).

2022-02-15  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE]
	(AO_stack_push_explicit_aux_release): Remove extra "an" (after "the")
	in comment.

2022-02-09  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE && (__LP64__
	|| _LP64 || _WIN64)] (AO_N_BITS): Remove outdated comment about Win64.

[7.2j]

2021-09-12  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2j (rev. J).

2021-01-12  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h (AO_load,
	AO_store): Do not assert alignment if __m68k__; add comment.

2020-08-24  George Koehler <kernigh@gmail.com>

	* src/atomic_ops/sysdeps/gcc/sparc.h [!AO_NO_SPARC_V9
	&& !AO_GENERALIZE_ASM_BOOL_CAS] (AO_compare_and_swap_full): Change type
	of ret local variable from char to AO_t.

2020-03-12  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_fetch_and_add_full,
	AO_char_fetch_and_add_full, AO_short_fetch_and_add_full,
	AO_int_fetch_and_add_full, AO_or_full, AO_test_and_set_full,
	AO_compare_and_swap_full): Use "+m" asm constraint for *addr instead
	of "=m" (because the value pointed by addr is read and written by the
	code).
	* src/atomic_ops/sysdeps/sunc/x86_64.h [AO_CMPXCHG16B_AVAILABLE]
	(AO_compare_double_and_swap_double_full): Likewise.

2020-03-05  Frederic Recoules <frederic.recoules@orange.fr>

	* src/atomic_ops/sysdeps/gcc/x86.h [!__x86_64__]
	(AO_compare_double_and_swap_double_full): New local variable (dummy);
	specify "=d"(dummy) for asm code.
	* src/atomic_ops/sysdeps/gcc/x86_64.h [AO_CMPXCHG16B_AVAILABLE]
	(AO_compare_double_and_swap_double_full): Likewise.
	* src/atomic_ops/sysdeps/sunc/x86_64.h [AO_CMPXCHG16B_AVAILABLE]
	(AO_compare_double_and_swap_double_full): Likewise.
	* src/atomic_ops/sysdeps/sunc/x86.h
	(AO_compare_double_and_swap_double_full): Remove commented out
	function.

2019-03-13  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt: Fix typo ("libatomic_ops_gpl.a").

2018-09-13  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/armcc/arm_v6.h [!AO_UNIPROCESSOR]
	(AO_nop_full): Fix typo ("a data memory barrier") in comment.

[7.2i]

2017-12-21  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2i (rev. I).

2017-12-19  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.h [AO_USE_ALMOST_LOCK_FREE] (AO_REAL_NEXT_PTR):
	Fix typo ("either NULL") in the comment.

2017-12-04  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_malloc.c (AO_malloc): Call AO_malloc_large() also for
	size values in range CHUNK_SIZE-sizeof(AO_t)+1 .. CHUNK_SIZE.

2017-06-09  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.c [__hexagon__ && !AO_USE_NO_SIGNALS
	&& !AO_USE_NANOSLEEP] (AO_USE_NO_SIGNALS, AO_USE_NANOSLEEP): Define;
	add comment.

[7.2h]

2017-05-17  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2h (rev. H).

2017-05-16  Ivan Maidanski <ivmai@mail.ru>

	* doc/Makefile.in: Regenerate (by autoreconf -vif using autoconf-2.69,
	automake-1.14.1, libtool-2.4.2, m4-1.4.17).

2017-05-09  Andy Li <andy@onthewings.net>

	* doc/Makefile.am (dist_pkgdata_DATA): Remove COPYING, LICENSING.txt,
	README.txt, README_stack.txt, README_malloc.txt, README_win32.txt.
	* doc/Makefile.am (dist_doc_DATA): Add COPYING, LICENSING.txt,
	README.txt, README_stack.txt, README_malloc.txt, README_win32.txt.

2017-04-07  Fabrizio Fabbri <ffabbri4@bloomberg.net>

	* src/atomic_ops_stack.c [AO_USE_ALMOST_LOCK_FREE]
	(AO_stack_pop_explicit_aux_acquire): Replace AO_load to AO_load_acquire
	when loaded value is compared to first; add comment.

2017-03-15  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_malloc.c [SIZE_MAX] (AO_SIZE_MAX): Cast
	SIZE_MAX to size_t explicitly (to workaround incorrect definition
	of SIZE_MAX - e.g. it is defined as ~0ULL in musl-tools which is not
	correct for a 32-bit target).

2017-02-22  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h [__cris__ || CRIS] (AO_CAN_EMUL_CAS): Define.
	* src/atomic_ops/sysdeps/gcc/cris.h: Add TODO to implement CAS.

2017-02-20  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_and_swap): Fix typo ("succeeded") and add "then" in comment.
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Likewise.

2017-01-31  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/standard_ao_double_t.h [__i386__ && __GNUC__]
	(double_ptr_storage): Add aligned(8) attribute (so that AO_double_t
	global/static variables to have proper (double-word) alignment).

2017-01-26  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h (AO_TS_INITIALIZER): Change type from AO_t to
	AO_TS_t; add outermost parentheses.

2017-01-24  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt (AO_double_t): Add note about required alignment.
	* src/atomic_ops/sysdeps/standard_ao_double_t.h (AO_double_t): Add
	comment about alignment.
	* src/atomic_ops_stack.h (AO_stack_t): Likewise.
	* tests/test_atomic.template (test_atomicXX): Define w
	local variable as static (as otherwise, e.g., it could have 4-byte
	alignment on x86); add comment.
	* tests/test_atomic_include.h: Regenerate.

2017-01-16  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/msftc/arm.h: Remove FIXME about memory barrier
	of _InterlockedOps (they have the correct one according to the MSDN).

2012-10-08  Ivan Maidanski <ivmai@mail.ru>

	* src/Makefile.msft (libatomic_ops_gpl.lib): Do not pass
	"/MACHINE:i386" option to "lib" tool (to select the proper target
	architecture automatically).

2011-08-09  Ivan Maidanski <ivmai@mail.ru>

	* src/Makefile.msft: Replace -o option with /Fo.
	* src/Makefile.msft (clean): New target.

2011-08-09  Ivan Maidanski <ivmai@mail.ru>

	* src/Makefile.msft (all): Build "libatomic_ops_gpl.lib" instead of
	"check".
	* src/Makefile.msft (test_malloc): Wrap long lines.

2016-11-02  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt: Document AO_REQUIRE_CAS better (replace
	"compare-and-swap" with "AO_compare_and_swap*").

2016-08-24  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_atomic.template (test_atomicXX): Replace assert()
	calls with TA_assert().
	* test_atomic_include.h: Regenerate.

2016-08-22  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_malloc.c: Include limits.h (unless SIZE_MAX already
	defined).
	* src/atomic_ops_malloc.c (AO_SIZE_MAX): New macro.
	* src/atomic_ops_malloc.c (SIZET_SAT_ADD): New macro.
	* src/atomic_ops_malloc.c (AO_malloc_large): Use SIZET_SAT_ADD to
	avoid integer overflow when computing the memory size to map (i.e.,
	malloc should handle arguments close to SIZE_MAX correctly).

2016-10-05  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h [_HPUX_SOURCE && !__ia64] (AO_barrier_dummy):
	Fix typo ("do not") in comment.
	* src/atomic_ops/generalize.h [AO_HAVE_nop_acquire]: Fix typo
	("do not") in #error message.
	* src/atomic_ops/generalize.h [AO_HAVE_nop_release]: Likewise.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h [__TARGET_ARCH_ARM < 6]:
	Likewise.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h [__TARGET_ARCH_ARM < 6]: Add
	#error pragma.
	* src/atomic_ops_stack.c [AO_HAVE_compare_and_swap_double]: Fix typo
	("does not") in #error message.

[7.2g]

2016-05-23  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2g (rev. G).

2016-05-23  Hans Boehm <boehm@acm.org>

	* README: Add top-level disclaimer that it is better to use
	C11 or C++14 atomic primitives instead of this library for the
	newly-developed code.

2014-02-21  Ivan Maidanski <ivmai@mail.ru>

	* README: Update links to BDWGC/libatomic_ops site.
	* doc/README_stack.txt: Likewise.

2016-03-24  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt (Future directions): Remove (obsolete information
	about C++0x standard future).

2016-03-22  Ivan Maidanski <ivmai@mail.ru>

	* Makefile.in: Regenerate properly (remove ltmain.sh from DIST_COMMON).

2016-03-22  Ivan Maidanski <ivmai@mail.ru>

	* Makefile.in: Regenerate (by autoreconf -vif using autoconf-2.69,
	automake-1.14.1 and libtool-2.4.2).
	* config.guess: Likewise.
	* config.sub: Likewise.

2015-01-08  James Cowgill <james410@cowgill.org.uk>

	* src/atomic_ops/sysdeps/gcc/mips.h: Remove inclusion of
	acquire_release_volatile.h (the ISA manuals do not say anything about
	volatile loads / stores having acquire / release semantics).

[7.2f]

2014-05-02  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2f (rev. F).

2014-05-02  Ivan Maidanski <ivmai@mail.ru>

	* configure: Regenerate (by autoreconf -vif using autoconf-2.69,
	automake-1.14.1 and libtool-2.4.2.418).
	* INSTALL: Likewise.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.
	* config.guess: Likewise.
	* config.sub: Likewise.
	* doc/Makefile.in: Likewise.
	* missing: Likewise.
	* src/Makefile.in: Likewise.
	* src/atomic_ops/Makefile.in: Likewise.
	* src/atomic_ops/sysdeps/Makefile.in: Likewise.
	* src/config.h.in: Likewise.
	* test-driver: Likewise.
	* tests/Makefile.in: Likewise.

2014-03-28  Jan-Erik Rediger <badboy@archlinux.us>

	* doc/README.txt: Remove redundant "an" article (fix typo).

[7.2e]

2013-11-10  Ivan Maidanski <ivmai@mail.ru>

	* README: Bump version to 7.2e (rev. E).

2013-08-31  Ivan Maidanski <ivmai@mail.ru>

	* configure: Regenerate (by autoreconf -vif using autoconf-2.69,
	automake-1.13.4 and libtool-2.4.2).
	* INSTALL: Likewise.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.
	* compile: Likewise.
	* config.guess: Likewise.
	* config.sub: Likewise.
	* depcomp: Likewise.
	* doc/Makefile.in: Likewise.
	* install-sh: Likewise.
	* missing: Likewise.
	* mkinstalldirs: Likewise.
	* src/Makefile.in: Likewise.
	* src/atomic_ops/Makefile.in: Likewise.
	* src/atomic_ops/sysdeps/Makefile.in: Likewise.
	* tests/Makefile.in: Likewise.
	* test-driver: New generated file.

2013-08-18  Ivan Maidanski <ivmai@mail.ru>

	* aclocal.m4: Regenerate (by autoreconf -vif).

2013-08-17  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Do not define for
	pre-Clang3.3 (since the latter does not allocate register pairs for
	LDREXD/STREXD instructions properly); add comment.

2013-08-17  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_double_and_swap_double):
	Swap assembly code operands ("new_val" and "addr") to prevent
	Clang3.3 warning about operand truncation.

2013-08-17  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Specify that LDREXD and STREXD use
	2 adjacent registers (thus preventing Clang3.3 from register allocation
	failures leading to "registers may not be the same" or
	"even register required" GAS errors).

2013-07-30  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/generalize.h: Fix a typo in comment
	("acquire").

2013-04-03  Manuel Serrano <Manuel.Serrano@inria.fr>

	* configure.ac (AM_CONFIG_HEADER): Replace obsolete macro with with
	AC_CONFIG_HEADERS one.

2013-03-29  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/generalize-small.template (AO_XSIZE_fetch_and_add):
	Do not use AO_EXPECT_FALSE (since defined only in v7.3+).
	* src/atomic_ops/generalize-small.h: Regenerate.

2013-03-29  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/sunc/x86.h (AO_fetch_and_add_full,
	AO_char_fetch_and_add_full, AO_short_fetch_and_add_full, AO_or_full,
	AO_test_and_set_full,
	AO_compare_and_swap_full): Use "+m" asm constraint for *addr instead
	of "=m" (because the value pointed by addr is read and written by the
	code).

2013-03-13  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/alpha.h (AO_compare_and_swap): Use "+m"
	asm constraint for *addr instead of "=m" (because the value pointed by
	addr is read and written by the code).

2013-03-12  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/mips.h (AO_compare_and_swap): Use "+m"
	asm constraint for *addr instead of "+R" (the letter is unsupported
	by clang3.1 resulting in "invalid output constraint in asm" error).

2013-02-14  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h: Do not include read_ordered.h
	(because load_acquire should contain a DMB instruction in a multi-core
	case, new load_acquire/read primitives implementation is generalized
	using nop_full/read which either contain a DMB instruction, or is just
	a compiler barrier for uniprocessor).
	* src/atomic_ops/sysdeps/armcc/arm_v6.h: Likewise.
	* src/atomic_ops/sysdeps/msftc/arm.h: Likewise.

2013-01-15  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt (_acquire_read): Add information about memory
	barrier (similar as in atomic_ops.h).
	* doc/README.txt (_release_read): Remove information about
	non-existing barrier.

2013-01-14  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/ao_t_is_int.h: Fix a typo in comment.

2013-01-13  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/ao_t_is_int.h
	(AO_int_load_acquire, AO_int_fetch_and_add_full,
	AO_int_fetch_and_add1_acquire, AO_int_fetch_and_add1_release,
	AO_int_fetch_and_sub1_acquire, AO_int_fetch_and_sub1_release): Cast
	result to unsigned int instead of signed int.

2013-01-13  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/s390.h: Move include of
	ordered_except_wr.h down to be after all_aligned_atomic_load_store.h
	inclusion (since the latter defines AO_X_load/store primitives used by
	the former header).

2013-01-13  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/msftc/arm.h: Fix a typo in comment (about
	SWP).

2013-01-07  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/read_ordered.h (AO_char_load_read,
	AO_short_load_read, AO_int_load_read): Change return type (and the
	type of "result" local variable) from AO_t to the type matching the
	name of the function (i.e., unsigned char/short/int, respectively).

2013-01-06  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_nop_full): Insert
	AO_compiler_barrier for AO_UNIPROCESSOR case.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full): Likewise.
	* src/atomic_ops/sysdeps/msftc/arm.h (AO_nop_full): Likewise.
	* src/atomic_ops/sysdeps/msftc/arm.h (AO_nop_full): Refine comment.

2013-01-05  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/Makefile.in: Regenerate (by autoreconf -vif).

2013-01-04  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/Makefile.am (BUILT_SOURCES): Define to force
	regeneration of generalize-small.h (if the corresponding
	source template is changed) before compilation of .c files (that use
	atomic_ops.h).

2013-01-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/generalize-small.template (AO_XSIZE_fetch_and_add):
	Add missed definition based on CAS.
	* src/atomic_ops/generalize-small.h: Regenerate.

2013-01-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/generalize-small.template (AO_XSIZE_load): Move
	definition (which is based on AO_XSIZE_load_acquire) down to be after
	AO_XSIZE_load_acquire definition.
	* src/atomic_ops/generalize-small.template (AO_XSIZE_store): Move
	definition (which is based on AO_XSIZE_store_release) down to be after
	AO_XSIZE_store_release definition.
	* src/atomic_ops/generalize-small.h : Regenerate.

2012-10-09  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_stack.c (run_one_test): Change type of "index" local
	variable from long to int to match printf format specifier (when
	VERBOSE defined); cast from "arg" pointer to integer via size_t (to
	avoid 64-bit compiler warning).

2012-10-08  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/x86.h (AO_double_compare_and_swap_full):
	New function (only if __x86_64__) implemented using GCC built-in
	__sync CAS primitive available for x32.
	* src/atomic_ops/sysdeps/gcc/x86.h
	(AO_HAVE_double_compare_and_swap_full): New macro (for x32 only).
	* src/atomic_ops/sysdeps/gcc/x86.h
	(AO_compare_double_and_swap_double_full): Implement using
	double_compare_and_swap_full instead of cmpxchg8b for x32 (since
	x86_64 has cmpxchg and cmpxchg16b but not cmpxchg8b).

2012-10-05  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h: Fix typos in comments (update generalize.h
	filename).

2012-10-03  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.c (AO_pause): Fix millis value (passed to Win32
	Sleep) for the case of 'n' argument in range between 12 and 21,
	inclusive if AO_USE_WIN32_PTHREADS (sleep for 1 ms in this case).
	* src/atomic_ops_stack.c (AO_pause): Evaluate 'msecs' value using the
	same algorithm as in atomic_ops.c (Win32 only).

2012-10-03  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.c (dummy): Define as static (to make symbol
	without AO_ prefix visible only within this file); initialize to 1
	(same as in atomic_ops.c, so that AO_spin would never really alter
	its value).

2012-10-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h: Fix 'load' primitive name in comment (replace
	AO_load_release_read with AO_load_acquire_read).

2012-10-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/emul_cas.h
	(AO_compare_double_and_swap_double_full): Test (define if)
	AO_HAVE_compare_double_and_swap_double_full macro instead of
	AO_HAVE_compare_double_and_swap_double.

2012-10-01  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/standard_ao_double_t.h (double_ptr_storage):
	Define as "unsigned long long" instead of __m128 for gcc/x32 (i.e.,
	ILP32 on x86_64); update and reformat comment.

2012-09-19  Ivan Maidanski <ivmai@mail.ru>

	* configure: Regenerate (by autoreconf -vif using autoconf-2.68,
	automake-1.11.3 and libtool-2.4.2).
	* INSTALL: Likewise.
	* Makefile.in: Likewise.
	* aclocal.m4: Likewise.
	* compile: Likewise.
	* config.guess: Likewise.
	* config.sub: Likewise.
	* depcomp: Likewise.
	* doc/Makefile.in: Likewise.
	* install-sh: Likewise.
	* missing: Likewise.
	* src/Makefile.in: Likewise.
	* src/atomic_ops/Makefile.in: Likewise.
	* src/atomic_ops/sysdeps/Makefile.in: Likewise.
	* tests/Makefile.in: Likewise.

2012-09-18  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h: Include gcc/x86.h instead of gcc/x86_64.h if
	gcc/x32 (i.e., GCC (or Intel compiler), __x86_64__ is defined, and
	__ILP32__ is defined) to have AO_compare_double_and_swap_double_full
	defined properly (based on cmpxchg8b); explicitly define
	AO_USE_PENTIUM4_INSTRS for gcc/x32.
	* src/atomic_ops/sysdeps/gcc/x86_64.h: Remove ILP32-specific code
	(AO_T_IS_INT definition).

2012-09-18  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/sunc/x86_64.h
	(AO_compare_double_and_swap_double_full): Fix inline assembly
	arguments commenting out "m"(*addr) one (similar to that in
	sunc/x86.h) if AO_CMPXCHG16B_AVAILABLE defined.

2012-09-18  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/x86_64.h
	(AO_compare_double_and_swap_double_full): Fix a typo in comment.
	* src/atomic_ops/sysdeps/sunc/x86_64.h
	(AO_compare_double_and_swap_double_full): Likewise.

2012-09-18  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_atomic.c (acqrel_thr): Call abort() after fprintf(stderr).
	* tests/test_malloc.c (run_one_test): Likewise.
	* tests/test_stack.c (check_list, main): Likewise.

2012-09-05  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/x86.h
	(AO_compare_double_and_swap_double_full): Re-implement for PIC mode
	saving EBX to a local variable (instead of pushing it to stack) and
	saving memory operand address to a register (edi which is manually
	preserved), so that the whole code could also work even if EBX points
	to memory operand (e.g., in Clang); test __PIC__ using ifdef (instead
	of "if"); update comments; reformat code.

[7.2d]

2012-08-09  Ivan Maidanski <ivmai@mail.ru>

	* README: Change version to 7.2d (rev. D).

2012-08-01  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.h (AO_compiler_barrier): Add parentheses and cast to
	void.

2012-07-12  Ivan Maidanski <ivmai@mail.ru>

	* config.guess: Regenerate (by autoreconf -vif using autoconf-2.68,
	automake-1.11.1 and libtool-2.4).
	* config.sub: Likewise.

2012-07-04  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2012-07-01  Ivan Maidanski <ivmai@mail.ru>

	* 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 result by adding
	'unsigned' to XCTYPE.
	* src/atomic_ops/generalize-small.h: Regenerate.

[7.2]

2012-05-11  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac, README: Bump version to 7.2 (final).
	* configure: Regenerate.

2012-05-01  H.J. Lu <hjl.tools@gmail.com>

	* 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):
	Remove 'q' suffix in asm instruction.

2012-04-16  H.J. Lu <hjl.tools@gmail.com>

	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_T_IS_INT): Defined
	for x32.

2012-03-28  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2012-03-26  Ivan Maidanski <ivmai@mail.ru>

	* 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).

2012-03-26  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/standard_ao_double_t.h: Fix a typo in
	comment.

2012-03-19  Ivan Maidanski <ivmai@mail.ru>

	* configure: Regenerate.
	* Makefile.in: Likewise.

2011-08-14  Petter Urkedal <paurkedal@gmail.com>

	* 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.

2011-08-04  Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)

	* 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.

2012-03-07  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2012-03-07  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2012-03-07  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2012-03-04  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_malloc.h (AO_malloc_enable_mmap): Fix a typo in the
	comment.

2012-01-19  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_atomic.c (main): Put "void" keyword into the arguments
	specification of the function prototype.
	* tests/test_stack.c (main): Likewise.

2011-12-16  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2011-11-29  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2011-11-03  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2011-10-24  Ivan Maidanski <ivmai@mail.ru>

	* 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.

2011-10-24  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_atomic_include.h: Regenerate.

2011-10-24  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_atomic_include.template (test_atomicXX): Add action for
	the missing AO_compare_and_swap primitive.

2011-10-21  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.c (init_lock): Define only unless AO_USE_NO_SIGNALS.

2011-10-21  Ivan Maidanski <ivmai@mail.ru>

	* doc/README.txt: Fix a typo.

2011-10-21  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/alpha.h (AO_compare_and_swap): Cast
	returned value to int.

2011-10-17  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/Makefile.in: Regenerate.

2011-10-17  Ivan Maidanski <ivmai@mail.ru> (really Thorsten Glaser)

	* src/atomic_ops/sysdeps/gcc/m68k.h (AO_test_and_set_full): Cast the
	returned value.

2011-10-15  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/s390.h (AO_compare_and_swap_full):
	Change return from AO_t to int.
	* src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_compare_and_swap_acquire,
	AO_compare_and_swap_release, AO_compare_and_swap_full): Likewise.

2011-10-11  Ivan Maidanski <ivmai@mail.ru> (really Linas Vepstas)

	* src/atomic_ops/sysdeps/Makefile.am (nobase_private_HEADERS): Add
	hexagon.h.
	* src/atomic_ops.h: Include hexagon.h file.
	* src/atomic_ops/sysdeps/gcc/hexagon.h: New file.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops.c
	(AO_non_posix_implementation_is_entirely_in_headers): Make external.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* configure: Regenerate.
	* tests/Makefile.in: Ditto.
	* tests/test_atomic_include.h: Ditto.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac (PICFLAG, THREADDLLIBS): Define as empty for MinGW.
	* configure.ac (have_pthreads): New definition (set to true unless
	MinGW).
	* configure.ac (HAVE_PTHREAD_H): New AM conditional (based on
	have_pthreads value).
	* tests/Makefile.am (test_atomic_pthreads_SOURCES,
	test_atomic_pthreads_CPPFLAGS, test_atomic_pthreads_LDADD): Define
	only if HAVE_PTHREAD_H.
	* tests/Makefile.am (TESTS): Don't include test_atomic_pthreads unless
	HAVE_PTHREAD_H.
	* tests/Makefile.am (check_PROGRAMS): Define to TESTS value.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac (PICFLAG): Set to -fPIC if GCC but not Gygwin.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_malloc.c (LIST_LENGTH, LARGE_OBJ_SIZE): Define to
	a smaller value unless HAVE_MMAP.

2011-09-21  Ivan Maidanski <ivmai@mail.ru>

	* tests/test_malloc.c (cons, run_one_test): Call exit with a non-zero
	code (instead of abort) if out of memory.
	* tests/test_stack.c (add_elements): Likewise.
	* tests/test_stack.c (main): Use a distinct exit code if a thread
	creation failed.

2011-09-15  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/emul_cas.h: Fix a typo (replace AO_FORCE_CAS
	with AO_REQUIRE_CAS in a comment).

2011-09-08  Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)

	* src/Makefile.am, tests/Makefile.am: Set compiler include paths
	to $(top_builddir)/src and $(top_srcdir)/src.
	* src/Makefile.in: Regenerate.
	* tests/Makefile.in: Ditto.

2011-07-14  Ivan Maidanski <ivmai@mail.ru>

	* tests/list_atomic.template (list_atomicXX): Remove "addr" local
	variable (use "&val" instead); initialize "newval" and "oldval"
	local variables; rename "tsaddr" local variable to "ts" one.
	* tests/list_atomic.template (list_atomicXX): Fix
	AO_test_and_setXX call (pass address instead of value).
	* tests/list_atomic.template: Expand all tabs to spaces; remove
	trailing spaces at EOLn.
	* tests/run_parallel.inc: Ditto.
	* tests/test_atomic.c: Ditto.
	* tests/list_atomic.c: Regenerate.
	* tests/run_parallel.inc (AO_PTRDIFF_T): New macro.
	* tests/run_parallel.inc (tramp): Cast between pointer and integer
	types via casting to AO_PTRDIFF_T.
	* tests/test_atomic.c (add1sub1_thr, acqrel_thr): Ditto.
	* tests/run_parallel.inc (run_parallel): Adjust printf format
	specifiers for DWORD parameters.
	* tests/test_stack.c: Skip test if no pthreads.

2011-06-27  Ivan Maidanski <ivmai@mail.ru> (really Jeremy Huddleston)

	* src/atomic_ops/sysdeps/gcc/x86.h (AO_test_and_set_full):
	Explicitly cast 0xff to unsigned char (otherwise LLVM v2.7 GAS
	reports an error); don't recognize AO_XCHGB_RET_WORD.
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_test_and_set_full):
	Ditto.

2011-06-15  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac, README: Change to version 7.2alpha7.
	* configure: Regenerate.

[7.2alpha6]

2011-06-14  Ivan Maidanski  <ivmai@mail.ru>

	* configure.ac, README: Change to version 7.2alpha6.
	* configure: Regenerate.

2011-06-07  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full, AO_load): Do not
	define for pre-ARMv6 directly (revert part of the previous
	commit).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set,
	AO_test_and_set_full): Refine the comment.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set_full): Define
	SWP-based implementation at the end of file (if none of
	AO_test_and_set functions are defined previously).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set): Remove
	SWP-based implementation (revert part of the previous commit).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_store): Remove redundant
	definition at the file end (revert part of the previous commit).

2011-06-07  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h: Handle ARMv6M architecture.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set): Force "swp"
	instruction usage (instead of ldrex/strex) if AO_FORCE_USE_SWP;
	add a comment.
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Handle ARMv7EM architecture
	(similar to ARMv7M).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set, AO_nop_full,
	AO_load, AO_store): Define at the end of file (in case not defined
	previously).

2011-06-07  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/generalize.h: Reformat code.
	* src/atomic_ops/generalize.h (AO_test_and_set_acquire): Fix
	return type.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_test_and_set): Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set): Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set): Add
	a comment (about SWP instruction).

2011-06-06  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h (AO_THUMB_GO_ARM,
	AO_THUMB_RESTORE_MODE): Use single-digit labels (to workaround
	a bug in GCC v4.2.1 which reports "garbage following instruction"
	otherwise).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Use "IT"
	instruction only for Thumb-2 mode.

2011-06-06  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h (AO_THUMB_GO_ARM,
	AO_THUMB_RESTORE_MODE, AO_THUMB_SWITCH_CLOBBERS): Define as empty
	for Thumb-2 mode.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_store, AO_test_and_set,
	AO_fetch_and_add, AO_fetch_and_add1, AO_fetch_and_sub1,
	AO_compare_and_swap, AO_compare_double_and_swap_double): Remove
	unnecessary "memory" keyword from the list of clobbered registers
	(revert part of the previous commit).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Add
	a comment for "IT" instruction.
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Don't define on the
	architectures where unimplemented; add a comment; replace return
	(in the loop) statement with break.

2011-06-06  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h (AO_THUMB_GO_ARM,
	AO_THUMB_RESTORE_MODE, AO_THUMB_SWITCH_CLOBBERS): Define new
	macro (to switch temporarily CPU mode to ARM in inline assembler
	if compiling in the Thumb mode and to restore it back on leave).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full, AO_store,
	AO_test_and_set, AO_fetch_and_add, AO_fetch_and_add1,
	AO_fetch_and_sub1, AO_compare_and_swap, AO_test_and_set_full):
	Enable compilation in the Thumb mode (use AO_THUMB_GO_ARM,
	AO_THUMB_RESTORE_MODE and AO_THUMB_SWITCH_CLOBBERS macros).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_store, AO_test_and_set,
	AO_fetch_and_add, AO_fetch_and_add1, AO_fetch_and_sub1,
	AO_compare_and_swap, AO_compare_double_and_swap_double): Add
	"memory" to the list of clobbered registers.

2011-06-06  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h: Reformat code.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full,
	AO_test_and_set_full): Add assembler comment containing the
	function name.

2011-06-03  Ivan Maidanski  <ivmai@mail.ru>

	* tests/test_malloc.c (run_one_test): Test AO_malloc() result
	(if out of memory then print the message and abort).
	* tests/test_stack.c (add_elements): Ditto.

2011-06-03  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/generalize.h (AO_HAVE_or_full): Add missing
	definition.
	* src/atomic_ops/sysdeps/ordered_except_wr.h (AO_HAVE_nop_write):
	Fix macro name.
	* src/atomic_ops/sysdeps/read_ordered.h (AO_HAVE_nop_read): Ditto.
	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_HAVE_store_release):
	Ditto.

2011-06-03  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/generalize-small.template
	(AO_HAVE_XSIZE_fetch_and_add_full): Add missing definition.
	* src/atomic_ops/generalize-small.template: Reformat code.
	* src/atomic_ops/generalize-small.h: Regenerate.

2011-06-03  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Remove
	blank line between AO_func and AO_HAVE_func definitions.
	* src/atomic_ops/sysdeps/atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/char_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/generic_pthread.h: Ditto.
	* src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/int_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/ordered.h: Ditto.
	* src/atomic_ops/sysdeps/ordered_except_wr.h: Ditto.
	* src/atomic_ops/sysdeps/read_ordered.h: Ditto.
	* src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/short_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/alpha.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/cris.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/hppa.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/ia64.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/m68k.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/mips.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/powerpc.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/s390.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/sparc.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/hpc/hppa.h: Ditto.
	* src/atomic_ops/sysdeps/hpc/ia64.h: Ditto.
	* src/atomic_ops/sysdeps/ibmc/powerpc.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/common32_defs.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/sunc/sparc.h: Ditto.
	* src/atomic_ops/sysdeps/sunc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/sunc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Reformat
	comment.
	* src/atomic_ops/sysdeps/atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/char_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/int_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/ordered.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h: Ditto.
	* src/atomic_ops/sysdeps/test_and_set_t_is_char.h: Remove file
	tail blank lines.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set_full): Don't
	define for ARMv2.
	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_load_acquire,
	AO_test_and_set, AO_compare_and_swap): Merge adjacent definitions.
	* src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_HAVE_store_release):
	Define.
	* src/atomic_ops/sysdeps/sunc/sparc.h: Expand all tabs to spaces;
	remove trailing spaces at EOLn.

2011-06-02  Ivan Maidanski  <ivmai@mail.ru>

	* tests/test_malloc.c (main): Remove unused "exper_n" local
	variable.
	* tests/test_stack.c (run_one_test): Remove unused "aux" local
	variable.

2011-06-01  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double,
	AO_HAVE_compare_double_and_swap_double): Define only starting from
	ARMv6K.
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Fix function name in
	assembler code; replace while (1) loop with "do-while".

2011-06-01  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/sunc/x86.h (AO_test_and_set_full):
	Specify "%b0" (instead of "%0") in "xchg" instruction (to
	workaround a bug in Sun C 5.11).
	* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_test_and_set_full):
	Ditto.

2011-06-01  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops_malloc.c (AO_malloc_enable_mmap): Workaround for
	Sun C compiler (call "release" variant of AO_store).

2011-06-01  Ivan Maidanski  <ivmai@mail.ru>

	* configure.ac (_PTHREADS): New template (used for NetBSD).
	* configure.ac (THREADDLLIBS): New macro.
	* tests/Makefile.am (test_atomic_LDADD, test_stack_LDADD,
	test_atomic_pthreads_LDADD, test_malloc_LDADD): Use THREADDLLIBS
	instead of "-lpthread".
	* configure: Regenerate.
	* Makefile.in: Ditto.
	* doc/Makefile.in: Ditto.
	* src/Makefile.in: Ditto.
	* src/atomic_ops/Makefile.in: Ditto.
	* src/atomic_ops/sysdeps/Makefile.in: Ditto.
	* src/config.h.in: Ditto.
	* tests/Makefile.in: Ditto.

2011-05-30  Ivan Maidanski  <ivmai@mail.ru>

	* configure.ac (PIC): Add workaround for GCC v3.4.6 which does not
	define the corresponding macro.
	* configure.ac: Don't check for GCC twice.
	* configure: Regenerate.
	* tests/test_malloc.c (DEFAULT_NTHREADS): New macro.
	* tests/test_malloc.c (run_one_test): Refine printed message (in
	case of HAVE_MMAP).
	* tests/test_malloc.c (main): Use DEFAULT_NTHREADS.
	* tests/test_stack.c (main): Cast AO_stack_pop() returned pointer.
	* src/atomic_ops_malloc.c (USE_MMAP_ANON, GC_MMAP_FLAGS,
	OPT_MAP_ANON): New macro.
	* src/atomic_ops_malloc.c (get_mmaped): Pass -1 (instead of 0) as
	file descriptor to mmap() if MAP_ANONYMOUS (same as for MAP_ANON).
	* src/atomic_ops_malloc.c (get_mmaped): Use USE_MMAP_ANON,
	GC_MMAP_FLAGS and OPT_MAP_ANON macros; reformat code; check open()
	returned value.

2011-05-11  Ivan Maidanski  <ivmai@mail.ru>

	* tests/test_malloc.c: Expand all tabs to spaces; remove trailing
	spaces at EOLn.
	* tests/test_malloc.c (LENGTH, LARGE): Rename to LIST_LENGTH and
	LARGE_OBJ_SIZE, respectively.
	* tests/test_malloc.c (MAX_NTHREADS, N_REVERSALS, LIST_LENGTH,
	LARGE_OBJ_SIZE): Do not define unless undefined.
	* tests/test_malloc.c (run_one_test): Recognize DEBUG_RUN_ONE_TEST
	macro.

2011-05-10  Ivan Maidanski  <ivmai@mail.ru>

	* tests/Makefile.am (EXTRA_DIST): Add list_atomic.c; update
	comment.
	* tests/Makefile.am (CLEANFILES): Remove test_atomic_include.h,
	list_atomic.c.
	* tests/Makefile.am: Remove trailing spaces at EOLn.
	* tests/Makefile.in: Regenerate.

2011-05-10  Ivan Maidanski  <ivmai@mail.ru>

	* tests/test_stack.c (MAX_NTHREADS, N_EXPERIMENTS): Do not define
	unless undefined.
	* tests/test_stack.c: Expand all tabs to spaces.
	* tests/test_atomic_include.h: Ditto.
	* tests/test_stack.c (main): Free pop'ed elements.
	* tests/test_atomic_include.h (test_atomic, test_atomic_release,
	test_atomic_acquire, test_atomic_read, test_atomic_write,
	test_atomic_full, test_atomic_release_write,
	test_atomic_acquire_read): Remove prototype.

2011-04-22  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/ia64.h (AO_MASK): Add "volatile" for
	asm; remove redundant trailing ';'.

2011-04-11  Ivan Maidanski  <ivmai@mail.ru> (really Jim Meyering)

	* doc/README.txt: Remove doubled words in comments.

2011-03-18  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h: Test for all the known pre-v6
	ARM chips instead of all the currently existing v6+ ones.

2011-03-13  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/emul_cas.h: Fix a typo in a comment;
	expand all tabs to spaces.
	* src/atomic_ops/sysdeps/gcc/x86.h (AO_test_and_set_full):
	Recognize AO_XCHGB_RET_WORD new macro (to workaround a bug).
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_test_and_set_full):
	Ditto.

2011-02-19  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops.c: Include sys/time.h (to get timespec) for NaCl.
	* src/atomic_ops_malloc.c (msb): Do the shift by 32 only once (in
	a conditional expression) to prevent a compiler warning.
	* src/atomic_ops_malloc.c: Expand all tabs to spaces; remove
	trailing spaces at EOLn.

2011-02-19  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops.c: Explicitly define AO_USE_NO_SIGNALS and
	AO_USE_NANOSLEEP for NaCl.

2011-02-19  Ivan Maidanski  <ivmai@mail.ru>

	* aclocal.m4: Regenerate (by autoreconf -vif using autoconf-2.68,
	automake-1.11.1 and libtool-2.4).
	* configure: Ditto.

2011-02-09  Ivan Maidanski  <ivmai@mail.ru>

	* src/atomic_ops.c (AO_USE_NO_SIGNALS, AO_USE_NANOSLEEP): New
	macros.
	* src/atomic_ops.c (AO_USE_WIN32_PTHREADS): Imply
	AO_USE_NO_SIGNALS.
	* src/atomic_ops.c: Don't include signal.h if AO_USE_NO_SIGNALS.
	* src/atomic_ops.c: Include time.h if AO_USE_NANOSLEEP.
	* src/atomic_ops.c (AO_locks, AO_pause): Reformat the code.
	* src/atomic_ops.c (AO_pause): Use nanosleep() if
	AO_USE_NANOSLEEP.
	* src/atomic_ops.c (all_sigs, initialized,
	AO_compare_and_swap_emulation,
	AO_compare_double_and_swap_double_emulation): Use
	AO_USE_NO_SIGNALS instead of AO_USE_WIN32_PTHREADS.

2011-01-07  Ivan Maidanski  <ivmai@mail.ru>

	* src/.cvsignore: Add more auto-generated files.
	* tests/.cvsignore: Ditto.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_nop_full, AO_store,
	AO_compare_double_and_swap_double): Reformat code.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full,
	AO_compare_double_and_swap_double): Ditto.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_compare_and_swap):
	Produce "it eq" instruction only for Thumb mode.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Ditto.

2010-11-23  Ivan Maidanski <ivmai@mail.ru> (really Michael Hope)

	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_compare_and_swap):
	Insert "it eq" just before "strexeq" (required for Thumb-2 mode,
	ignored in ARM mode).
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_compare_and_swap): Ditto.

2010-09-15  Ivan Maidanski <ivmai@mail.ru> (with input from Gregory Farnum)

	* src/atomic_ops.h: Include armcc/arm_v6.h if __ARMCC__.
	* src/atomic_ops.h: Include ibmc/powerpc.h if __IBMC__.
	* src/atomic_ops.h: Define AO_GENERALIZE_TWICE if msftc/arm.h is
	included.
	* src/atomic_ops.h: Define AO_GENERALIZE_TWICE if AO_CAN_EMUL_CAS
	is defined but emul_cas.h has not been included.
	* src/atomic_ops/sysdeps/gcc/arm.h: Fix a typo.

2010-08-14  Ivan Maidanski <ivmai@mail.ru>

	* aclocal.m4: Regenerate (by autoreconf -vif using autoconf-2.67,
	automake-1.11.1 and libtool-2.2.8).
	* configure: Ditto.

2010-08-14  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/arm.h: Replace C++ style comment
	with ANSI C one.

2010-05-30  Ivan Maidanski <ivmai@mail.ru> (really Bradley Smith)

	* src/atomic_ops/sysdeps/gcc/avr32.h (AO_test_and_set): Use
	"register long" (instead of "int") for "ret" variable.
	* src/atomic_ops/sysdeps/gcc/avr32.h (AO_test_and_set): Replace
	with AO_test_and_set_full (same for AO_HAVE_test_and_set).
	* src/atomic_ops/sysdeps/gcc/avr32.h (AO_compare_and_swap_full):
	New function implemented.

2010-05-22  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/Makefile.am (nobase_sysdep_HEADERS):
	Add "gcc/avr32.h".
	* src/atomic_ops/sysdeps/Makefile.in: Regenerate.

2010-05-21  Ivan Maidanski <ivmai@mail.ru> (really Bradley Smith)

	* src/atomic_ops.h: Recognize __avr32__ (include gcc/avr32.h).
	* src/atomic_ops/sysdeps/gcc/avr32.h: New file.

2010-04-29  Ivan Maidanski <ivmai@mail.ru>

	* doc/README_malloc.txt: Fix a typo.
	* doc/README_stack.txt: Ditto.

2010-02-25  Ivan Maidanski <ivmai@mail.ru> (really Bruce Mitchener)

	* .cvsignore: New file.
	* doc/.cvsignore: Ditto.
	* src/.cvsignore: Ditto.
	* src/atomic_ops/.cvsignore: Ditto.
	* src/atomic_ops/sysdeps/.cvsignore: Ditto.
	* tests/.cvsignore: Ditto.

2010-02-19  Ivan Maidanski <ivmai@mail.ru> (mostly really Patrick Marlier)

	* src/atomic_ops/sysdeps/gcc/x86.h (AO_compare_and_swap_full):
	Use __sync_bool_compare_and_swap() if AO_USE_SYNC_CAS_BUILTIN.
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full):
	Ditto.
	* src/atomic_ops.h (AO_USE_SYNC_CAS_BUILTIN): New macro defined
	if GCC v4.2+ or Intel compiler v11.1+ (only for amd64).
	* src/atomic_ops.h: Include GCC-specific sysdeps files for Intel
	compiler in GCC compatible mode (only for x86 and amd64).

2010-02-18  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_nop_full): Don't check
	for AO_USE_PENTIUM4_INSTRS (since "mfence" (SSE2) is supported on
	all x86_64/amd64 chips); remove the comment.
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Define only
	if AO_ASM_X64_AVAILABLE.
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full):
	Use built-in __sync_bool_compare_and_swap() if GCC v4.2+.

2010-02-17  Ivan Maidanski <ivmai@mail.ru> (really Patrick Marlier)

	* src/atomic_ops/sysdeps/gcc/x86.h (AO_compare_and_swap_full,
	AO_compare_double_and_swap_double_full): Use EAX for the result
	since cmpxchg clobbers it.
	* src/atomic_ops/sysdeps/sunc/x86.h (AO_compare_and_swap_full,
	AO_compare_double_and_swap_double_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_compare_and_swap_full,
	AO_compare_double_and_swap_double_full): Ditto.
	* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_compare_and_swap_full,
	AO_compare_double_and_swap_double_full): Ditto.

2010-02-04  Ivan Maidanski <ivmai@mail.ru>

	* doc/Makefile.in: Regenerate.

2010-02-04  Ivan Maidanski <ivmai@mail.ru> (really Ian Wienand)

	* doc/Makefile.am: Remove duplicate file in the list.

2010-02-03  Ivan Maidanski <ivmai@mail.ru>

	* ChangeLog: Fix some typos.

2010-02-03  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops_stack.c (AO_stack_push_explicit_aux_release):
	Define "i" variable only if used (to suppress a compiler warning).

2010-02-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/sunc/x86.h (AO_test_and_set_full): Fix
	"xchg" data size (remove "l" suffix).
	* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_test_and_set_full):
	Ditto.
	* src/atomic_ops/sysdeps/sunc/x86_64.h (AO_test_and_set_full): Use
	AO_TS_t for oldval.
	* src/atomic_ops/sysdeps/sunc/x86.h
	(AO_compare_double_and_swap_double_full,
	AO_HAVE_compare_double_and_swap_double_full): Comment out (since
	not tested, might be wrong, and tickles a bug in some Sun CC
	versions; besides, __PIC__ macro is never predefined by Sun CC).

2010-01-29  Ivan Maidanski <ivmai@mail.ru>

	* INSTALL: Regenerate (by autoreconf -vif using libtool-2.2.6b,
	automake-1.11.1, autoconf-2.65).
	* Makefile.in: Ditto.
	* aclocal.m4: Ditto.
	* compile: Ditto.
	* config.guess: Ditto.
	* config.sub: Ditto.
	* configure: Ditto.
	* depcomp: Ditto.
	* install-sh: Ditto.
	* missing: Ditto.
	* mkinstalldirs: Ditto.
	* doc/Makefile.in: Ditto.
	* src/Makefile.in: Ditto.
	* src/atomic_ops/Makefile.in: Ditto.
	* src/atomic_ops/sysdeps/Makefile.in: Ditto.
	* src/config.h.in: Ditto.
	* tests/Makefile.in: Ditto.

2009-12-19  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_lwsync): Redirect to
	AO_sync() if __NO_LWSYNC__ (same as for gcc/powerpc.h).

2009-12-17  Ivan Maidanski <ivmai@mail.ru> (really Emmanuel Stapf)

	* src/atomic_ops.h: Recognize _M_X64 (as an alias for _AMD64_).

2009-12-04  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac, README: Change to version 7.2alpha5.
	* configure: Regenerate.

[7.2alpha4]

2009-12-02  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac, README: Change to version 7.2alpha4.
	* configure: Regenerate.

2009-12-01  Ivan Maidanski <ivmai@mail.ru>

	* configure.ac, README: Change to version 1.3alpha1.
	* configure: Regenerate.

2009-11-21  Ivan Maidanski <ivmai@mail.ru> (really Daniel R. Grayson)

	* configure.ac (AC_CONFIG_COMMANDS): Quote PICFLAG, CC, DEFS
	values.
	* configure: Regenerate.

2009-10-06  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/sh.h: Remove commented out AO_TS_SET
	redefinition.

2009-10-05  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/Makefile.in: Regenerate.

2009-10-05  Ivan Maidanski <ivmai@mail.ru> (really Takashi YOSHII)

	* src/atomic_ops/sysdeps/gcc/sh.h: New file.
	* src/atomic_ops.h: Include gcc/sh.h if __arm__.
	* src/atomic_ops/sysdeps/Makefile.am: Add gcc/sh.h entry.

2009-10-02  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/Makefile.am: Add armcc/arm_v6.h,
	msftc/arm.h, msftc/common32_defs.h, sunc/x86.h sunc/x86_64.h
	entries; order all entries alphabetically.
	* src/atomic_ops/sysdeps/Makefile.in: Regenerate.

2009-10-01  Ivan Maidanski <ivmai@mail.ru>

	* aclocal.m4: Regenerate (by autoreconf -vif using libtool-2.2,
	automake-1.10.2, autoconf-2.64).
	* INSTALL: Ditto.
	* Makefile.in: Ditto.
	* aclocal.m4: Ditto.
	* config.guess: Ditto.
	* config.sub: Ditto.
	* configure: Ditto.
	* depcomp: Ditto.
	* install-sh: Ditto.
	* missing: Ditto.
	* mkinstalldirs: Ditto.
	* doc/Makefile.in: Ditto.
	* src/config.h.in: Ditto.
	* src/Makefile.in: Ditto.
	* src/atomic_ops/Makefile.in: Ditto.
	* src/atomic_ops/sysdeps/Makefile.in: Ditto.
	* tests/Makefile.in: Ditto.

2009-10-01  Ivan Maidanski <ivmai@mail.ru>

	* src/atomic_ops/sysdeps/gcc/x86.h: Remove spaces preceding '#'
	for the preprocessor directives.
	* src/atomic_ops/sysdeps/sunc/x86.h: Ditto.

2009-09-30  Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)

	* README: Move notes from the hand-edited part of INSTALL which
	was overwritten by Automake recently.

2009-09-26  Ivan Maidanski <ivmai@mail.ru>

	* aclocal.m4: Regenerate (by autoreconf -vif).
	* config.guess: Ditto.
	* config.sub: Ditto.
	* configure: Ditto.
	* INSTALL: Ditto.
	* Makefile.in: Ditto.
	* doc/Makefile.in: Ditto.
	* src/config.h.in: Ditto.
	* src/Makefile.in: Ditto.
	* src/atomic_ops/Makefile.in: Ditto.
	* src/atomic_ops/sysdeps/Makefile.in: Ditto.
	* tests/Makefile.in: Ditto.

2009-09-25  Ivan Maidanski <ivmai@mail.ru> (really Petter Urkedal)

	* configure.ac: Replace AC_PROG_CC with AM_PROG_CC_C_O.

2009-09-16  Ivan Maidanski <ivmai@mail.ru>

	* ChangeLog: Remove trailing spaces at EOLn.
	* doc/README.txt: Expand all tabs to spaces; remove trailing
	spaces at EOLn; remove multiple trailing blank lines.
	* src/atomic_ops.c: Ditto.
	* src/atomic_ops.h: Ditto.
	* src/atomic_ops/generalize-small.h: Ditto.
	* src/atomic_ops/generalize.h: Ditto.
	* src/atomic_ops/sysdeps/acquire_release_volatile.h: Ditto.
	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/all_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/ao_t_is_int.h: Ditto.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h: Ditto.
	* src/atomic_ops/sysdeps/atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/char_acquire_release_volatile.h: Ditto.
	* src/atomic_ops/sysdeps/char_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/alpha.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/hppa.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/ia64.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/m68k.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/mips.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/powerpc.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/s390.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/sparc.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/generic_pthread.h: Ditto.
	* src/atomic_ops/sysdeps/hpc/hppa.h: Ditto.
	* src/atomic_ops/sysdeps/hpc/ia64.h: Ditto.
	* src/atomic_ops/sysdeps/ibmc/powerpc.h: Ditto.
	* src/atomic_ops/sysdeps/icc/ia64.h: Ditto.
	* src/atomic_ops/sysdeps/int_acquire_release_volatile.h: Ditto.
	* src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/int_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/arm.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/common32_defs.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/ordered.h: Ditto.
	* src/atomic_ops/sysdeps/ordered_except_wr.h: Ditto.
	* src/atomic_ops/sysdeps/read_ordered.h: Ditto.
	* src/atomic_ops/sysdeps/short_acquire_release_volatile.h: Ditto.
	* src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/short_atomic_load_store.h: Ditto.
	* src/atomic_ops/sysdeps/standard_ao_double_t.h: Ditto.
	* src/atomic_ops/sysdeps/sunc/x86.h: Ditto.
	* src/atomic_ops/sysdeps/sunc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/test_and_set_t_is_ao_t.h: Ditto.
	* src/atomic_ops_stack.c: Ditto.
	* src/atomic_ops_stack.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h: Replace non-ASCII quotes in a
	comment.
	* src/atomic_ops/sysdeps/gcc/mips.h: Use Unix-style EOLn.

2009-09-10  Ivan Maidanski <ivmai@mail.ru>
	(ivmai123.diff)

	* src/atomic_ops/sysdeps/msftc/arm.h: Add FIXME for InterlockedOps
	(regarding memory barrier).
	* src/atomic_ops/sysdeps/msftc/arm.h: Don't recognize
	AO_ASSUME_ARM_ARCH6 anymore; check for _M_ARM >= 6 instead.
	* src/atomic_ops/sysdeps/msftc/arm.h (AO_nop_full,
	AO_test_and_set): Replace FIXME with the comment saying it is
	emulated (in generalize.h); include test_and_set_t_is_ao_t.h.
	* src/atomic_ops/sysdeps/msftc/arm.h (AO_store_full): Implement
	using InterlockedCompareExchange() (assuming the latter has a full
	mbar) for ARMv6+.
	* src/atomic_ops/sysdeps/msftc/arm.h: Include
	all_atomic_load_store.h and test_and_set_t_is_ao_t.h for the case
	of pre-ARMv6; add the comment.

2009-09-10  Ivan Maidanski <ivmai@mail.ru>
	(ivmai122.diff)

	* src/atomic_ops/sysdeps/armcc/arm_v6.h
	(AO_compare_double_and_swap_double): Replace false/true with 0/1.
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h: Recognize more ARMv6+
	predefined macros (6J, 6ZK, 7A, 7M, 7R).
	* src/atomic_ops/sysdeps/gcc/arm.h
	(AO_compare_double_and_swap_double): Add "cc" clobber to asm.
	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_HAVE_load_acquire):
	Correct the name (convert from the lower case).
	* src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_HAVE_load_acquire):
	Ditto.
	* src/atomic_ops/sysdeps/ibmc/powerpc.h (AO_test_and_set,
	AO_compare_and_swap): Comment out unimplemented code (and the
	corresponding macros); add FIXME.
	* src/atomic_ops.c: Recognize AO_USE_WIN32_PTHREADS overriding
	_MSC_VER and __MINGW32__ predefined macros (useful for WinCE with
	pthreads-w32 library); don't include signal.h, sys/time.h,
	sys/select.h in this case; include windows.h instead.
	* src/atomic_ops.c (AO_pause): Use Sleep() in case of
	AO_USE_WIN32_PTHREADS (instead of select()).
	* src/atomic_ops.c (all_sigs, initialized): Don't define in case
	of AO_USE_WIN32_PTHREADS.
	* src/atomic_ops.c (AO_compare_and_swap_emulation,
	AO_compare_double_and_swap_double_emulation): Don't deal with
	signals in case of AO_USE_WIN32_PTHREADS.

2009-09-10  Ivan Maidanski <ivmai@mail.ru>
	(diff110)

	* src/atomic_ops/sysdeps/msftc/arm.h: New file (initial support
	for ARM family).
	* src/atomic_ops/sysdeps/msftc/common32_defs.h: New file.
	* src/atomic_ops/sysdeps/msftc/arm.h (AO_ASSUME_ARM_ARCH6): New
	macro.
	* src/atomic_ops/sysdeps/msftc/common32_defs.h
	(AO_USE_INTERLOCKED_INTRINSICS): Ditto.
	* src/atomic_ops/sysdeps/msftc/x86.h: Move "Interlocked"
	declarations to common32_defs.h.
	* src/atomic_ops/sysdeps/msftc/common32_defs.h
	(AO_INTERLOCKED_VOLATILE): New macro defined (used by
	Interlocked-based primitives) for compatibility with older VC++.
	* src/atomic_ops/sysdeps/msftc/common32_defs.h: Don't include
	missing <intrin.h> if WinCE target.
	* src/atomic_ops/sysdeps/msftc/x86.h: Include common32_defs.h
	(define AO_USE_INTERLOCKED_INTRINSICS unconditionally).
	* src/atomic_ops/sysdeps/msftc/x86.h (AO_fetch_and_add_full,
	AO_fetch_and_add1_full, AO_fetch_and_sub1_full,
	AO_compare_and_swap_full): Move arch-independent primitives to
	common32_defs.h.
	* src/atomic_ops/sysdeps/msftc/x86.h: Remove comment about i486 or
	better CPU (since Interlocked Add and Xchg primitives are available
	on any 32-bit CPU).
	* src/atomic_ops.h: Include msftc/x86.h even if _M_IX86 is less than
	400 (for i80386).
	* src/atomic_ops.h: Include msftc/x86.h if "x86" defined (for WinCE
	on x86).
	* src/atomic_ops.h: Include msftc/arm.h if ARM target (for WinCE).

2009-09-10  Ivan Maidanski <ivmai@mail.ru>
	(diff109_cvs)

	* src/atomic_ops/sysdeps/msftc/x86.h: Fix comments (prefix
	ASSUME_WINDOWS98 with "AO_").
	* src/atomic_ops/sysdeps/msftc/x86.h: Prefix ASSUME_VISTA macro with
	"AO_".
	* src/atomic_ops/sysdeps/msftc/x86.h (AO_nop_full): Replace
	K&R-style function definition with ANSI C one.
	* src/atomic_ops/sysdeps/msftc/x86.h (AO_test_and_set_full):
	Replace AO_TS_SET with its value 0xff (some compilers does not like
	C enum consts inside inline assembler).
	* src/atomic_ops/sysdeps/msftc/x86.h (AO_test_and_set_full): Add
	comment about "missing return value" warning.
	* src/atomic_ops/sysdeps/msftc/x86.h
	(AO_OLD_STYLE_INTERLOCKED_COMPARE_EXCHANGE): New macro.
	* src/atomic_ops/sysdeps/msftc/x86.h (AO_compare_and_swap_full): Use
	_InterlockedCompareExchange() with args and result of PVOID type
	if AO_OLD_STYLE_INTERLOCKED_COMPARE_EXCHANGE is defined (mostly for
	DigitalMars compiler support).
	* src/atomic_ops/sysdeps/msftc/x86.h
	(AO_compare_double_and_swap_double_full): Swap all "val1" and "val2"
	variables ("val1" is the lowest part of AO_double_t).
	* src/atomic_ops/sysdeps/msftc/x86.h
	(AO_compare_double_and_swap_double_full): Rename to
	AO_double_compare_and_swap_full (as it has 3 args).
	* src/atomic_ops/sysdeps/msftc/x86.h: Replace C++ style comment
	with ANSI C one.

2009-09-10  Ivan Maidanski <ivmai@mail.ru>
	(diff108_cvs)

	* src/atomic_ops/sysdeps/gcc/x86_64.h: Remove comments about i486
	and 32-bit WinChips.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Ditto.
	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_nop_full): Replace
	K&R-style function definition with ANSI C one.
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/x86_64.h
	(AO_compare_double_and_swap_double_full): Fix comment.
	* src/atomic_ops/sysdeps/gcc/x86_64.h
	(AO_compare_double_and_swap_double_full): Swap all "val1" and "val2"
	variables ("val1" is the lowest part of AO_double_t).
	* src/atomic_ops/sysdeps/msftc/x86_64.h
	(AO_compare_double_and_swap_double_full): Ditto.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Remove comment about
	ASSUME_WINDOWS98.
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_ASM_X64_AVAILABLE): New
	macro.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Include
	"test_and_set_t_is_char.h" if AO_ASM_X64_AVAILABLE (same as in
	x86_64.h for gcc); remove FIXME (for re-implement test-and-set).
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Include
	"standard_ao_double_t.h" (same as in x86_64.h for gcc).
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Add comment for include
	<intrin.h> assuming at least VC++ v8.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Remove _Interlocked
	prototypes (since they are always declared in intrin.h).
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_nop_full): Move its
	definition below CAS primitive (to textually group all asm-based
	primitives together).
	* src/atomic_ops/sysdeps/msftc/x86_64.h (AO_test_and_set_full):
	Implement for AO_ASM_X64_AVAILABLE case.
	* src/atomic_ops/sysdeps/msftc/x86_64.h: Remove AO_CASDOUBLE_MISSING
	macro (replaced with AO_ASM_X64_AVAILABLE).
	* src/atomic_ops/sysdeps/msftc/x86_64.h
	(AO_compare_double_and_swap_double_full): Add intrinsic-based
	implementation for VC++ v9+.
	* src/atomic_ops/sysdeps/standard_ao_double_t.h: Include
	<xmmintrin.h> (and use "__m128" type) if _WIN64.
	* src/atomic_ops/sysdeps/standard_ao_double_t.h
	(AO_HAVE_DOUBLE_PTR_STORAGE): Define it always (as
	"double_ptr_storage" is defined for all cases).

2009-09-09  Hans Boehm <Hans.Boehm@hp.com> (Really mostly Patrick Marlier)

	* src/atomic_ops/sysdeps/gcc/sparc.h (NO_SPARC_V9):
	Renamed to AO_NO_SPARC_V9.

2009-09-01  Hans Boehm <Hans.Boehm@hp.com> (Really mostly Patrick Marlier)

	* src/atomic_ops/sysdeps/gcc/sparc.h (AO_test_and_set_full): Use
	AO_TS_VAL_t for "oldval" (for 64-bit support).
	* src/atomic_ops/sysdeps/gcc/sparc.h (AO_compare_and_swap_full):
	New function implemented.

2009-08-12  Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
	(diff107_cvs, resembling diff78 and diff88_cvs)

	* src/atomic_ops/sysdeps/sunc/x86.h: New file.
	* src/atomic_ops/sysdeps/sunc/x86_64.h: Ditto.
	* src/atomic_ops.h (AO_INLINE): Support inlining for DigitalMars,
	Watcom, Sun C.
	* src/atomic_ops.h (AO_compiler_barrier): Use intrinsic-based
	implementation for VC++ v8+ (include <intrin.h> before it unless
	WinCE target); use asm-based barrier implementation for Borland,
	DigitalMars and Watcom.
	* src/atomic_ops.h: Fix comment (for x86_64).
	* src/atomic_ops.h: Include specialized x86.h and x86_64.h arch
	headers for Sun C (if not AO_USE_PTHREAD_DEFS).
	* src/atomic_ops.h: Include VC-specific arch headers for Borland,
	DigitalMars and Watcom (Win32 target only).

2009-05-27  Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
	(diff87_cvs, resembling diff29, diff68, diff78 partly)

	* doc/README.txt: Remove outdated info about Windows support.
	* src/atomic_ops/generalize.h (AO_nop_full): Replace
	K&R-style function definition with ANSI C one.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/alpha.h (AO_nop_full, AO_nop_write):
	Ditto.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/ia64.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/mips.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_nop_full, AO_lwsync): Ditto.
	* src/atomic_ops/sysdeps/gcc/x86.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/generic_pthread.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/hpc/ia64.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/icc/ia64.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/ordered.h (AO_nop_full): Ditto.
	* src/atomic_ops/sysdeps/ordered_except_wr.h (AO_nop_write): Ditto.
	* src/atomic_ops/sysdeps/read_ordered.h (AO_nop_read): Ditto.
	* src/atomic_ops/sysdeps/test_and_set_t_is_ao_t.h (AO_TS_val): Fix
	comment.

2009-02-24  Hans Boehm <Hans.Boehm@hp.com> (Really primarily Earl Chew)

	* src/atomic_ops/sysdeps/gcc/powerpc.h: Add index,
	update modifiers to asms, refine clobbers to "cr0", use
	cr0 instead of cr7, add explicit AO_fetch_and_add,
	add UNTESTED 64 bit support.

2008-11-10  Hans Boehm <Hans.Boehm@hp.com> (Really Joerg Wagner)

	* src/atomic_ops/sysdeps/armcc/arm_v6.h: Compute
	AO_compare_and_swap value differently, add
	AO_compare_double_and_swap_double, some indentation fixes.
	* src/atomic_ops/sysdeps/gcc/arm.h: Make gcc asm code more
	robust and minimize clobbers, Add AO_compare_double_and_swap_double.

2008-11-06  Hans Boehm <Hans.Boehm@hp.com>

	* INSTALL: Add some platform-specific documentation.
	* src/Makefile.msft: Fix copyright notice.

2008-10-21  Hans Boehm <Hans.Boehm@hp.com>  (really Ivan Maidanski)

	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/all_aligned_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/all_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/char_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/gcc/arm.h: Fix comments.
	* src/atomic_ops/sysdeps/gcc/x86.h: Fix comments.
	* src/atomic_ops/sysdeps/gcc/x86_64.h: Fix comments.
	* src/atomic_ops/sysdeps/hpc/hppa.h: Fix comments.
	* src/atomic_ops/sysdeps/hpc/ia64.h: Fix comments.
	* src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/int_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h: Fix comments.
	* src/atomic_ops/sysdeps/short_atomic_load_store.h: Fix comments.
	* src/atomic_ops.c: Fix comments.
	* src/atomic_ops.h: Fix comments.
	* src/atomic_ops_stack.c: Fix comments.
	* src/atomic_ops_stack.h: Fix comments.

2008-10-20  Hans Boehm <Hans.Boehm@hp.com>  (really Andrew Agno)

	* src/atomic_ops/sysdeps/gcc/x86_64.h (AO_int_fetch_and_add_full):
	fix return type.

2008-08-21  Hans Boehm <Hans.Boehm@hp.com>

	* config.guess, config.sub, configure: Regenerate/replace.
	Use autoconf 2.61, automake 1.9.6.

2008-08-19  Hans Boehm <Hans.Boehm@hp.com> (really Thiemo Seufer)

	* src/atomic_ops/sysdeps/gcc/powerpc.h: Add %U1 (update) to lwz
	instruction.

2008-08-19  Hans Boehm <Hans.Boehm@hp.com> (really Sebastian Siewior)

	* src/atomic_ops/sysdeps/gcc/powerpc.h: Consider __NO_LWSYNC__.

2008-07-24  Hans Boehm <Hans.Boehm@hp.com> (really Ivan Maidanski)

	* src/atomic_ops/sysdeps/ao_t_is_int.h, src/atomic_ops.h:
	Add parentheses around addr arg for various functions.

2008-07-18  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/powerpc.h:
	Add const to first parameter of load calls (forgot one).

2008-07-18  Hans Boehm <Hans.Boehm@hp.com>

	* doc/README.txt, src/atomic_ops/generalize.h,
	src/atomic_ops/generalize-small.template,
	src/atomic_ops/generalize-small.h,
	src/atomic_ops/sysdeps/acquire_release_volatile.h,
	src/atomic_ops/sysdeps/char_acquire_release_volatile.h,
	src/atomic_ops/sysdeps/int_acquire_release_volatile.h,
	src/atomic_ops/sysdeps/short_acquire_release_volatile.h,
	src/atomic_ops/sysdeps/aligned_atomic_load_store.h,
	src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h,
	src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h,
	src/atomic_ops/sysdeps/ao_t_is_int.h,
	src/atomic_ops/sysdeps/atomic_load_store.h,
	src/atomic_ops/sysdeps/char_atomic_load_store.h,
	src/atomic_ops/sysdeps/int_atomic_load_store.h,
	src/atomic_ops/sysdeps/short_atomic_load_store.h,
	src/atomic_ops/sysdeps/generic_pthread.h,
	src/atomic_ops/sysdeps/read_ordered.h,
	src/atomic_ops/sysdeps/sysdeps/armcc/arm_v6.h,
	src/atomic_ops/sysdeps/gcc/arm.h,
	src/atomic_ops/sysdeps/icc/ia64.h,
	src/atomic_ops/sysdeps/ibmc/powerpc.h:
	Add const to first parameter of load calls.

2008-07-10  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/m68k.h: Remove SMP-unsafe
	AO_or_full, and let it be autogenerated instead.

2008-07-03  Hans Boehm <Hans.Boehm@hp.com> (Really Thiemo Seufer)

	* src/atomic_ops/sysdeps/gcc/mips.h: Really add mips support,
	fixing a merge accident.

2008-05-30  Hans Boehm <Hans.Boehm@hp.com> (Really from various Debian
	contributors)

	* doc/Makefile.in, src/Makefile.in, src/atomic_ops/Makefile.in:
	Regenerate.

2008-05-30  Hans Boehm <Hans.Boehm@hp.com> (Really from various Debian
	contributors)

	* src/atomic_ops.h, src/atomic_ops/sysdeps/Makefile.am,
	src/atomic_ops/sysdeps/gcc/mips.h: Add mips support.
	* src/atomic_ops/sysdeps/gcc/m68k.h: Make test_and_set work
	on char, align AO_t.  Add cas, or.
	* src/atomic_ops/sysdeps/gcc/s390.h: Fix include paths.
	* src/atomic_ops/generalize.h: Fix AO_compare_and_swap_double_acquire.
	* Makefile.in, aclocal.m4, src/atomic_ops/sysdeps/Makefile.in,
	tests/Makefile.in: Regenerate.

2008-02-11  Hans Boehm <Hans.Boehm@hp.com>
	   (Really Ian Wienand & Debian maintainers)

	* src/atomic_ops/sysdeps/gcc/x86.h
	(AO_compare_double_and_swap_double_full): Correctly account for
	ebx usage with PIC.

2008-01-09  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/standard_ao_double_t.h: Let
	double_ptr_storage default to long long; define everywhere.

2008-01-08  Hans Boehm <Hans.Boehm@hp.com> (Really mostly Joerg Wagner)

	* src/atomic_ops/sysdeps/msftc/x86.h: Conditionally add
	compare_double_and_swap_double.

2008-01-06  Hans Boehm <Hans.Boehm@hp.com> (Really mostly Joerg Wagner)

	* src/atomic_ops/generalize.h: Add test_and_set generalizations,
	Add AO_double_compare_and_swap generalizations.
	* src/atomic_ops/sysdeps/armcc/arm_v6.h: New file.
	* src/atomic_ops/sysdeps/gcc/arm.h: Handle V6 and V7.
	* src/atomic_ops/sysdeps/gcc/x86.h,
	src/atomic_ops/sysdeps/{gcc,msftc}/x86_64.h: Conditionally add
	compare_double_and_swap_double, commented out for msftc.
	* src/atomic_ops/sysdeps/standard_ao_double_t.h:  Add
	double_ptr_storage field.

2008-01-03  Hans Boehm <Hans.Boehm@hp.com>
	(Merge from separate atomic_ops tree)

	* src/atomic_ops/sysdeps/gcc/x86.h: Define correct macro for
	double-width cas, and fix its implementation.
	* doc/README.txt: Clarify use of _full.  Add more warnings about
	data dependencies.

2008-01-02  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_load_acquire): Add
	%X1 modifier to support indexed addressing.

2007-07-23  Hans Boehm <Hans.Boehm@hp.com> (really Jim Marshall)

	* src/atomic_ops/sysdeps/msftc/x86.h (_InterlockedExchangeAdd): Define
	for VC++6.

2007-07-05  Andreas Tobler  <a.tobler@schweiz.org>

	* src/atomic_ops.h: Check for __powerpc64__ and __ppc64__ to include
	powerpc.h.

2007-06-26  Hans Boehm <Hans.Boehm@hp.com> (really Luca Barbato)

	* src/atomic_ops/sysdeps/gcc/powerpc.h (AO_load_acquire): Add
	64-bit version.

2007-06-13  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops.h: include stddef.h

2007-06-06  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/msftc/x86_64.h: New file.
	* src/atomic_ops.h: Add test for msftc/x86_64.h.
	* src/atomic_ops/sysdeps/msftc/x86.h: Complain for _WIN64.
	* src/atomic_ops/sysdeps/Makefile.am: Add x86_64.h.
	* src/atomic_ops/sysdeps/Makefile.in: Regenerate.
	* src/atomic_ops/sysdeps/aligned_atomic_load_store.h,
	src/atomic_ops/sysdeps/int_aligned_atomic_load_store.h,
	src/atomic_ops/sysdeps/short_aligned_atomic_load_store.h:
	Replace unsigned long cast with size_t.

2007-05-17  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/hppa.h (AO_test_and_set_full):
	Add cast for return.

2007-05-14  Hans Boehm <Hans.Boehm@hp.com>

	* doc/README.txt: Update to reflect C++0x effort.

2007-05-07  Hans Boehm <Hans.Boehm@hp.com> (with help from Philipp Zambelli)

	* src/atomic_ops/sysdeps/msftc/x86.h: Don't just assume that mfence
	is present.
	* src/atomic_ops/sysdeps/gcc/arm.h (AO_test_and_set_full): Correct
	oldval type.

2006-11-09  Earl Chew (Agilent)

	* msftc/x86.h: Follow Microsoft documentation and include
	windows.h.

[1.2 release]

2006-07-11  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/hpc/ia64.h: Fix typos.

2006-03-28  Earl Chew (Agilent)

	* src/atomic_ops/sysdeps/gcc/powerpc.h: Remove unused variable cr.
	* src/atomic_ops/sysdeps/msftc/x86.h:
	Use new intrinsics available in MSVC 2003 and MSVC 2005.
	Use inline assembler to generate mfence and byte sized xchg
	Use correct prototype for InterlockedCompareExchange.
	* src/atomic_ops.h: Add test for __PPC__ .
	* tests/run_parallel.inc: Add simple VxWorks support.
	* tests/test_atomic.c, tests/test_atomic_include.h: Add prototypes
	to silence compiler warnings.

2006-11-13  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/powerpc.h: Beginnings of 64 bit support.
	* src/atomic_ops/sysdeps/gcc/x86.h: Use "=q" for AO_test_and_set_full.

2005-11-04  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/ia64.h: Include
	all_acquire_release_volatile.h, instead of just the pointer-sized
	version.
	* src/atomic_ops/sysdeps/gcc/ia64.h: Include
	all_acquire_release_volatile.h and all_atomic_load_store.h,
	instead of just the pointer-sized versions.

[1.1 release]

2005-09-27  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops.h: Define AO_CAN_EMUL_CAS for arm.
	* src/atomic_ops/sysdeps/read_ordered.h: New file, extracted from
	ordered_except_wr.h.
	* src/atomic_ops/sysdeps/ordered_except_wr.h: include read_ordered.h
	instead of duplicating it.
	* src/atomic_ops/sysdeps/gcc/arm.h: Include read_ordered.h.

2005-09-16  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/sysdeps/gcc/arm.h: Replace the AO_test_and_set
	definition with one that might actually work.  (Thanks to Kazu
	Hirata and Paul Brook.)

2005-08-01  Hans Boehm <Hans.Boehm@hp.com>

	* src/atomic_ops/Makefile.am: Change function naming from "byte" to
	"char" (again).

[1.0 release]

2005-03-21  Hans Boehm <Hans.Boehm@hp.com>
	Fix various acquire_release_volatile.h files to reflect the fact
	that both icc and gcc seem to reorder ordinary memory accesses around
	volatile accesses early in the compilation. Modify the acquire
	release test to catch this problem (with high probability, and only on
	a multiprocessor).

2005-03	Hans Boehm <Hans.Boehm@hp.com>
	Fixes for recently introduced bugs.  Update x86 and x86-64 assembly
	syntax to deal with complaints by some recent gcc versions.

2005-02	Hans Boehm <Hans.Boehm@hp.com>
	Added libatomic_ops_gpl library with support for mostly
	lock-free stack and malloc().

2005-01 Ian Wienand <ianw@gelato.unsw.edu.au>, Al Stone <ahs3@debian.org>,
	Hans Boehm <Hans.Boehm@hp.com>
	Use autoconf, automake, starting with code from Debian package.
	Don't use libtool.

2005-01	Hans Boehm <Hans.Boehm@hp.com>
	* test_and_set_t_is_ao_t.h, test_and_set_t_is_char.h, others:
	Change most platforms to use byte-wide test-and-set locations.

2005-01	Hans Boehm <Hans.Boehm@hp.com>
	* ao_t_is_int.h: Add to trivially support int-wide operations
	on platforms with int-sized pointers.

2004-12	Hans Boehm <Hans.Boehm@hp.com>
	* gcc/powerpc.h: First serious attempt to support PowerPC (with
	help from Maged Michael and others).

2004-12	Hans Boehm <Hans.Boehm@hp.com>
	* sunc/sparc.[hS]: Added minimal support for the Sun SPARC compiler.
	* atomic_ops_sysdeps.S: Add support for platforms that require
	out-of-line assembly code.

2004-10 Hans Boehm <Hans.Boehm@hp.com>
	More work on char, short, int sized data.  Add both
	compare_double_and_swap_double and compare_and_swap_double.
	Typically each platform will provide at most one of these.

2004-07-02  Ranko Zivojnovic
	Replace both instances of AO_HAVE_NOP_FULL with AO_HAVE_nop_full.

2004-06 Hans Boehm <Hans.Boehm@hp.com>
	Start to add atomic_ops primitives for different sized data.

2003-12-18  Hans Boehm  <Hans.Boehm@hp.com>

	* atomic_ops/sysdeps/acquire_release_volatile.h, atomic_ops.h:
	Fix support for ecc on IA64.  Remove compiler_barrier workaround
	for gcc 3.4 and later.

2003-12-17  Hans Boehm  <Hans.Boehm@hp.com>

	* atomic_ops/sysdeps/hpc/{ia64.h,hppa.h},
	atomic_ops/sysdeps/msftc/x86.h, Makefile, Makefile.atomic_ops,
	Makefile.atomic_ops.msft, atomic_ops.h: Add initial support
	for atomic_ops for VC++/Windows/X86 and HP/UX with the HP
	compiler on PA_RISC and IA64.

2003-12-09  Hans Boehm  <Hans.Boehm@hp.com>

	* many: Install under "atomic_ops" instead of "ao".
	Change atomic_ops include file structure.  Auxiliary include
	files are all under include/atomic_ops.
	Fix (hopefully) "make dist" in atomic_ops distribution.
	Renamed various types to end in _t, though the old versions
	are still defined for backward compatibility.

2003-12-08  Carlos O'Donell  <carlos@baldric.uwo.ca>

	* ao_sysdeps/gcc/hppa.h: Define AO_CLEAR macro. Change
	AO_pa_clearable_loc type. Add __ldcw, and __ldcw_align
	helper macros. AO_test_and_set_full uses helper macros.


Started sometime after version 0.4 release.  Currently the format is
informal.  Eventually should become more GNU-like.