annotate libitm/ChangeLog @ 120:f93fa5091070

fix conv1.c
author mir3636
date Thu, 08 Mar 2018 14:53:42 +0900
parents 04ced10e8804
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 * testsuite/lib/libitm.exp: Load scanlang.exp.
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 2017-04-03 Jonathan Wakely <jwakely@redhat.com>
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 * libitm_i.h (sutrct gtm_thread): Fix typo in comment.
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 2017-01-21 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 PR other/79046
kono
parents:
diff changeset
12 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
kono
parents:
diff changeset
13 of cat to get version from BASE-VER file.
kono
parents:
diff changeset
14 * testsuite/Makefile.in: Regenerated.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 2017-01-19 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 * config/x86/target.h (htm_available): Determine vendor from
kono
parents:
diff changeset
19 __get_cpuid_max return. Use signature_INTEL_ebx. Cleanup.
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 2017-01-18 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 * config/x86/target.h (htm_available): Add check for some processors
kono
parents:
diff changeset
24 on which TSX is broken.
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 2017-01-17 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 PR other/79046
kono
parents:
diff changeset
29 * configure.ac: Add GCC_BASE_VER.
kono
parents:
diff changeset
30 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
kono
parents:
diff changeset
31 get version from BASE-VER file.
kono
parents:
diff changeset
32 * testsuite/Makefile.in: Regenerated.
kono
parents:
diff changeset
33 * configure: Regenerated.
kono
parents:
diff changeset
34 * Makefile.in: Regenerated.
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 2017-01-04 Alan Modra <amodra@gmail.com>
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 * Makefile.in: Regenerate.
kono
parents:
diff changeset
39 * testsuite/Makefile.in: Regenerate.
kono
parents:
diff changeset
40
kono
parents:
diff changeset
41 2017-01-01 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
42
kono
parents:
diff changeset
43 Update copyright years.
kono
parents:
diff changeset
44
kono
parents:
diff changeset
45 * libitm.texi: Bump @copying's copyright year.
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 2016-12-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Remove.
kono
parents:
diff changeset
50 * aclocal.m4: Regenerate.
kono
parents:
diff changeset
51 * configure.ac: Call GCC_CHECK_LINKER_HWCAP instead of
kono
parents:
diff changeset
52 LIBITM_CHECK_LINKER_HWCAP.
kono
parents:
diff changeset
53
kono
parents:
diff changeset
54 2016-11-15 Matthias Klose <doko@ubuntu.com>
kono
parents:
diff changeset
55
kono
parents:
diff changeset
56 * configure: Regenerate.
kono
parents:
diff changeset
57
kono
parents:
diff changeset
58 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
59
kono
parents:
diff changeset
60 PR libitm/70456
kono
parents:
diff changeset
61 * util.cc (xmalloc): Use posix_memalign to allocate memory on
kono
parents:
diff changeset
62 on cache line if requested.
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 2016-03-03 Dominik Vogt <vogt@linux.vnet.ibm.com>
kono
parents:
diff changeset
65
kono
parents:
diff changeset
66 * config/s390/target.h (TARGET_BEGIN_TRANSACTION_ATTRIBUTE): Define
kono
parents:
diff changeset
67 function attribute to disable floating point in begin_transaction() on
kono
parents:
diff changeset
68 S/390.
kono
parents:
diff changeset
69 * beginend.cc (begin_transaction): Use
kono
parents:
diff changeset
70 TARGET_BEGIN_TRANSACTION_ATTRIBUTE.
kono
parents:
diff changeset
71
kono
parents:
diff changeset
72 2016-01-22 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
73
kono
parents:
diff changeset
74 * beginend.cc (GTM::gtm_thread::serial_lock): Put on cacheline
kono
parents:
diff changeset
75 boundary.
kono
parents:
diff changeset
76 (htm_fastpath): Remove.
kono
parents:
diff changeset
77 (gtm_thread::begin_transaction): Fix HTM fastpath.
kono
parents:
diff changeset
78 (_ITM_commitTransaction): Adapt.
kono
parents:
diff changeset
79 (_ITM_commitTransactionEH): Adapt.
kono
parents:
diff changeset
80 * libitm/config/linux/rwlock.h (gtm_rwlock): Add htm_fastpath member
kono
parents:
diff changeset
81 and accessors.
kono
parents:
diff changeset
82 * libitm/config/posix/rwlock.h (gtm_rwlock): Likewise.
kono
parents:
diff changeset
83 * libitm/config/posix/rwlock.cc (gtm_rwlock::gtm_rwlock): Adapt.
kono
parents:
diff changeset
84 * libitm/config/x86/sjlj.S (_ITM_beginTransaction): Fix HTM fastpath.
kono
parents:
diff changeset
85 * libitm/libitm_i.h (htm_fastpath): Remove declaration.
kono
parents:
diff changeset
86 * libitm/method-serial.cc (htm_mg): Adapt.
kono
parents:
diff changeset
87 (gtm_thread::serialirr_mode): Adapt.
kono
parents:
diff changeset
88 * libitm/query.cc (_ITM_inTransaction, _ITM_getTransactionId): Adapt.
kono
parents:
diff changeset
89
kono
parents:
diff changeset
90 2016-01-21 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
91
kono
parents:
diff changeset
92 * testsuite/libitm.c++/libstdc++-safeexc.C: Not supported on darwin
kono
parents:
diff changeset
93 or AIX.
kono
parents:
diff changeset
94
kono
parents:
diff changeset
95 2016-01-19 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
96
kono
parents:
diff changeset
97 PR bootstrap/69343
kono
parents:
diff changeset
98 PR bootstrap/69339
kono
parents:
diff changeset
99 Revert:
kono
parents:
diff changeset
100 2016-01-13 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
101
kono
parents:
diff changeset
102 * Makefile.am (libitm_la_SOURCES) [ARCH_AARCH64]: Add vect128.cc
kono
parents:
diff changeset
103 (libitm_la_SOURCES) [ARCH_ARM]: Add neon.cc
kono
parents:
diff changeset
104 (libitm_la_SOURCES) [ARCH_PPC]: Add vect128.cc
kono
parents:
diff changeset
105 (libitm_la_SOURCES) [ARCH_S390]: Add vect128.cc
kono
parents:
diff changeset
106 * configure.ac (ARCH_AARCH64): New conditional.
kono
parents:
diff changeset
107 (ARCH_PPC, ARCH_S390): Likewise.
kono
parents:
diff changeset
108 * Makefile.in, configure: Rebuild.
kono
parents:
diff changeset
109
kono
parents:
diff changeset
110 * libitm.h (_ITM_TYPE_M128): Always define.
kono
parents:
diff changeset
111 * vect64.cc: Split ...
kono
parents:
diff changeset
112 * vect128.cc: ... out of...
kono
parents:
diff changeset
113 * config/x86/x86_sse.cc: ... here.
kono
parents:
diff changeset
114 * config/arm/neon.cc: New file.
kono
parents:
diff changeset
115
kono
parents:
diff changeset
116 2016-01-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
117
kono
parents:
diff changeset
118 * local_type_traits: Remove file.
kono
parents:
diff changeset
119 * libitm_i.h: Don't include it anymore.
kono
parents:
diff changeset
120 (sized_integral): Remove.
kono
parents:
diff changeset
121
kono
parents:
diff changeset
122 2016-01-16 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
123
kono
parents:
diff changeset
124 * method-gl.cc (gl_wt_dispatch::trycommit): Ensure proxy privatization
kono
parents:
diff changeset
125 safety.
kono
parents:
diff changeset
126 * method-ml.cc (ml_wt_dispatch::trycommit): Likewise.
kono
parents:
diff changeset
127 * libitm/testsuite/libitm.c/priv-1.c: New.
kono
parents:
diff changeset
128
kono
parents:
diff changeset
129 2015-01-15 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
130
kono
parents:
diff changeset
131 testsuite/libitm.c++/libstdc++-safeexc.C: New.
kono
parents:
diff changeset
132
kono
parents:
diff changeset
133 2016-01-13 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
134
kono
parents:
diff changeset
135 * beginend.cc (gtm_thread::trycommit): Fix seq_cst fences.
kono
parents:
diff changeset
136 * config/linux/rwlock.cc (gtm_rwlock::write_lock_generic): Likewise.
kono
parents:
diff changeset
137 (gtm_rwlock::write_unlock): Likewise.
kono
parents:
diff changeset
138
kono
parents:
diff changeset
139 2016-01-13 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
140
kono
parents:
diff changeset
141 * Makefile.am (libitm_la_SOURCES) [ARCH_AARCH64]: Add vect128.cc
kono
parents:
diff changeset
142 (libitm_la_SOURCES) [ARCH_ARM]: Add neon.cc
kono
parents:
diff changeset
143 (libitm_la_SOURCES) [ARCH_PPC]: Add vect128.cc
kono
parents:
diff changeset
144 (libitm_la_SOURCES) [ARCH_S390]: Add vect128.cc
kono
parents:
diff changeset
145 * configure.ac (ARCH_AARCH64): New conditional.
kono
parents:
diff changeset
146 (ARCH_PPC, ARCH_S390): Likewise.
kono
parents:
diff changeset
147 * Makefile.in, configure: Rebuild.
kono
parents:
diff changeset
148
kono
parents:
diff changeset
149 * libitm.h (_ITM_TYPE_M128): Always define.
kono
parents:
diff changeset
150 * vect64.cc: Split ...
kono
parents:
diff changeset
151 * vect128.cc: ... out of...
kono
parents:
diff changeset
152 * config/x86/x86_sse.cc: ... here.
kono
parents:
diff changeset
153 * config/arm/neon.cc: New file.
kono
parents:
diff changeset
154
kono
parents:
diff changeset
155 2016-01-13 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
156
kono
parents:
diff changeset
157 * beginend.cc (gtm_thread::trycommit): Fix privatization safety.
kono
parents:
diff changeset
158 * config/linux/rwlock.cc (gtm_rwlock::write_lock_generic): Likewise.
kono
parents:
diff changeset
159 * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Likewise.
kono
parents:
diff changeset
160 * dispatch.h (abi_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
161 * method-gl.cc (gl_wt_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
162 * method-ml.cc (ml_wt_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
163 * method-serial.cc (serial_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
164 (serialirr_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
165 (serialirr_onwrite_dispatch::snapshot_most_recent): New.
kono
parents:
diff changeset
166
kono
parents:
diff changeset
167 2016-01-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
168
kono
parents:
diff changeset
169 * libitm_i.h (gtm_mask_stack): Remove.
kono
parents:
diff changeset
170 * beginend.cc (gtm_stmlock_array, gtm_clock): Likewise.
kono
parents:
diff changeset
171 * stmlock.h: Remove file.
kono
parents:
diff changeset
172 * config/alpha/cacheline.h: Likewise.
kono
parents:
diff changeset
173 * config/generic/cacheline.h: Likewise.
kono
parents:
diff changeset
174 * config/powerpc/cacheline.h: Likewise.
kono
parents:
diff changeset
175 * config/sparc/cacheline.h: Likewise.
kono
parents:
diff changeset
176 * config/x86/cacheline.h: Likewise.
kono
parents:
diff changeset
177
kono
parents:
diff changeset
178 2016-01-04 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
179
kono
parents:
diff changeset
180 Update copyright years.
kono
parents:
diff changeset
181
kono
parents:
diff changeset
182 * libitm.texi: Bump @copying's copyright year.
kono
parents:
diff changeset
183
kono
parents:
diff changeset
184 2015-11-26 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
185
kono
parents:
diff changeset
186 * method-ml.cc (ml_mg): Use multiplicative instead of simple hashing.
kono
parents:
diff changeset
187 (ml_wt_dispatch::pre_write): Adapt.
kono
parents:
diff changeset
188 (ml_wt_dispatch::pre_load): Likewise.
kono
parents:
diff changeset
189
kono
parents:
diff changeset
190 2015-11-22 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
191
kono
parents:
diff changeset
192 * libitm_i.h (gtm_alloc_action): Remove union.
kono
parents:
diff changeset
193 * testsuite/libitm.c/alloc-1.c: New.
kono
parents:
diff changeset
194
kono
parents:
diff changeset
195 2015-11-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
196
kono
parents:
diff changeset
197 * testsuite/libitm.c++/eh-5.C: New.
kono
parents:
diff changeset
198 * libitm.h (_ITM_cxa_free_exception): New.
kono
parents:
diff changeset
199 * libitm.map (_ITM_cxa_free_exception): Add it.
kono
parents:
diff changeset
200 * libitm.texi: Update ABI docs.
kono
parents:
diff changeset
201 * libitm_i.h (gtm_transaction_cp::cxa_unthrown): Remove.
kono
parents:
diff changeset
202 (gtm_transaction_cp::cxa_uncaught_count): Add.
kono
parents:
diff changeset
203 (gtm_thread::cxa_unthrown): Remove.
kono
parents:
diff changeset
204 (gtm_thread::cxa_uncaught_count_ptr): Add.
kono
parents:
diff changeset
205 (gtm_thread::cxa_uncaught_count): Add.
kono
parents:
diff changeset
206 (gtm_thread::drop_references_allocations): Rename to...
kono
parents:
diff changeset
207 (gtm_thread::discard_allocation): ... this and adapt.
kono
parents:
diff changeset
208 (gtm_thread::init_cpp_exceptions): New.
kono
parents:
diff changeset
209 * beginend.cc (gtm_thread::gtm_thread): Adapt EH handling.
kono
parents:
diff changeset
210 (gtm_thread::begin_transaction): Likewise.
kono
parents:
diff changeset
211 (gtm_transaction_cp::save): Likewise.
kono
parents:
diff changeset
212 (gtm_thread::trycommit): Likewise.
kono
parents:
diff changeset
213 * eh_cpp.cc: Add overview comments.
kono
parents:
diff changeset
214 (__cxa_eh_globals, __cxa_get_globals, __cxa_free_exception): Declare.
kono
parents:
diff changeset
215 (free_any_exception, _ITM_cxa_free_exception): New.
kono
parents:
diff changeset
216 (gtm_thread::init_cpp_exceptions): Define.
kono
parents:
diff changeset
217 (_ITM_cxa_allocate_exception, _ITM_cxa_throw): Adapt.
kono
parents:
diff changeset
218 (_ITM_cxa_begin_catch, _ITM_cxa_end_catch): Likewise.
kono
parents:
diff changeset
219 (gtm_thread::revert_cpp_exceptions): Likewise.
kono
parents:
diff changeset
220
kono
parents:
diff changeset
221 2015-11-09 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
222
kono
parents:
diff changeset
223 * alloc_cpp.cc (_ZdlPvX, _ZdlPvXRKSt9nothrow_t, _ZGTtdlPvX,
kono
parents:
diff changeset
224 _ZGTtdlPvXRKSt9nothrow_t, delsz_opnt): New.
kono
parents:
diff changeset
225 * libitm.map: Add _ZGTtdlPvX and _ZGTtdlPvXRKSt9nothrow_t.
kono
parents:
diff changeset
226 * libitm_i.h (gtm_alloc_action): Add free_fn_sz and sz. Add comments.
kono
parents:
diff changeset
227 (gtm_thread::forget_allocations): New overload with size_t argument.
kono
parents:
diff changeset
228 * alloc.c (gtm_thread::forget_allocation): Define new overload and
kono
parents:
diff changeset
229 adapt existing one.
kono
parents:
diff changeset
230 (gtm_thread::record_allocation): Adapt.
kono
parents:
diff changeset
231 (gtm_thread::commit_allocations_1): Adapt.
kono
parents:
diff changeset
232 (gtm_thread::commit_allocations_2): Adapt.
kono
parents:
diff changeset
233 * testsuite/libitm.c++/newdelete.C: New.
kono
parents:
diff changeset
234
kono
parents:
diff changeset
235 2015-10-27 Daniel Jacobowitz <dan@codesourcery.com>
kono
parents:
diff changeset
236 Joseph Myers <joseph@codesourcery.com>
kono
parents:
diff changeset
237 Mark Shinwell <shinwell@codesourcery.com>
kono
parents:
diff changeset
238 Andrew Stubbs <ams@codesourcery.com>
kono
parents:
diff changeset
239 Rich Felker <dalias@libc.org>
kono
parents:
diff changeset
240
kono
parents:
diff changeset
241 * config/sh/sjlj.S (_ITM_beginTransaction): Bypass PLT calling
kono
parents:
diff changeset
242 GTM_begin_transaction for compatibility with FDPIC.
kono
parents:
diff changeset
243
kono
parents:
diff changeset
244 2015-10-09 David Malcolm <dmalcolm@redhat.com>
kono
parents:
diff changeset
245
kono
parents:
diff changeset
246 * testsuite/lib/libitm.exp: Load multiline.exp before prune.exp,
kono
parents:
diff changeset
247 using load_gcc_lib.
kono
parents:
diff changeset
248
kono
parents:
diff changeset
249 2015-08-20 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org> (tiny change)
kono
parents:
diff changeset
250
kono
parents:
diff changeset
251 PR libitm/61164
kono
parents:
diff changeset
252 * local_atomic (__always_inline): Rename to...
kono
parents:
diff changeset
253 (__libitm_always_inline): ... this.
kono
parents:
diff changeset
254
kono
parents:
diff changeset
255 2015-07-03 Carlos Sánchez de La Lama <csanchezdll@gmail.com>
kono
parents:
diff changeset
256
kono
parents:
diff changeset
257 PR target/52482
kono
parents:
diff changeset
258 * config/powerpc/sjlj.S: Port to Xcode 2.5.
kono
parents:
diff changeset
259
kono
parents:
diff changeset
260 2015-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
261
kono
parents:
diff changeset
262 * config/linux/x86/futex_bits.h (sys_futex0) [__x86_64__]: Change
kono
parents:
diff changeset
263 operands "op" and "val" to int.
kono
parents:
diff changeset
264
kono
parents:
diff changeset
265 2015-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
266
kono
parents:
diff changeset
267 * config/linux/sh/futex_bits.h (sys_futex0) Change operands
kono
parents:
diff changeset
268 "op" and "val" to int.
kono
parents:
diff changeset
269
kono
parents:
diff changeset
270 2015-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
271
kono
parents:
diff changeset
272 * config/linux/alpha/futex_bits.h (sys_futex0) Change operands
kono
parents:
diff changeset
273 "op" and "val" to int.
kono
parents:
diff changeset
274
kono
parents:
diff changeset
275 2015-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
276
kono
parents:
diff changeset
277 * config/linux/futex.cc (gtm_futex_wait, gtm_futex_wake):
kono
parents:
diff changeset
278 Declare as static int.
kono
parents:
diff changeset
279 (FUTEX_PRIVATE_FLAG): Remove L suffix.
kono
parents:
diff changeset
280 * config/linux/futex_bits.h (sys_futex0) Change operand "op" to int.
kono
parents:
diff changeset
281
kono
parents:
diff changeset
282 2015-05-27 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
283
kono
parents:
diff changeset
284 * config/linux/x86/futex_bits.h (sys_futex0) [__PIC__]: Remove
kono
parents:
diff changeset
285 sys_futex0 function.
kono
parents:
diff changeset
286
kono
parents:
diff changeset
287 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
kono
parents:
diff changeset
288
kono
parents:
diff changeset
289 * Makefile.in: Regenerated with automake-1.11.6.
kono
parents:
diff changeset
290 * aclocal.m4: Likewise.
kono
parents:
diff changeset
291 * configure: Likewise.
kono
parents:
diff changeset
292 * testsuite/Makefile.in: Likewise.
kono
parents:
diff changeset
293
kono
parents:
diff changeset
294 2015-04-22 Gregor Richards <gregor.richards@uwaterloo.ca>
kono
parents:
diff changeset
295
kono
parents:
diff changeset
296 * config/arm/hwcap.cc: Use fcntl.h instead of sys/fcntl.h.
kono
parents:
diff changeset
297 * config/linux/x86/tls.h: Only use __GLIBC_PREREQ if defined.
kono
parents:
diff changeset
298
kono
parents:
diff changeset
299 2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
300
kono
parents:
diff changeset
301 PR libitm/64360
kono
parents:
diff changeset
302 * libitm.c/stackundo.c (test2): Make it static.
kono
parents:
diff changeset
303 (test1): Likewise.
kono
parents:
diff changeset
304
kono
parents:
diff changeset
305 2015-01-05 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
306
kono
parents:
diff changeset
307 Update copyright years.
kono
parents:
diff changeset
308
kono
parents:
diff changeset
309 2015-01-05 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
310
kono
parents:
diff changeset
311 * libitm.texi: Bump @copying's copyright year.
kono
parents:
diff changeset
312
kono
parents:
diff changeset
313 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
kono
parents:
diff changeset
314
kono
parents:
diff changeset
315 * testsuite/lib/libitm.exp: Load target-utils.exp.
kono
parents:
diff changeset
316 Move load of target-supports.exp earlier.
kono
parents:
diff changeset
317
kono
parents:
diff changeset
318 2014-12-03 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
319
kono
parents:
diff changeset
320 * configure.tgt (x86_64): Tune -m32 multilib to generic.
kono
parents:
diff changeset
321
kono
parents:
diff changeset
322 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
323
kono
parents:
diff changeset
324 PR bootstrap/63784
kono
parents:
diff changeset
325 * configure: Regenerated.
kono
parents:
diff changeset
326
kono
parents:
diff changeset
327 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
kono
parents:
diff changeset
328
kono
parents:
diff changeset
329 PR target/63610
kono
parents:
diff changeset
330 * configure: Regenerate.
kono
parents:
diff changeset
331
kono
parents:
diff changeset
332 2014-10-06 Marek Polacek <polacek@redhat.com>
kono
parents:
diff changeset
333
kono
parents:
diff changeset
334 * testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
kono
parents:
diff changeset
335 * testsuite/libitm.c/memset-1.c: Likewise.
kono
parents:
diff changeset
336
kono
parents:
diff changeset
337 2014-07-24 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
338
kono
parents:
diff changeset
339 * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
kono
parents:
diff changeset
340 addressing mode in epilogue.
kono
parents:
diff changeset
341
kono
parents:
diff changeset
342 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
343
kono
parents:
diff changeset
344 * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for
kono
parents:
diff changeset
345 -mclear-hwcap instead.
kono
parents:
diff changeset
346 * configure: Regenerate.
kono
parents:
diff changeset
347 * clearcap.map: Remove.
kono
parents:
diff changeset
348
kono
parents:
diff changeset
349 2014-05-21 John Marino <gnugcc@marino.st>
kono
parents:
diff changeset
350
kono
parents:
diff changeset
351 * configure.tgt (*-*-dragonfly*): New target.
kono
parents:
diff changeset
352
kono
parents:
diff changeset
353 2014-05-19 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
354
kono
parents:
diff changeset
355 * config/aarch64/sjlj.S: New file.
kono
parents:
diff changeset
356 * config/aarch64/target.h: New file.
kono
parents:
diff changeset
357 * configure.tgt: Enable aarch64.
kono
parents:
diff changeset
358
kono
parents:
diff changeset
359 2014-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
360
kono
parents:
diff changeset
361 * config/generic/asmcfi.h: Also check for
kono
parents:
diff changeset
362 __GCC_HAVE_DWARF2_CFI_ASM.
kono
parents:
diff changeset
363
kono
parents:
diff changeset
364 2013-04-02 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
365
kono
parents:
diff changeset
366 * config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove.
kono
parents:
diff changeset
367 * config/arm/target.h, config/sh/target.h: Likewise.
kono
parents:
diff changeset
368 * config/sparc/target.h, config/x86/target.h: Likewise.
kono
parents:
diff changeset
369
kono
parents:
diff changeset
370 2014-03-26 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
371
kono
parents:
diff changeset
372 * config/linux/futex_bits.h: Include errno.h.
kono
parents:
diff changeset
373 (sys_futex0): If syscall returns -1, return -errno rather than
kono
parents:
diff changeset
374 -1.
kono
parents:
diff changeset
375
kono
parents:
diff changeset
376 2014-03-26 Joseph Myers <joseph@codesourcery.com>
kono
parents:
diff changeset
377
kono
parents:
diff changeset
378 * libitm.texi (Index): Rename to Library Index.
kono
parents:
diff changeset
379
kono
parents:
diff changeset
380 2014-01-13 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
381
kono
parents:
diff changeset
382 PR libitm/53113
kono
parents:
diff changeset
383 * Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS.
kono
parents:
diff changeset
384 (x86_avx.lo): Append -mavx to CXXFLAGS.
kono
parents:
diff changeset
385 * Makefile.in: Regenerate.
kono
parents:
diff changeset
386
kono
parents:
diff changeset
387 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
kono
parents:
diff changeset
388
kono
parents:
diff changeset
389 Update copyright years
kono
parents:
diff changeset
390
kono
parents:
diff changeset
391 2014-01-02 Tobias Burnus <burnus@net-b.de>
kono
parents:
diff changeset
392
kono
parents:
diff changeset
393 * libitm.texi: Bump @copying's copyright year.
kono
parents:
diff changeset
394
kono
parents:
diff changeset
395 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
kono
parents:
diff changeset
396
kono
parents:
diff changeset
397 * config/powerpc/sjlj.S [__powerpc64__ && _CALL_ELF == 2]:
kono
parents:
diff changeset
398 (FUNC): Define ELFv2 variant.
kono
parents:
diff changeset
399 (END): Likewise.
kono
parents:
diff changeset
400 (HIDDEN): Likewise.
kono
parents:
diff changeset
401 (CALL): Likewise.
kono
parents:
diff changeset
402 (BASE): Likewise.
kono
parents:
diff changeset
403 (LR_SAVE): Likewise.
kono
parents:
diff changeset
404
kono
parents:
diff changeset
405 2013-09-20 Alan Modra <amodra@gmail.com>
kono
parents:
diff changeset
406
kono
parents:
diff changeset
407 * configure: Regenerate.
kono
parents:
diff changeset
408
kono
parents:
diff changeset
409 2013-08-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
410
kono
parents:
diff changeset
411 * config/posix/rwlock.cc: Fix initialization order.
kono
parents:
diff changeset
412
kono
parents:
diff changeset
413 2013-08-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
414
kono
parents:
diff changeset
415 * libitm_i.h (gtm_thread): Assign an asm name to serial_lock.
kono
parents:
diff changeset
416 (htm_fastpath): Assign an asm name.
kono
parents:
diff changeset
417 * libitm.h (_ITM_codeProperties): Add non-ABI flags used by custom
kono
parents:
diff changeset
418 HTM fast paths.
kono
parents:
diff changeset
419 (_ITM_actions): Likewise.
kono
parents:
diff changeset
420 * config/x86/target.h (HTM_CUSTOM_FASTPATH): Enable custom fastpath on
kono
parents:
diff changeset
421 x86_64.
kono
parents:
diff changeset
422 * config/x86/sjlj.S (_ITM_beginTransaction): Add custom HTM fast path.
kono
parents:
diff changeset
423 * config/posix/rwlock.h (gtm_rwlock): Update comments. Move summary
kono
parents:
diff changeset
424 field to the start of the structure.
kono
parents:
diff changeset
425 * config/linux/rwlock.h (gtm_rwlock): Update comments.
kono
parents:
diff changeset
426 * beginend.cc (gtm_thread::begin_transaction): Add retry policy
kono
parents:
diff changeset
427 handling for custom HTM fast paths.
kono
parents:
diff changeset
428
kono
parents:
diff changeset
429 2013-08-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
430 Revert:
kono
parents:
diff changeset
431 2013-08-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
432
kono
parents:
diff changeset
433 * configure.tgt: Add -msoft-float to XCFLAGS.
kono
parents:
diff changeset
434
kono
parents:
diff changeset
435 2013-08-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
436
kono
parents:
diff changeset
437 * configure.tgt: Add -msoft-float to XCFLAGS.
kono
parents:
diff changeset
438
kono
parents:
diff changeset
439 2013-07-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
440
kono
parents:
diff changeset
441 * config/s390/target.h (htm_begin, htm_commit, htm_abort)
kono
parents:
diff changeset
442 (htm_transaction_active): Enable zEC12 instructions in the
kono
parents:
diff changeset
443 assembler.
kono
parents:
diff changeset
444 * configure.tgt: Remove -Wa,-march=zEC12 from XCFLAGS.
kono
parents:
diff changeset
445
kono
parents:
diff changeset
446 2013-07-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
447
kono
parents:
diff changeset
448 * acinclude.m4: Add htm asm check for s390.
kono
parents:
diff changeset
449 * configure.tgt: Add -mhtm and -Wa,-march=zEC12 to the options.
kono
parents:
diff changeset
450 * configure: Regenerate.
kono
parents:
diff changeset
451 * config/s390/target.h: Remove __HTM__ check.
kono
parents:
diff changeset
452 (htm_available): Call getauxval to get hwcaps and check whether
kono
parents:
diff changeset
453 HTM is available or not.
kono
parents:
diff changeset
454
kono
parents:
diff changeset
455 2013-07-15 Peter Bergner <bergner@vnet.ibm.com>
kono
parents:
diff changeset
456
kono
parents:
diff changeset
457 * acinclude.m4 (LIBITM_CHECK_AS_HTM): New.
kono
parents:
diff changeset
458 * configure.ac: Use it.
kono
parents:
diff changeset
459 (AC_CHECK_HEADERS): Check for sys/auxv.h.
kono
parents:
diff changeset
460 (AC_CHECK_FUNCS): Check for getauxval.
kono
parents:
diff changeset
461 * config.h.in, configure: Rebuild.
kono
parents:
diff changeset
462 * configure.tgt (target_cpu): Add -mhtm to XCFLAGS.
kono
parents:
diff changeset
463 * config/powerpc/target.h: Include sys/auxv.h and htmintrin.h.
kono
parents:
diff changeset
464 (USE_HTM_FASTPATH): Define.
kono
parents:
diff changeset
465 (_TBEGIN_STARTED, _TBEGIN_INDETERMINATE, _TBEGIN_PERSISTENT,
kono
parents:
diff changeset
466 _HTM_RETRIES) New macros.
kono
parents:
diff changeset
467 (htm_abort, htm_abort_should_retry, htm_available, htm_begin, htm_init,
kono
parents:
diff changeset
468 htm_begin_success, htm_commit, htm_transaction_active): New functions.
kono
parents:
diff changeset
469
kono
parents:
diff changeset
470 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
471
kono
parents:
diff changeset
472 * config/s390/target.h: Include htmintrin.h.
kono
parents:
diff changeset
473 (_HTM_ITM_RETRIES): New macro definition.
kono
parents:
diff changeset
474 (htm_available, htm_init, htm_begin, htm_begin_success)
kono
parents:
diff changeset
475 (htm_commit, htm_abort, htm_abort_should_retry): New functions.
kono
parents:
diff changeset
476
kono
parents:
diff changeset
477 2013-06-20 Iain Sandoe <iain@codesourcery.com>
kono
parents:
diff changeset
478 Cesar Philippidis <cesar@codesourcery.com>
kono
parents:
diff changeset
479
kono
parents:
diff changeset
480 * testsuite/lib/libitm.exp: Reorder lib loads into dependency order.
kono
parents:
diff changeset
481 Do not load_gcc_lib gcc-dg.exp and add a comment as to why.
kono
parents:
diff changeset
482 * testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp.
kono
parents:
diff changeset
483 * testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp.
kono
parents:
diff changeset
484
kono
parents:
diff changeset
485 2013-06-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
486
kono
parents:
diff changeset
487 * query.cc (_ITM_inTransaction): Abort when using the HTM fastpath.
kono
parents:
diff changeset
488 (_ITM_getTransactionId): Same.
kono
parents:
diff changeset
489 * config/x86/target.h (htm_transaction_active): New.
kono
parents:
diff changeset
490
kono
parents:
diff changeset
491 2013-06-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
492
kono
parents:
diff changeset
493 PR libitm/57643
kono
parents:
diff changeset
494 * beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in
kono
parents:
diff changeset
495 the HTM fastpath.
kono
parents:
diff changeset
496
kono
parents:
diff changeset
497 2013-03-31 Gerald Pfeifer <gerald@pfeifer.com>
kono
parents:
diff changeset
498
kono
parents:
diff changeset
499 PR bootstrap/56714
kono
parents:
diff changeset
500 * local_atomic (__always_inline): Always define our version.
kono
parents:
diff changeset
501 (__calculate_memory_order): Mark inline.
kono
parents:
diff changeset
502 (atomic_thread_fence): Ditto.
kono
parents:
diff changeset
503 (atomic_signal_fence): Ditto.
kono
parents:
diff changeset
504 (atomic_bool::atomic_flag_test_and_set_explicit): Ditto.
kono
parents:
diff changeset
505 (atomic_bool::atomic_flag_clear_explicit): Ditto.
kono
parents:
diff changeset
506 (atomic_bool::atomic_flag_test_and_set): Ditto.
kono
parents:
diff changeset
507 (atomic_bool::atomic_flag_clear): Ditto.
kono
parents:
diff changeset
508
kono
parents:
diff changeset
509 2013-04-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
kono
parents:
diff changeset
510
kono
parents:
diff changeset
511 * config/s390/sjlj.S: New file.
kono
parents:
diff changeset
512 * config/s390/target.h: New file.
kono
parents:
diff changeset
513 * configure.tgt: Set options for S/390.
kono
parents:
diff changeset
514
kono
parents:
diff changeset
515 2013-03-23 Andi Kleen <ak@linux.intel.com>
kono
parents:
diff changeset
516
kono
parents:
diff changeset
517 * local_atomic (__always_inline): Add.
kono
parents:
diff changeset
518 (__calculate_memory_order, atomic_thread_fence,
kono
parents:
diff changeset
519 atomic_signal_fence, test_and_set, clear, store, load,
kono
parents:
diff changeset
520 exchange, compare_exchange_weak, compare_exchange_strong,
kono
parents:
diff changeset
521 fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor):
kono
parents:
diff changeset
522 Add __always_inline to force inlining.
kono
parents:
diff changeset
523
kono
parents:
diff changeset
524 2013-02-11 Iain Sandoe <iain@codesourcery.com>
kono
parents:
diff changeset
525 Jack Howarth <howarth@bromo.med.uc.edu>
kono
parents:
diff changeset
526 Patrick Marlier <patrick.marlier@gmail.com>
kono
parents:
diff changeset
527
kono
parents:
diff changeset
528 PR libitm/55693
kono
parents:
diff changeset
529 * alloc_cpp.cc: Enable function declarations on darwin.
kono
parents:
diff changeset
530 * eh_cpp.cc: Likewise.
kono
parents:
diff changeset
531
kono
parents:
diff changeset
532 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
kono
parents:
diff changeset
533
kono
parents:
diff changeset
534 Update copyright years.
kono
parents:
diff changeset
535
kono
parents:
diff changeset
536 2012-11-09 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
537
kono
parents:
diff changeset
538 * beginend.cc (htm_fastpath): New.
kono
parents:
diff changeset
539 (gtm_thread::begin_transaction, _ITM_commitTransaction,
kono
parents:
diff changeset
540 _ITM_commitTransactionEH): Add HTM fastpath handling.
kono
parents:
diff changeset
541 * config/linux/rwlock.h (gtm_rwlock.is_write_locked): New.
kono
parents:
diff changeset
542 * config/posix/rwlock.h (gtm_rwlock.is_write_locked): New.
kono
parents:
diff changeset
543 * config/x86/target.h (htm_available, htm_init, htm_begin_success,
kono
parents:
diff changeset
544 htm_begin, htm_commit, htm_abort, htm_abort_should_retry): New.
kono
parents:
diff changeset
545 * configure.tgt: Add -mrtm to XCFLAGS.
kono
parents:
diff changeset
546 * method-serial.cc (htm_mg, o_htm_mg, htm_dispatch, dispatch_htm): New.
kono
parents:
diff changeset
547 (gtm_thread::serialirr_mode): Add HTM fastpath handling.
kono
parents:
diff changeset
548 * libitm_i.h (htm_fastpath, dispatch_htm): Declare.
kono
parents:
diff changeset
549 * retry.cc (parse_default_method): Add HTM method parsing.
kono
parents:
diff changeset
550 (gtm_thread::number_of_threads_changed): Use HTM by default if
kono
parents:
diff changeset
551 available.
kono
parents:
diff changeset
552
kono
parents:
diff changeset
553 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
kono
parents:
diff changeset
554
kono
parents:
diff changeset
555 * configure: Regenerate.
kono
parents:
diff changeset
556
kono
parents:
diff changeset
557 2012-10-31 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
558
kono
parents:
diff changeset
559 * acinclude.m4 (LIBITM_CHECK_AS_RTM): New.
kono
parents:
diff changeset
560 * configure.ac: Use it.
kono
parents:
diff changeset
561 * config.h.in, configure: Rebuild.
kono
parents:
diff changeset
562 * testsuite/Makefile.in: Rebuild.
kono
parents:
diff changeset
563
kono
parents:
diff changeset
564 2012-10-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
565
kono
parents:
diff changeset
566 * libitm.texi: Clarify ABI requirements for data-logging functions.
kono
parents:
diff changeset
567
kono
parents:
diff changeset
568 2012-10-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
569
kono
parents:
diff changeset
570 * retry.cc (gtm_thread::decide_begin_dispatch): Ask dispatch whether
kono
parents:
diff changeset
571 it requires serial mode instead of assuming that for certain
kono
parents:
diff changeset
572 dispatchs.
kono
parents:
diff changeset
573 * dispatch.h (abi_dispatch::requires_serial): New.
kono
parents:
diff changeset
574 (abi_dispatch::abi_dispatch): Adapt.
kono
parents:
diff changeset
575 * method-gl.cc (gl_wt_dispatch::gl_wt_dispatch): Adapt.
kono
parents:
diff changeset
576 * method-ml.cc (ml_wt_dispatch::ml_wt_dispatch): Same.
kono
parents:
diff changeset
577 * method-serial.cc (serialirr_dispatch::serialirr_dispatch,
kono
parents:
diff changeset
578 serial_dispatch::serial_dispatch,
kono
parents:
diff changeset
579 serialirr_onwrite_dispatch::serialirr_onwrite_dispatch): Same.
kono
parents:
diff changeset
580
kono
parents:
diff changeset
581 2012-10-02 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
582
kono
parents:
diff changeset
583 * config/x86/target.h (struct gtm_jmpbuf): Merge x86_64
kono
parents:
diff changeset
584 and ia32 declarations some more.
kono
parents:
diff changeset
585 * config/x86/sjlj.S (_ITM_beginTransaction): Move ret to common code.
kono
parents:
diff changeset
586
kono
parents:
diff changeset
587 2012-09-20 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
588
kono
parents:
diff changeset
589 PR other/43620
kono
parents:
diff changeset
590 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
kono
parents:
diff changeset
591 * configure: Regenerate.
kono
parents:
diff changeset
592 * Makefile.in: Regenerate.
kono
parents:
diff changeset
593
kono
parents:
diff changeset
594 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
kono
parents:
diff changeset
595
kono
parents:
diff changeset
596 * configure: Regenerated.
kono
parents:
diff changeset
597
kono
parents:
diff changeset
598 2012-07-31 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
599
kono
parents:
diff changeset
600 * config/x86/target.h (cpu_relax): Use __builtin_ia32_pause.
kono
parents:
diff changeset
601
kono
parents:
diff changeset
602 2012-05-21 Patrick Marlier <patrick.marlier@gmail.com>
kono
parents:
diff changeset
603
kono
parents:
diff changeset
604 * eh_cpp.cc: Fix __cxa_end_catch declaration.
kono
parents:
diff changeset
605
kono
parents:
diff changeset
606 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
607
kono
parents:
diff changeset
608 * configure: Regenerated.
kono
parents:
diff changeset
609
kono
parents:
diff changeset
610 2012-04-04 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
611
kono
parents:
diff changeset
612 PR libitm/52854
kono
parents:
diff changeset
613 * config/x86/target.h (gtm_jmpbuf): Replace long with long long
kono
parents:
diff changeset
614 for x86-64.
kono
parents:
diff changeset
615
kono
parents:
diff changeset
616 2012-04-03 Tristan Gingold <gingold@adacore.com>
kono
parents:
diff changeset
617
kono
parents:
diff changeset
618 * configure: Regenerate.
kono
parents:
diff changeset
619
kono
parents:
diff changeset
620 2012-03-31 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
621
kono
parents:
diff changeset
622 PR bootstrap/52812
kono
parents:
diff changeset
623 * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64.
kono
parents:
diff changeset
624
kono
parents:
diff changeset
625 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
kono
parents:
diff changeset
626
kono
parents:
diff changeset
627 * testsuite/lib/libitm.exp: load fortran-modules.exp
kono
parents:
diff changeset
628
kono
parents:
diff changeset
629 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
630
kono
parents:
diff changeset
631 * configure.tgt (*-*-irix6*): Remove.
kono
parents:
diff changeset
632
kono
parents:
diff changeset
633 2012-03-13 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
634
kono
parents:
diff changeset
635 PR libitm/52526
kono
parents:
diff changeset
636 * config/linux/rwlock.cc (GTM::gtm_rwlock::read_lock): Fix lost
kono
parents:
diff changeset
637 wake-up.
kono
parents:
diff changeset
638
kono
parents:
diff changeset
639 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
640
kono
parents:
diff changeset
641 * configure.tgt (*-*-osf*): Remove.
kono
parents:
diff changeset
642 * configure: Regenerate.
kono
parents:
diff changeset
643
kono
parents:
diff changeset
644 2012-03-05 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
645
kono
parents:
diff changeset
646 * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute
kono
parents:
diff changeset
647 memtransfer/memset if size isn't larger than zero.
kono
parents:
diff changeset
648
kono
parents:
diff changeset
649 2012-03-02 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
650
kono
parents:
diff changeset
651 * libitm.texi: Link to specification and add a usage example.
kono
parents:
diff changeset
652
kono
parents:
diff changeset
653 2012-02-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
654
kono
parents:
diff changeset
655 * retry.cc (GTM::gtm_thread::number_of_threads_changed): Change
kono
parents:
diff changeset
656 default dispatch for more than 1 thread to ml_wt.
kono
parents:
diff changeset
657
kono
parents:
diff changeset
658 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
659
kono
parents:
diff changeset
660 * method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline.
kono
parents:
diff changeset
661
kono
parents:
diff changeset
662 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
663
kono
parents:
diff changeset
664 * method-gl.cc (gl_wt_dispatch::rollback): Optimize memory orders.
kono
parents:
diff changeset
665
kono
parents:
diff changeset
666 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
667
kono
parents:
diff changeset
668 * method-gl.cc (gl_wt_dispatch::trycommit): Remove handling of
kono
parents:
diff changeset
669 serial mode corner cases made obsolete by prior gtm_rwlock changes.
kono
parents:
diff changeset
670 (gl_wt_dispatch.rollback): Same.
kono
parents:
diff changeset
671
kono
parents:
diff changeset
672 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
673
kono
parents:
diff changeset
674 * method-gl.cc (gl_wt_dispatch::pre_write): Optimize memory orders.
kono
parents:
diff changeset
675
kono
parents:
diff changeset
676 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
677
kono
parents:
diff changeset
678 * method-gl.cc (gl_wt_dispatch::memtransfer_static): Add missing undo
kono
parents:
diff changeset
679 for RfW src. Optimize number of calls to gtm_thr.
kono
parents:
diff changeset
680
kono
parents:
diff changeset
681 2012-02-20 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
682
kono
parents:
diff changeset
683 * beginend.cc (GTM::gtm_thread::begin_transaction): Move serial lock
kono
parents:
diff changeset
684 acquisition to ...
kono
parents:
diff changeset
685 * retry.cc (GTM::gtm_thread::decide_begin_dispatch): ... here.
kono
parents:
diff changeset
686 (default_dispatch): Make atomic.
kono
parents:
diff changeset
687 (GTM::gtm_thread::set_default_dispatch): Access atomically.
kono
parents:
diff changeset
688 (GTM::gtm_thread::decide_retry_strategy): Access atomically and
kono
parents:
diff changeset
689 use decide_begin_dispatch() if default_dispatch might have changed.
kono
parents:
diff changeset
690 (GTM::gtm_thread::number_of_threads_changed): Initialize
kono
parents:
diff changeset
691 default_dispatch here.
kono
parents:
diff changeset
692
kono
parents:
diff changeset
693 2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
kono
parents:
diff changeset
694 Patrick Marlier <patrick.marlier@gmail.com>
kono
parents:
diff changeset
695
kono
parents:
diff changeset
696 PR libitm/52220
kono
parents:
diff changeset
697 * alloc_cpp.cc: No dummy definitions for darwin.
kono
parents:
diff changeset
698 * eh_cpp.cc: Likewise.
kono
parents:
diff changeset
699
kono
parents:
diff changeset
700 2012-02-14 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
701
kono
parents:
diff changeset
702 * config/x86/target.h (GTM_longjmp): Correct the .cfi corrections.
kono
parents:
diff changeset
703
kono
parents:
diff changeset
704 2012-02-14 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
705
kono
parents:
diff changeset
706 * config/x86/target.h (GTM_longjmp): Correct .cfi directives.
kono
parents:
diff changeset
707
kono
parents:
diff changeset
708 2012-02-14 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
709
kono
parents:
diff changeset
710 * libitm_i.h (GTM::gtm_rwlog_entry): New.
kono
parents:
diff changeset
711 (GTM::gtm_thread): Add read and write logs.
kono
parents:
diff changeset
712 (GTM::dispatch_ml_wt): Declare.
kono
parents:
diff changeset
713 * retry.cc (parse_default_method): Support ml_wt.
kono
parents:
diff changeset
714 * method-ml.cc: New file.
kono
parents:
diff changeset
715 * Makefile.am: Add method-ml.cc.
kono
parents:
diff changeset
716 * Makefile.in: Regenerate.
kono
parents:
diff changeset
717
kono
parents:
diff changeset
718 2012-02-14 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
719
kono
parents:
diff changeset
720 * dispatch.h (GTM::abi_dispatch::supports): New.
kono
parents:
diff changeset
721 (GTM::method_group::reinit): New.
kono
parents:
diff changeset
722 * retry.cc (GTM::gtm_thread::decide_retry_strategy): Use reinit().
kono
parents:
diff changeset
723 (GTM::gtm_thread::number_of_threads_changed): Check that the method
kono
parents:
diff changeset
724 supports the current situation.
kono
parents:
diff changeset
725
kono
parents:
diff changeset
726 2012-02-14 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
727
kono
parents:
diff changeset
728 * util.cc (GTM::xcalloc): New.
kono
parents:
diff changeset
729 * common.h (GTM::xcalloc): Declare.
kono
parents:
diff changeset
730
kono
parents:
diff changeset
731 2012-02-14 Eric Botcazou <ebotcazou@adacore.com>
kono
parents:
diff changeset
732
kono
parents:
diff changeset
733 * config/sparc/target.h (cpu_relax): Read from CC register.
kono
parents:
diff changeset
734 * config/sparc/sjlj.S (GTM_longjmp): Restore %fp atomically.
kono
parents:
diff changeset
735
kono
parents:
diff changeset
736 2012-02-14 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
737
kono
parents:
diff changeset
738 * config/x86/target.h (GTM_longjmp): Jump indirect from memory address.
kono
parents:
diff changeset
739
kono
parents:
diff changeset
740 2012-02-13 Eric Botcazou <ebotcazou@adacore.com>
kono
parents:
diff changeset
741
kono
parents:
diff changeset
742 * configure.tgt (target_cpu): Handle sparc and sparc64/sparcv9.
kono
parents:
diff changeset
743 * config/sparc/cacheline.h: New file.
kono
parents:
diff changeset
744 * config/sparc/target.h: Likewise.
kono
parents:
diff changeset
745 * config/sparc/sjlj.S: Likewise.
kono
parents:
diff changeset
746 * config/linux/sparc/futex_bits.h: Likewise.
kono
parents:
diff changeset
747
kono
parents:
diff changeset
748 2012-02-13 Eric Botcazou <ebotcazou@adacore.com>
kono
parents:
diff changeset
749
kono
parents:
diff changeset
750 * configure.ac (link_itm): Fix comment.
kono
parents:
diff changeset
751 * configure: Regenerate.
kono
parents:
diff changeset
752 * testsuite/lib/libitm.exp: Do not pass -litm for the link.
kono
parents:
diff changeset
753
kono
parents:
diff changeset
754 2012-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
755
kono
parents:
diff changeset
756 PR libitm/51822
kono
parents:
diff changeset
757 * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc.
kono
parents:
diff changeset
758 Correct libgomp references.
kono
parents:
diff changeset
759
kono
parents:
diff changeset
760 2012-01-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
761
kono
parents:
diff changeset
762 * config/linux/rwlock.cc (GTM::gtm_rwlock::write_unlock): Fix reader
kono
parents:
diff changeset
763 wake-up.
kono
parents:
diff changeset
764
kono
parents:
diff changeset
765 2012-01-24 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
766
kono
parents:
diff changeset
767 * config/x86/target.h (gtm_jmpbuf) [__x86_64__]: Move rip to the
kono
parents:
diff changeset
768 end of structure.
kono
parents:
diff changeset
769 * config/x86/sjlj.S (_ITM_beginTransaction) [__x86_64__]: Update
kono
parents:
diff changeset
770 offset values. Do not copy return address. Decrement stack
kono
parents:
diff changeset
771 by 56 bytes only.
kono
parents:
diff changeset
772 (GTM_longjump) [__x86_64__]: Update offset values.
kono
parents:
diff changeset
773
kono
parents:
diff changeset
774 2012-01-23 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
775
kono
parents:
diff changeset
776 PR libitm/51830
kono
parents:
diff changeset
777 * config/x86/sjlj.S (_ITM_beginTransaction) [!__x86_64__]: Load
kono
parents:
diff changeset
778 the first function argument to %eax.
kono
parents:
diff changeset
779
kono
parents:
diff changeset
780 2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
781
kono
parents:
diff changeset
782 * libitm.h (_ITM_getThreadnum): Remove.
kono
parents:
diff changeset
783 * libitm.map (_ITM_getThreadnum): Remove from LIBITM_1.0.
kono
parents:
diff changeset
784
kono
parents:
diff changeset
785 2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
786
kono
parents:
diff changeset
787 * clearcap.map: New file.
kono
parents:
diff changeset
788 * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test.
kono
parents:
diff changeset
789 * configure.ac: Call it.
kono
parents:
diff changeset
790 Clear HWCAP_LDFLAGS if defaulting to -mavx.
kono
parents:
diff changeset
791 * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS)
kono
parents:
diff changeset
792 * configure: Regenerate.
kono
parents:
diff changeset
793 * Makefile.in: Regenerate.
kono
parents:
diff changeset
794 * testsuite/Makefile.in: Regenerate.
kono
parents:
diff changeset
795
kono
parents:
diff changeset
796 2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
797
kono
parents:
diff changeset
798 PR libitm/51173
kono
parents:
diff changeset
799 * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove
kono
parents:
diff changeset
800 include, exclude options.
kono
parents:
diff changeset
801
kono
parents:
diff changeset
802 2012-01-14 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
803
kono
parents:
diff changeset
804 * local.cc (GTM::gtm_undolog::rollback): Truncate undo log after
kono
parents:
diff changeset
805 rolling back.
kono
parents:
diff changeset
806 * containers.h (GTM::vector::set_size): New.
kono
parents:
diff changeset
807
kono
parents:
diff changeset
808 2012-01-14 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
809
kono
parents:
diff changeset
810 PR libitm/51855
kono
parents:
diff changeset
811 * config/generic/tls.h (GTM::mask_stack_top): New.
kono
parents:
diff changeset
812 (GTM::mask_stack_bottom): Declare.
kono
parents:
diff changeset
813 * config/generic/tls.c (GTM::mask_stack_bottom): New.
kono
parents:
diff changeset
814 * local.cc (gtm_undolog::rollback): Filter out any updates that
kono
parents:
diff changeset
815 overlap the libitm stack. Add current transaction as parameter.
kono
parents:
diff changeset
816 * libitm_i.h (GTM::gtm_undolog::rollback): Adapt.
kono
parents:
diff changeset
817 * beginend.cc (GTM::gtm_thread::rollback): Adapt.
kono
parents:
diff changeset
818 * testsuite/libitm.c/stackundo.c: New test.
kono
parents:
diff changeset
819
kono
parents:
diff changeset
820 2012-01-10 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
821
kono
parents:
diff changeset
822 * libitm_i.h (_Unwind_DeleteException): Declare weak.
kono
parents:
diff changeset
823 * eh_cpp.cc (_Unwind_DeleteException): Define for
kono
parents:
diff changeset
824 !HAVE_ELF_STYLE_WEAKREF.
kono
parents:
diff changeset
825
kono
parents:
diff changeset
826 2012-01-08 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
827
kono
parents:
diff changeset
828 * local.cc (GTM_LB): Use GTM::gtm_undolog.
kono
parents:
diff changeset
829 (GTM::gtm_thread::drop_references_undolog): Remove.
kono
parents:
diff changeset
830 (GTM::gtm_thread::commit_undolog,
kono
parents:
diff changeset
831 GTM::gtm_thread::rollback_undolog): Move to ...
kono
parents:
diff changeset
832 * libitm_i.h (GTM::gtm_undolog): ...here. New.
kono
parents:
diff changeset
833 (GTM::gtm_undolog_entry): Remove.
kono
parents:
diff changeset
834 (GTM::gtm_thread): Adapt.
kono
parents:
diff changeset
835 * beginend.cc (GTM::gtm_thread::rollback): Adapt.
kono
parents:
diff changeset
836 (GTM::gtm_thread::trycommit): Adapt.
kono
parents:
diff changeset
837 * method-serial.cc (serial_dispatch::log): Adapt.
kono
parents:
diff changeset
838 * method-gl.cc (gl_wt_dispatch::pre_write): Adapt.
kono
parents:
diff changeset
839 (gl_wt_dispatch::store): Fix likely/unlikely.
kono
parents:
diff changeset
840 * containers.h (GTM::vector::resize): Add additional_capacity
kono
parents:
diff changeset
841 parameter and handle it.
kono
parents:
diff changeset
842 (GTM::vector::resize_noinline): New/adapt.
kono
parents:
diff changeset
843 (GTM::vector::push): New.
kono
parents:
diff changeset
844
kono
parents:
diff changeset
845 2012-01-06 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
846
kono
parents:
diff changeset
847 * configure.tgt: Support powerpc-linux and powerpc-darwin.
kono
parents:
diff changeset
848 * config/linux/powerpc/futex_bits.h: New file.
kono
parents:
diff changeset
849 * config/powerpc/cacheline.h: New file.
kono
parents:
diff changeset
850 * config/powerpc/sjlj.S: New file.
kono
parents:
diff changeset
851 * config/powerpc/target.h: New file.
kono
parents:
diff changeset
852 * config/generic/asmcfi.h (cfi_offset): New.
kono
parents:
diff changeset
853 (cfi_restore, cfi_undefined): New.
kono
parents:
diff changeset
854
kono
parents:
diff changeset
855 2012-01-05 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
856
kono
parents:
diff changeset
857 PR other/51171
kono
parents:
diff changeset
858 * testsuite/libitm.c/reentrant.c: Remove xfail.
kono
parents:
diff changeset
859 (thread): Pass x to pure().
kono
parents:
diff changeset
860 From Patrik Marlier <patrick.marlier@gmail.com>.
kono
parents:
diff changeset
861
kono
parents:
diff changeset
862 2011-12-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
863
kono
parents:
diff changeset
864 * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce
kono
parents:
diff changeset
865 privatization safety if already in serial mode.
kono
parents:
diff changeset
866
kono
parents:
diff changeset
867 2011-12-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
868
kono
parents:
diff changeset
869 * beginend.cc (GTM::gtm_thread::restart): Add and handle
kono
parents:
diff changeset
870 finish_serial_upgrade parameter.
kono
parents:
diff changeset
871 * libitm.h (GTM::gtm_thread::restart): Adapt declaration.
kono
parents:
diff changeset
872 * config/linux/rwlock.cc (GTM::gtm_rwlock::write_lock_generic):
kono
parents:
diff changeset
873 Don't unset reader flag.
kono
parents:
diff changeset
874 (GTM::gtm_rwlock::write_upgrade_finish): New.
kono
parents:
diff changeset
875 * config/posix/rwlock.cc: Same.
kono
parents:
diff changeset
876 * config/linux/rwlock.h (GTM::gtm_rwlock::write_upgrade_finish):
kono
parents:
diff changeset
877 Declare.
kono
parents:
diff changeset
878 * config/posix/rwlock.h: Same.
kono
parents:
diff changeset
879 * method-serial.cc (GTM::gtm_thread::serialirr_mode): Unset reader
kono
parents:
diff changeset
880 flag after commit or after rollback when restarting.
kono
parents:
diff changeset
881
kono
parents:
diff changeset
882 2011-12-24 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
883
kono
parents:
diff changeset
884 * beginend.cc (GTM::gtm_thread::begin_transaction): Add comment.
kono
parents:
diff changeset
885 (GTM::gtm_thread::try_commit): Changed memory order.
kono
parents:
diff changeset
886 * config/linux/alpha/futex_bits.h (sys_futex0): Take atomic int
kono
parents:
diff changeset
887 as parameter.
kono
parents:
diff changeset
888 * config/linux/x86/futex_bits.h (sys_futex0): Same.
kono
parents:
diff changeset
889 * config/linux/sh/futex_bits.h (sys_futex0): Same.
kono
parents:
diff changeset
890 * config/linux/futex_bits.h (sys_futex0): Same.
kono
parents:
diff changeset
891 * config/linux/futex.cc (futex_wait, futex_wake): Same.
kono
parents:
diff changeset
892 * config/linux/futex.h (futex_wait, futex_wake): Same.
kono
parents:
diff changeset
893 * config/linux/rwlock.h (gtm_rwlock::writers,
kono
parents:
diff changeset
894 gtm_rwlock::writer_readers, gtm_rwlock::readers): Change to atomic
kono
parents:
diff changeset
895 ints.
kono
parents:
diff changeset
896 * config/linux/rwlock.cc (gtm_rwlock::read_lock,
kono
parents:
diff changeset
897 gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock,
kono
parents:
diff changeset
898 gtm_rwlock::write_unlock): Fix memory orders and fences.
kono
parents:
diff changeset
899 * config/posix/rwlock.cc (gtm_rwlock::read_lock,
kono
parents:
diff changeset
900 gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock,
kono
parents:
diff changeset
901 gtm_rwlock::write_unlock): Same.
kono
parents:
diff changeset
902 * config/linux/rwlock.h (gtm_rwlock::summary): Change to atomic int.
kono
parents:
diff changeset
903 * method-gl.cc (gl_mg::init, gl_wt_dispatch::memtransfer_static,
kono
parents:
diff changeset
904 gl_wt_dispatch::memset_static, gl_wt_dispatch::begin_or_restart):
kono
parents:
diff changeset
905 Add comments.
kono
parents:
diff changeset
906 (gl_wt_dispatch::pre_write, gl_wt_dispatch::validate,
kono
parents:
diff changeset
907 gl_wt_dispatch::load, gl_wt_dispatch::store,
kono
parents:
diff changeset
908 gl_wt_dispatch::try_commit, gl_wt_dispatch::rollback): Fix memory
kono
parents:
diff changeset
909 orders and fences. Add comments.
kono
parents:
diff changeset
910
kono
parents:
diff changeset
911 2011-12-21 Jakub Jelinek <jakub@redhat.com>
kono
parents:
diff changeset
912
kono
parents:
diff changeset
913 * Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first.
kono
parents:
diff changeset
914 * Makefile.in: Regenerated.
kono
parents:
diff changeset
915
kono
parents:
diff changeset
916 2011-12-17 Kaz Kojima <kkojima@gcc.gnu.org>
kono
parents:
diff changeset
917
kono
parents:
diff changeset
918 * configure.tgt: Add sh* case.
kono
parents:
diff changeset
919 * config/sh/target.h: New file.
kono
parents:
diff changeset
920 * config/sh/sjlj.S: New file.
kono
parents:
diff changeset
921 * config/linux/sh/futex_bits.h: New file.
kono
parents:
diff changeset
922
kono
parents:
diff changeset
923 2011-12-14 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
924
kono
parents:
diff changeset
925 * config/arm/hwcap.h, config/arm/hwcap.cc: New files.
kono
parents:
diff changeset
926 * config/arm/sjlj.S, config/arm/target.h: New files.
kono
parents:
diff changeset
927 * config/generic/asmcfi.h (cfi_adjust_cfa_offset): New.
kono
parents:
diff changeset
928 (cfi_rel_offset): New.
kono
parents:
diff changeset
929 * config/linux/futex_bits.h: New file.
kono
parents:
diff changeset
930 * config/linux/futex.cc: Include futex_bits.h here...
kono
parents:
diff changeset
931 * config/linux/futex.h: ... not here.
kono
parents:
diff changeset
932 * Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc.
kono
parents:
diff changeset
933 * configure.ac (ARCH_AM): New conditional.
kono
parents:
diff changeset
934 * Makefile.in, configure: Rebuild.
kono
parents:
diff changeset
935 * configure.tgt: Handle ARM.
kono
parents:
diff changeset
936
kono
parents:
diff changeset
937 2011-12-13 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
938
kono
parents:
diff changeset
939 * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Fix
kono
parents:
diff changeset
940 signed/unsigned comparison werror.
kono
parents:
diff changeset
941
kono
parents:
diff changeset
942 * local_atomic: New file.
kono
parents:
diff changeset
943 * libitm_i.h: Include it.
kono
parents:
diff changeset
944 (gtm_thread::shared_state): Use atomic template.
kono
parents:
diff changeset
945 * beginend.cc (GTM::gtm_clock): Use atomic template.
kono
parents:
diff changeset
946 (global_tid): Use atomic template if 64-bit atomics available.
kono
parents:
diff changeset
947 (gtm_thread::gtm_thread): Update shared_state access.
kono
parents:
diff changeset
948 (gtm_thread::trycommit): Likewise.
kono
parents:
diff changeset
949 (choose_code_path): Update global_tid access.
kono
parents:
diff changeset
950 * method-gl.cc (gl_mg::orec): Use atomic template. Update all users.
kono
parents:
diff changeset
951 * stmlock.h (GTM::gtm_clock): Use atomic template.
kono
parents:
diff changeset
952 (gtm_get_clock, gtm_inc_clock): Update accesses.
kono
parents:
diff changeset
953 * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove
kono
parents:
diff changeset
954 redundant __sync_synchronize after atomic shared_state access.
kono
parents:
diff changeset
955 * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise.
kono
parents:
diff changeset
956 (gtm_rwlock::write_lock_generic): Likewise.
kono
parents:
diff changeset
957 (gtm_rwlock::read_unlock): Likewise.
kono
parents:
diff changeset
958 * config/alpha/target.h (atomic_read_barrier): Remove.
kono
parents:
diff changeset
959 (atomic_write_barrier): Remove.
kono
parents:
diff changeset
960 * config/x86/target.h (atomic_read_barrier): Remove.
kono
parents:
diff changeset
961 (atomic_write_barrier): Remove.
kono
parents:
diff changeset
962
kono
parents:
diff changeset
963 2011-11-30 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
964
kono
parents:
diff changeset
965 * libitm_i.h (GTM_longjmp): Swap first and second arguments.
kono
parents:
diff changeset
966 * beginend.c (_ITM_abortTransaction): Update to match.
kono
parents:
diff changeset
967 (GTM::gtm_thread::restart): Likewise.
kono
parents:
diff changeset
968 * config/alpha/sjlj.S (GTM_longjmp): Likewise.
kono
parents:
diff changeset
969 * config/x86/sjlj.S (GTM_longjmp): Likewise.
kono
parents:
diff changeset
970
kono
parents:
diff changeset
971 2011-11-23 Iain Sandoe <iains@gcc.gnu.org>
kono
parents:
diff changeset
972
kono
parents:
diff changeset
973 * Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined".
kono
parents:
diff changeset
974 * Makefile.in: Regenerate.
kono
parents:
diff changeset
975
kono
parents:
diff changeset
976 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
kono
parents:
diff changeset
977
kono
parents:
diff changeset
978 * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF.
kono
parents:
diff changeset
979 * alloc_cpp.cc: Generate dummy functions if we don't
kono
parents:
diff changeset
980 HAVE_ELF_STYLE_WEAKREF.
kono
parents:
diff changeset
981 * eh_cpp.cc: Likewise.
kono
parents:
diff changeset
982 * configure: Regenerate.
kono
parents:
diff changeset
983 * aclocal.m4: Likewise.
kono
parents:
diff changeset
984 * config.h.in: Likewise.
kono
parents:
diff changeset
985 * Makefile.in: Likewise.
kono
parents:
diff changeset
986 * testsuite/Makefile.in: Likewise.
kono
parents:
diff changeset
987
kono
parents:
diff changeset
988 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
kono
parents:
diff changeset
989
kono
parents:
diff changeset
990 * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to
kono
parents:
diff changeset
991 __USER_LABEL_PREFIX__ for targets that use it.
kono
parents:
diff changeset
992 (TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets.
kono
parents:
diff changeset
993 (_ITM_beginTransaction): Use SYM, TYPE, SIZE macros to assist
kono
parents:
diff changeset
994 in portability to non-elf targets.
kono
parents:
diff changeset
995 (GTM_longjmp): Likewise.
kono
parents:
diff changeset
996 * libitm_i.h (begin_transaction): Apply __USER_LABEL_PREFIX__
kono
parents:
diff changeset
997 where required.
kono
parents:
diff changeset
998
kono
parents:
diff changeset
999 2011-11-22 Iain Sandoe <iains@gcc.gnu.org>
kono
parents:
diff changeset
1000
kono
parents:
diff changeset
1001 * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling.
kono
parents:
diff changeset
1002 * testsuite/libitm.c/memset-1.c: Likewise.
kono
parents:
diff changeset
1003
kono
parents:
diff changeset
1004 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
kono
parents:
diff changeset
1005
kono
parents:
diff changeset
1006 * configure: Regenerate.
kono
parents:
diff changeset
1007
kono
parents:
diff changeset
1008 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
1009
kono
parents:
diff changeset
1010 * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold.
kono
parents:
diff changeset
1011 (LIBITM_ENABLE_SYMVERS): Handle sun style.
kono
parents:
diff changeset
1012 * Makefile.am: Handle sun style versioning.
kono
parents:
diff changeset
1013 (libitm_la_LINK): Add $(libitm_la_LDFLAGS).
kono
parents:
diff changeset
1014 * configure: Regenerate.
kono
parents:
diff changeset
1015 * Makefile.in: Regenerate.
kono
parents:
diff changeset
1016
kono
parents:
diff changeset
1017 2011-11-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
1018
kono
parents:
diff changeset
1019 * config/generic/asmcfi.h: Fix comment.
kono
parents:
diff changeset
1020 * config/x86/sjlj.S (_ITM_beginTransaction): Provide ELF PIC code
kono
parents:
diff changeset
1021 sequence without .hidden support, error for non-ELF targets.
kono
parents:
diff changeset
1022 (GTM_longjmp) [__ELF__]: Only use .hidden if
kono
parents:
diff changeset
1023 HAVE_ATTRIBUTE_VISIBILITY.
kono
parents:
diff changeset
1024
kono
parents:
diff changeset
1025 2011-11-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
1026
kono
parents:
diff changeset
1027 * alloc_cpp.cc [__osf__] (_ZnwX, _ZdlPv, _ZnaX, _ZdaPv,
kono
parents:
diff changeset
1028 _ZnwXRKSt9nothrow_t, _ZdlPvRKSt9nothrow_t, _ZdaPvRKSt9nothrow_t):
kono
parents:
diff changeset
1029 Dummy functions.
kono
parents:
diff changeset
1030 * eh_cpp.cc [__osf__] (__cxa_allocate_exception, __cxa_throw,
kono
parents:
diff changeset
1031 __cxa_begin_catch, __cxa_end_catch, __cxa_tm_cleanup): Likewise.
kono
parents:
diff changeset
1032
kono
parents:
diff changeset
1033 2011-11-16 Uros Bizjak <ubizjak@gmail.com>
kono
parents:
diff changeset
1034
kono
parents:
diff changeset
1035 PR bootstrap/51098
kono
parents:
diff changeset
1036 * acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector.
kono
parents:
diff changeset
1037 * configure: Regenerate.
kono
parents:
diff changeset
1038
kono
parents:
diff changeset
1039 2011-11-14 H.J. Lu <hongjiu.lu@intel.com>
kono
parents:
diff changeset
1040
kono
parents:
diff changeset
1041 * testsuite/lib/libitm.exp: Check ia32 instead of ilp32.
kono
parents:
diff changeset
1042
kono
parents:
diff changeset
1043 2011-11-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
1044
kono
parents:
diff changeset
1045 * config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use
kono
parents:
diff changeset
1046 .hidden.
kono
parents:
diff changeset
1047 (.note.GNU-stack): Only use if __linux__.
kono
parents:
diff changeset
1048 * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function.
kono
parents:
diff changeset
1049 * testsuite/libitm.c/notx.c: Use dg-options "-pthread".
kono
parents:
diff changeset
1050 * testsuite/libitm.c/reentrant.c: Likewise.
kono
parents:
diff changeset
1051 * testsuite/libitm.c/simple-2.c: Likewise.
kono
parents:
diff changeset
1052 * testsuite/libitm.c/txrelease.c: Likewise.
kono
parents:
diff changeset
1053 * testsuite/libitm.c++/static_ctor.C: Likewise.
kono
parents:
diff changeset
1054
kono
parents:
diff changeset
1055 2011-11-10 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1056
kono
parents:
diff changeset
1057 * config/x86/x86_avx.cc: Remove #undef __AVX__ hack. Tidy comments.
kono
parents:
diff changeset
1058 * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX.
kono
parents:
diff changeset
1059 * configure.ac (ARCH_X86_AVX): New conditional.
kono
parents:
diff changeset
1060 * Makefile.in, configure: Rebuild.
kono
parents:
diff changeset
1061
kono
parents:
diff changeset
1062 2011-11-09 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1063
kono
parents:
diff changeset
1064 * acinclude.m4 (LIBITM_CHECK_AS_AVX): New.
kono
parents:
diff changeset
1065 * configure.ac: Use it.
kono
parents:
diff changeset
1066 * config.h.in, configure: Rebuild.
kono
parents:
diff changeset
1067 * config/x86/x86_avx.cc: Handle !HAVE_AS_AVX.
kono
parents:
diff changeset
1068
kono
parents:
diff changeset
1069 2011-11-09 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1070
kono
parents:
diff changeset
1071 * barrier.tpl, memcpy.cc, memset.cc, method-wbetl.cc: Remove file.
kono
parents:
diff changeset
1072 * config/alpha/unaligned.h: Remove file.
kono
parents:
diff changeset
1073 * config/generic/unaligned.h: Remove file.
kono
parents:
diff changeset
1074 * config/x86/unaligned.h: Remove file.
kono
parents:
diff changeset
1075 * config/generic/cachepage.h: Remove file.
kono
parents:
diff changeset
1076 * config/posix/cachepage.cc: Remove file.
kono
parents:
diff changeset
1077 * config/generic/cacheline.cc: Remove file.
kono
parents:
diff changeset
1078 * config/x86/cacheline.cc: Remove file.
kono
parents:
diff changeset
1079 * config/generic/cacheline.h (gtm_cacheline): Remove the
kono
parents:
diff changeset
1080 store_mask, copy_mask, copy_mask_wb methods.
kono
parents:
diff changeset
1081 * config/x86/cacheline.h: Likewise.
kono
parents:
diff changeset
1082 * config/alpha/cacheline.h: Fall back to generic after setting size.
kono
parents:
diff changeset
1083 * config/generic/tls.cc (gtm_mask_stack): Remove.
kono
parents:
diff changeset
1084 * config/x86/x86_avx.cc (GTM_vpperm_shift): Remove.
kono
parents:
diff changeset
1085 (GTM_vpalignr_table): Remove.
kono
parents:
diff changeset
1086 * config/x86/x86_sse.cc (GTM_palignr_table): Remove.
kono
parents:
diff changeset
1087 (GTM_pshift_table): Remove.
kono
parents:
diff changeset
1088 * config/libitm_i.h: Don't include cachepage.h.
kono
parents:
diff changeset
1089 * Makefile.am (libitm_la_SOURCES): Remove cacheline.cc, cachepage.cc
kono
parents:
diff changeset
1090 * Makefile.in, testsuite/Makefile.in: Rebuild.
kono
parents:
diff changeset
1091
kono
parents:
diff changeset
1092 2011-11-09 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1093
kono
parents:
diff changeset
1094 * config/x86/cacheline.h (gtm_cacheline::store_mask): Use .byte
kono
parents:
diff changeset
1095 to emit branch prediction hint.
kono
parents:
diff changeset
1096
kono
parents:
diff changeset
1097 * config/x86/sjlj.S: Protect elf directives with __ELF__.
kono
parents:
diff changeset
1098 Protect .note.GNU-stack with __linux__.
kono
parents:
diff changeset
1099
kono
parents:
diff changeset
1100 * configure.ac (GCC_AS_CFI_PSEUDO_OP): Test it.
kono
parents:
diff changeset
1101 * configure, aclocal.m4, config.h.in: Rebuild.
kono
parents:
diff changeset
1102 * config/generic/asmcfi.h: New file.
kono
parents:
diff changeset
1103 * config/x86/sjlj.S: Use it.
kono
parents:
diff changeset
1104
kono
parents:
diff changeset
1105 2011-11-08 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1106
kono
parents:
diff changeset
1107 * local.cc (_ITM_LB): Use a normal call, not a function alias.
kono
parents:
diff changeset
1108
kono
parents:
diff changeset
1109 2011-11-08 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1110
kono
parents:
diff changeset
1111 * configure.tgt: Test correct directory for supported cpus.
kono
parents:
diff changeset
1112
kono
parents:
diff changeset
1113 * configure.ac: Exit if unsupported.
kono
parents:
diff changeset
1114 * configure: Rebuild.
kono
parents:
diff changeset
1115 * configure.tgt: Delete boilerplate from libgomp for unsupported
kono
parents:
diff changeset
1116 targets. Set UNSUPPORTED for unsupported targets.
kono
parents:
diff changeset
1117
kono
parents:
diff changeset
1118 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
kono
parents:
diff changeset
1119
kono
parents:
diff changeset
1120 * configure.tgt: Handle i386 like i[456]86.
kono
parents:
diff changeset
1121 * config/generic/tls.h [!HAVE_ARCH_GTM_THREAD] (gtm_thr): Don't
kono
parents:
diff changeset
1122 take address.
kono
parents:
diff changeset
1123 * config/generic/tls.cc [!HAVE_ARCH_GTM_THREAD ||
kono
parents:
diff changeset
1124 !HAVE_ARCH_GTM_THREAD_DISP] (_gtm_thr_tls): New variable.
kono
parents:
diff changeset
1125
kono
parents:
diff changeset
1126 2011-11-05 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1127
kono
parents:
diff changeset
1128 * method-wbetl.cc: Update copyright notice.
kono
parents:
diff changeset
1129 * aatree.cc: Same.
kono
parents:
diff changeset
1130 * util.cc: Same.
kono
parents:
diff changeset
1131 * libitm.h: Same.
kono
parents:
diff changeset
1132 * memset.cc: Same.
kono
parents:
diff changeset
1133 * eh_cpp.cc: Same.
kono
parents:
diff changeset
1134 * barrier.tpl: Same.
kono
parents:
diff changeset
1135 * useraction.cc: Same.
kono
parents:
diff changeset
1136 * stmlock.h: Same.
kono
parents:
diff changeset
1137 * memcpy.cc: Same.
kono
parents:
diff changeset
1138 * common.h: Same.
kono
parents:
diff changeset
1139 * config/generic/tls.cc: Same.
kono
parents:
diff changeset
1140 * config/generic/cacheline.h: Same.
kono
parents:
diff changeset
1141 * config/generic/cachepage.h: Same.
kono
parents:
diff changeset
1142 * config/generic/cacheline.cc: Same.
kono
parents:
diff changeset
1143 * config/generic/unaligned.h: Same.
kono
parents:
diff changeset
1144 * config/x86/cacheline.h: Same.
kono
parents:
diff changeset
1145 * config/x86/cacheline.cc: Same.
kono
parents:
diff changeset
1146 * config/x86/unaligned.h: Same.
kono
parents:
diff changeset
1147 * config/alpha/cacheline.h: Same.
kono
parents:
diff changeset
1148 * config/alpha/unaligned.h: Same.
kono
parents:
diff changeset
1149 * config/alpha/sjlj.S: Same.
kono
parents:
diff changeset
1150 * config/posix/cachepage.cc: Same.
kono
parents:
diff changeset
1151 * config/linux/futex.h: Same.
kono
parents:
diff changeset
1152 * config/linux/alpha/futex_bits.h: Same.
kono
parents:
diff changeset
1153
kono
parents:
diff changeset
1154 2011-11-04 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1155
kono
parents:
diff changeset
1156 * libitm.texi: No cover text and invariant sections.
kono
parents:
diff changeset
1157
kono
parents:
diff changeset
1158 2011-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1159
kono
parents:
diff changeset
1160 * local_type_traits: New file.
kono
parents:
diff changeset
1161 * libitm_i.h: Use it. Use C headers, not C++ wrappers.
kono
parents:
diff changeset
1162
kono
parents:
diff changeset
1163 2011-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1164
kono
parents:
diff changeset
1165 * configure.ac: Don't test for gfortran.
kono
parents:
diff changeset
1166 * configure: Rebuild.
kono
parents:
diff changeset
1167
kono
parents:
diff changeset
1168 * testsuite/lib/libitm.exp: Don't include gfortran-dg.exp.
kono
parents:
diff changeset
1169 * testsuite/libitm.c++/c++.exp: Don't use gfortran-dg-runtest.
kono
parents:
diff changeset
1170
kono
parents:
diff changeset
1171 2011-11-03 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1172
kono
parents:
diff changeset
1173 * testsuite/libitm.c/memcpy-1.c: Add copyright notice.
kono
parents:
diff changeset
1174 * testsuite/libitm.c/memset-1.c: Same.
kono
parents:
diff changeset
1175 * testsuite/libitm.c/c.exp: Same.
kono
parents:
diff changeset
1176 * testsuite/lib/libitm-dg.exp: Same.
kono
parents:
diff changeset
1177 * testsuite/lib/libitm.exp: Same.
kono
parents:
diff changeset
1178 * testsuite/libitm.c++/c++.exp: Same.
kono
parents:
diff changeset
1179
kono
parents:
diff changeset
1180 2011-11-03 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1181
kono
parents:
diff changeset
1182 * testsuite/config/default.exp: Update copyright date.
kono
parents:
diff changeset
1183 * configure.ac: Add copyright info.
kono
parents:
diff changeset
1184 * configure.tgt: Same.
kono
parents:
diff changeset
1185
kono
parents:
diff changeset
1186 2011-11-03 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1187
kono
parents:
diff changeset
1188 * testsuite/libitm.c/reentrant.c: XFAIL.
kono
parents:
diff changeset
1189 * testsuite/libitm.c++/static_ctor.C: XFAIL.
kono
parents:
diff changeset
1190
kono
parents:
diff changeset
1191 2011-10-29 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1192
kono
parents:
diff changeset
1193 * beginend.cc (GTM::gtm_thread::rollback): Add aborting flag and
kono
parents:
diff changeset
1194 handle aborts.
kono
parents:
diff changeset
1195 (_ITM_abortTransaction): Handle aborts of outer transactions.
kono
parents:
diff changeset
1196 * libitm_i.h: Same.
kono
parents:
diff changeset
1197 * eh_cpp.cc (GTM::gtm_thread::revert_cpp_exceptions): Fix assertion.
kono
parents:
diff changeset
1198 * libitm.texi: Document aborts of outer transactions.
kono
parents:
diff changeset
1199 * testsuite/libitm.c/cancel.c: New file.
kono
parents:
diff changeset
1200
kono
parents:
diff changeset
1201 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1202
kono
parents:
diff changeset
1203 * testsuite/*: Change __transaction to __transaction_atomic or
kono
parents:
diff changeset
1204 __transaction_relaxed.
kono
parents:
diff changeset
1205
kono
parents:
diff changeset
1206 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1207
kono
parents:
diff changeset
1208 * config/linux/x86/tls.h (abi_disp): Make TLS slot read volatile.
kono
parents:
diff changeset
1209 (gtm_thr): Same.
kono
parents:
diff changeset
1210
kono
parents:
diff changeset
1211 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1212
kono
parents:
diff changeset
1213 * libitm_i.h: Add gl_wt dispatch.
kono
parents:
diff changeset
1214 * retry.cc (parse_default_method): Same.
kono
parents:
diff changeset
1215 * method-gl.cc: New file.
kono
parents:
diff changeset
1216 * Makefile.am: Use method-gl.cc.
kono
parents:
diff changeset
1217 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1218
kono
parents:
diff changeset
1219 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1220
kono
parents:
diff changeset
1221 * beginend.cc (GTM::gtm_thread::trycommit): Ensure privatization
kono
parents:
diff changeset
1222 safety if requested by a TM method.
kono
parents:
diff changeset
1223 * dispatch.h (GTM::abi_dispatch::trycommit): Add parameter for
kono
parents:
diff changeset
1224 privatization safety.
kono
parents:
diff changeset
1225 * method-serial.cc: Same.
kono
parents:
diff changeset
1226
kono
parents:
diff changeset
1227 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1228
kono
parents:
diff changeset
1229 * libitm_i.h: Renamed gtm_local_undo to gtm_undolog_entry.
kono
parents:
diff changeset
1230 (GTM::gtm_thread): Renamed local_undo to undolog. Renamed
kono
parents:
diff changeset
1231 undolog-related member functions from *_local to *_undolog.
kono
parents:
diff changeset
1232 * local.cc (gtm_thread::commit_undolog): Same.
kono
parents:
diff changeset
1233 * beginend.cc (GTM::gtm_thread::trycommit): Same.
kono
parents:
diff changeset
1234 (GTM::gtm_thread::rollback): Roll back undolog before
kono
parents:
diff changeset
1235 dispatch-specific rollback.
kono
parents:
diff changeset
1236
kono
parents:
diff changeset
1237 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1238
kono
parents:
diff changeset
1239 * retry.cc (GTM::gtm_thread::decide_retry_strategy): Handle
kono
parents:
diff changeset
1240 re-initialization of the current method group.
kono
parents:
diff changeset
1241 * libitm_i.h (GTM::gtm_restart_reason): Add restart reason for this.
kono
parents:
diff changeset
1242
kono
parents:
diff changeset
1243 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1244
kono
parents:
diff changeset
1245 * alloc.cc (commit_allocations_2): Do not free transaction-local
kono
parents:
diff changeset
1246 memory when committing a nested transaction.
kono
parents:
diff changeset
1247
kono
parents:
diff changeset
1248 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1249
kono
parents:
diff changeset
1250 * method-serial.cc (GTM::gtm_thread::serialirr_mode): Fixed: Use
kono
parents:
diff changeset
1251 serial-irrevocable dispatch, not serial.
kono
parents:
diff changeset
1252
kono
parents:
diff changeset
1253 2011-10-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1254
kono
parents:
diff changeset
1255 * libitm_i.h (GTM::gtm_restart_reason): Re-arrange and clean up
kono
parents:
diff changeset
1256 declarations.
kono
parents:
diff changeset
1257 * dispatch.h (GTM::abi_dispatch::begin_or_restart): New.
kono
parents:
diff changeset
1258 * method-serial.cc: Implement begin_or_restart().
kono
parents:
diff changeset
1259 * beginend.cc (GTM::gtm_thread::begin_transaction): Call
kono
parents:
diff changeset
1260 dispatch-specific begin_or_restart().
kono
parents:
diff changeset
1261 (GTM::gtm_thread::restart): Same.
kono
parents:
diff changeset
1262
kono
parents:
diff changeset
1263 2011-08-23 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1264
kono
parents:
diff changeset
1265 * retry.cc (GTM::gtm_thread::decide_retry_strategy): Cleanup. Fix
kono
parents:
diff changeset
1266 restarting without switching to serial mode.
kono
parents:
diff changeset
1267 (GTM::gtm_thread::decide_begin_dispatch): Let the caller set the
kono
parents:
diff changeset
1268 transaction state. Choose closed-nesting alternative if available.
kono
parents:
diff changeset
1269 (GTM::gtm_thread::set_default_dispatch): New.
kono
parents:
diff changeset
1270 (parse_default_method): New.
kono
parents:
diff changeset
1271 (GTM::gtm_thread::number_of_threads_changed): New.
kono
parents:
diff changeset
1272 * method-serial.cc (GTM::serial_mg): New method group class.
kono
parents:
diff changeset
1273 (GTM::serialirr_dispatch): Belongs to serial_mg. Remove reinit and
kono
parents:
diff changeset
1274 fini.
kono
parents:
diff changeset
1275 (GTM::serial_dispatch): Same.
kono
parents:
diff changeset
1276 (GTM::serialirr_onwrite_dispatch): Same.
kono
parents:
diff changeset
1277 (GTM::gtm_thread::serialirr_mode): Remove calls to fini.
kono
parents:
diff changeset
1278 * beginend.cc (GTM::gtm_thread::~gtm_thread): Maintain number of
kono
parents:
diff changeset
1279 registered threads.
kono
parents:
diff changeset
1280 (GTM::gtm_thread::gtm_thread): Same.
kono
parents:
diff changeset
1281 (_ITM_abortTransaction): Remove calls to abi_dispatch::fini().
kono
parents:
diff changeset
1282 (GTM::gtm_thread::trycommit): Same. Reset number of restarts.
kono
parents:
diff changeset
1283 (GTM::gtm_thread::begin_transaction): Let decide_begin_dispatch()
kono
parents:
diff changeset
1284 choose dispatch but set state according to dispatch here.
kono
parents:
diff changeset
1285 * dispatch.h (GTM::abi_dispatch::fini): Move to method group.
kono
parents:
diff changeset
1286 (GTM::method_group): New class.
kono
parents:
diff changeset
1287 (GTM::abi_dispatch): Add comments. Maintain pointer to method_group.
kono
parents:
diff changeset
1288 * libitm_i.h (GTM::gtm_thread): Add declarations for new members.
kono
parents:
diff changeset
1289 * libitm.texi: Document TM methods, method groups, method life cycle.
kono
parents:
diff changeset
1290 Rename method sets to method groups.
kono
parents:
diff changeset
1291
kono
parents:
diff changeset
1292 2011-08-23 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1293
kono
parents:
diff changeset
1294 * config/x86/tls.h: Moved to ...
kono
parents:
diff changeset
1295 * config/linux/x86/tls.h: ... here.
kono
parents:
diff changeset
1296
kono
parents:
diff changeset
1297 2011-08-23 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1298
kono
parents:
diff changeset
1299 * config/x86/tls.h: Use __x86_64__ instead of __LP64__.
kono
parents:
diff changeset
1300 Add X32 support.
kono
parents:
diff changeset
1301 * config/x86/sjlj.S: Same.
kono
parents:
diff changeset
1302
kono
parents:
diff changeset
1303 2011-08-19 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1304
kono
parents:
diff changeset
1305 * config/linux/rwlock.h: New file.
kono
parents:
diff changeset
1306 * config/linux/rwlock.c: New file.
kono
parents:
diff changeset
1307 * configure.ac: Reenable futex support (undo SVN rev 157758).
kono
parents:
diff changeset
1308 * Makefile.am: Same.
kono
parents:
diff changeset
1309 * configure.tgt: Same.
kono
parents:
diff changeset
1310 * config/linux/alpha/futex_bits.h: Same.
kono
parents:
diff changeset
1311 * config/linux/futex.h: Same. Return number of woken processes.
kono
parents:
diff changeset
1312 * config/linux/futex.cc: Same.
kono
parents:
diff changeset
1313 (futex_wait): Remove spinning.
kono
parents:
diff changeset
1314 * config/linux/x86/futex_bits.h: Same. Set futex timeout to zero.
kono
parents:
diff changeset
1315 Use __x86_64__ instead of __LP64__.
kono
parents:
diff changeset
1316 * aclocal.m4: Include generic futex checks.
kono
parents:
diff changeset
1317 * configure: Rebuild.
kono
parents:
diff changeset
1318 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1319 * testsuite/Makefile.in: Rebuild.
kono
parents:
diff changeset
1320 * beginend.cc: Include pthread.h.
kono
parents:
diff changeset
1321 * config/posix/cachepage.cc: Same.
kono
parents:
diff changeset
1322
kono
parents:
diff changeset
1323 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1324
kono
parents:
diff changeset
1325 * config/x86/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
kono
parents:
diff changeset
1326 (abi_disp, set_abi_disp): Move to tx's TLS slot.
kono
parents:
diff changeset
1327 (set_gtm_thr): New.
kono
parents:
diff changeset
1328 * config/generic/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
kono
parents:
diff changeset
1329 (set_gtm_thr): New.
kono
parents:
diff changeset
1330 (GTM::gtm_thread::thread_num): Removed.
kono
parents:
diff changeset
1331 (GTM::gtm_thread): Renamed to GTM::gtm_thread_tls.
kono
parents:
diff changeset
1332 * libitm_i.h (GTM::gtm_transaction): Renamed to GTM::gtm_thread. More
kono
parents:
diff changeset
1333 tx-to-thread renaming.
kono
parents:
diff changeset
1334 * beginend.cc: Adapted to tx-to-thread renaming.
kono
parents:
diff changeset
1335 (GTM::gtm_thread::~gtm_thread): Extracted from thread_exit_handler().
kono
parents:
diff changeset
1336 (GTM::gtm_thread::gtm_thread): Extracted from begin_transaction().
kono
parents:
diff changeset
1337 * query.cc (_ITM_getTransactionId, _ITM_inTransaction): Renamed
kono
parents:
diff changeset
1338 gtm_transaction to gtm_thread.
kono
parents:
diff changeset
1339 (_ITM_getThreadnum): Removed. Not supported anymore.
kono
parents:
diff changeset
1340 * testsuite/libitm.c/notx.c (main): Removed _ITM_getThreadnum call.
kono
parents:
diff changeset
1341 * libitm.texi: Documented that _ITM_getThreadnum is not supported.
kono
parents:
diff changeset
1342 * useraction.cc: Renamed gtm_transaction to gtm_thread. Adapted to
kono
parents:
diff changeset
1343 gtm_tx-to-gtm_thr renaming if necessary.
kono
parents:
diff changeset
1344 * eh_cpp.cc: Same.
kono
parents:
diff changeset
1345 * local.cc: Same.
kono
parents:
diff changeset
1346 * retry.cc: Same.
kono
parents:
diff changeset
1347 * clone.cc: Same.
kono
parents:
diff changeset
1348 * alloc.cc: Same.
kono
parents:
diff changeset
1349 * alloc_c.cc: Same.
kono
parents:
diff changeset
1350 * alloc_cpp.cc: Same.
kono
parents:
diff changeset
1351 * method-serial.cc: Same.
kono
parents:
diff changeset
1352 * config/generic/tls.cc: Same.
kono
parents:
diff changeset
1353 * config/posix/rwlock.h (gtm_rwlock): Same.
kono
parents:
diff changeset
1354 * config/posix/rwlock.cc: Same. Adapted to more tx-to-thread renaming.
kono
parents:
diff changeset
1355
kono
parents:
diff changeset
1356 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1357
kono
parents:
diff changeset
1358 * config/posix/rwlock.cc (gtm_rwlock::read_lock): Changed locking
kono
parents:
diff changeset
1359 implementation.
kono
parents:
diff changeset
1360 (gtm_rwlock::read_unlock): Same.
kono
parents:
diff changeset
1361 (gtm_rwlock::write_lock_generic): New. Generalized from ...
kono
parents:
diff changeset
1362 (gtm_rwlock::write_lock, gtm_rwlock::write_upgrade): ... these.
kono
parents:
diff changeset
1363 * libitm_i.h (GTM::gtm_transaction): Added shared_state.
kono
parents:
diff changeset
1364 * config/posix/rwlock.h (GTM::gtm_rwlock): Removed a_reader and
kono
parents:
diff changeset
1365 w_upgrade. Replaced by per-transaction flags (in shared_state).
kono
parents:
diff changeset
1366 Added c_confirmed_writers.
kono
parents:
diff changeset
1367 (GTM::gtm_rwlock::read_lock, GTM::gtm_rwlock::read_unlock,
kono
parents:
diff changeset
1368 GTM::gtm_rwlock::write_upgrade): Add tx parameter.
kono
parents:
diff changeset
1369 * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same.
kono
parents:
diff changeset
1370 * method-serial.cc (GTM::gtm_transaction::serialirr_mode): Same.
kono
parents:
diff changeset
1371 * beginend.cc (GTM::gtm_transaction::begin_transaction,
kono
parents:
diff changeset
1372 _ITM_abortTransaction, GTM::gtm_transaction::trycommit): Same.
kono
parents:
diff changeset
1373 * libitm.texi: Document locking conventions and implementations in
kono
parents:
diff changeset
1374 libitm.
kono
parents:
diff changeset
1375
kono
parents:
diff changeset
1376 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1377
kono
parents:
diff changeset
1378 * libitm_i.h (next_tx): Add list of all threads' transaction.
kono
parents:
diff changeset
1379 * beginend.cc (GTM::gtm_transaction::begin_transaction): Register
kono
parents:
diff changeset
1380 transaction with list of transactions and ...
kono
parents:
diff changeset
1381 (thread_exit_handler): ... deregister here.
kono
parents:
diff changeset
1382 * config/alpha/target.h: Add HW_CACHELINE_SIZE setting.
kono
parents:
diff changeset
1383 * config/x86/target.h: Same.
kono
parents:
diff changeset
1384
kono
parents:
diff changeset
1385 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1386
kono
parents:
diff changeset
1387 * testsuite/libitm.c++/static_ctor.C: New file.
kono
parents:
diff changeset
1388
kono
parents:
diff changeset
1389 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1390
kono
parents:
diff changeset
1391 * testsuite/libitm.c/reentrant.c: New file.
kono
parents:
diff changeset
1392
kono
parents:
diff changeset
1393 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1394
kono
parents:
diff changeset
1395 * config/generic/tls.h: Remove the free list for transactions and ...
kono
parents:
diff changeset
1396 * beginend.cc (GTM::gtm_transaction::operator new): ... allocate ...
kono
parents:
diff changeset
1397 (GTM::gtm_transaction::operator delete): ... and release here.
kono
parents:
diff changeset
1398 (thread_exit_handler): New. Delete tx when thread terminates.
kono
parents:
diff changeset
1399 (thread_exit_init): New.
kono
parents:
diff changeset
1400 (GTM::gtm_transaction::begin_transaction): Set up on-exit handler.
kono
parents:
diff changeset
1401 * testsuite/libitm.c/txrelease.c: New file.
kono
parents:
diff changeset
1402
kono
parents:
diff changeset
1403 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1404
kono
parents:
diff changeset
1405 * query.cc (_ITM_getThreadnum): Set up gtm_thread if necessary.
kono
parents:
diff changeset
1406 * testsuite/libitm.c/notx.c: New file.
kono
parents:
diff changeset
1407
kono
parents:
diff changeset
1408 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1409
kono
parents:
diff changeset
1410 * config/generic/tls.h (gtm_thread): Move local_tid from here ...
kono
parents:
diff changeset
1411 * libitm_i.h (local_tid): ... to here.
kono
parents:
diff changeset
1412 * beginend.cc (GTM::gtm_transaction::begin_transaction): Same.
kono
parents:
diff changeset
1413 (GTM::gtm_transaction::operator new): Set up gtm_thread if necessary.
kono
parents:
diff changeset
1414
kono
parents:
diff changeset
1415 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1416
kono
parents:
diff changeset
1417 * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Use
kono
parents:
diff changeset
1418 serialirr_onwrite_dispatch as new default for now.
kono
parents:
diff changeset
1419 * method-serial.cc (serialirr_onwrite_dispatch): New.
kono
parents:
diff changeset
1420 (GTM::dispatch_serialirr_onwrite): New.
kono
parents:
diff changeset
1421 * libitm_i.h: Same.
kono
parents:
diff changeset
1422
kono
parents:
diff changeset
1423 2011-08-12 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1424
kono
parents:
diff changeset
1425 * beginend.cc (GTM::gtm_transaction::rollback): Roll back tx id as well.
kono
parents:
diff changeset
1426 * query.cc (_ITM_getTransactionId): There is no active transaction if
kono
parents:
diff changeset
1427 the current nesting level is zero.
kono
parents:
diff changeset
1428
kono
parents:
diff changeset
1429 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1430
kono
parents:
diff changeset
1431 * beginend.cc (GTM::gtm_transaction::rollback): Fix nesting level
kono
parents:
diff changeset
1432 rollback.
kono
parents:
diff changeset
1433
kono
parents:
diff changeset
1434 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1435
kono
parents:
diff changeset
1436 * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Get
kono
parents:
diff changeset
1437 transaction properties from the caller instead of from the
kono
parents:
diff changeset
1438 transaction object.
kono
parents:
diff changeset
1439 * libitm_i.h: Same.
kono
parents:
diff changeset
1440 * beginend.cc (GTM::gtm_transaction::begin_transaction): Same.
kono
parents:
diff changeset
1441
kono
parents:
diff changeset
1442 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1443
kono
parents:
diff changeset
1444 * local.cc (gtm_transaction::rollback_local): Support closed nesting.
kono
parents:
diff changeset
1445 * eh_cpp.cc (GTM::gtm_transaction::revert_cpp_exceptions): Same.
kono
parents:
diff changeset
1446 * dispatch.h: Same.
kono
parents:
diff changeset
1447 * method-serial.cc: Same.
kono
parents:
diff changeset
1448 * beginend.cc (GTM::gtm_transaction::begin_transaction): Change to
kono
parents:
diff changeset
1449 flat nesting as default, and closed nesting on demand.
kono
parents:
diff changeset
1450 (GTM::gtm_transaction::rollback): Same.
kono
parents:
diff changeset
1451 (_ITM_abortTransaction): Same.
kono
parents:
diff changeset
1452 (GTM::gtm_transaction::restart): Same.
kono
parents:
diff changeset
1453 (GTM::gtm_transaction::trycommit): Same.
kono
parents:
diff changeset
1454 (GTM::gtm_transaction::trycommit_and_finalize): Removed.
kono
parents:
diff changeset
1455 (choose_code_path): New.
kono
parents:
diff changeset
1456 (GTM::gtm_transaction_cp::save): New.
kono
parents:
diff changeset
1457 (GTM::gtm_transaction_cp::commit): New.
kono
parents:
diff changeset
1458 * query.cc (_ITM_inTransaction): Support flat nesting.
kono
parents:
diff changeset
1459 * libitm_i.h (GTM::gtm_transaction_cp): New helper struct for nesting.
kono
parents:
diff changeset
1460 (GTM::gtm_transaction): Support flat and closed nesting.
kono
parents:
diff changeset
1461 * alloc.cc (commit_allocations_2): New.
kono
parents:
diff changeset
1462 (commit_cb_data): New helper struct.
kono
parents:
diff changeset
1463 (GTM::gtm_transaction::commit_allocations): Handle nested
kono
parents:
diff changeset
1464 commits/rollbacks.
kono
parents:
diff changeset
1465 * libitm.texi: Update user action section, add description of nesting.
kono
parents:
diff changeset
1466
kono
parents:
diff changeset
1467 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1468
kono
parents:
diff changeset
1469 * libitm_i.h: Add closed nesting as restart reason.
kono
parents:
diff changeset
1470 * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same.
kono
parents:
diff changeset
1471
kono
parents:
diff changeset
1472 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1473
kono
parents:
diff changeset
1474 * useraction.cc: Use vector instead of list to store actions.
kono
parents:
diff changeset
1475 Also support partial rollbacks for closed nesting.
kono
parents:
diff changeset
1476 * libitm_i.h (GTM::gtm_transaction::user_action): Same.
kono
parents:
diff changeset
1477 * beginend.cc: Same.
kono
parents:
diff changeset
1478
kono
parents:
diff changeset
1479 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1480
kono
parents:
diff changeset
1481 * dispatch.h (GTM::abi_dispatch): Add can_run_uninstrumented_code and
kono
parents:
diff changeset
1482 closed_nesting flags, as well as a closed nesting alternative.
kono
parents:
diff changeset
1483 * method-serial.cc: Same.
kono
parents:
diff changeset
1484 (serial_dispatch): Renamed to serialirr_dispatch.
kono
parents:
diff changeset
1485 (GTM::dispatch_serialirr): Same.
kono
parents:
diff changeset
1486 (serial_dispatch_ul): Renamed to serial_dispatch.
kono
parents:
diff changeset
1487 (GTM::dispatch_serial): Same.
kono
parents:
diff changeset
1488
kono
parents:
diff changeset
1489 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1490
kono
parents:
diff changeset
1491 * libitm.h (_ITM_codeProperties): Change pr_hasElse to the ABI's value.
kono
parents:
diff changeset
1492
kono
parents:
diff changeset
1493 2011-07-28 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1494
kono
parents:
diff changeset
1495 * aatree.h (aa_tree::remove): New.
kono
parents:
diff changeset
1496 (aa_tree::operator new): Add placement new.
kono
parents:
diff changeset
1497
kono
parents:
diff changeset
1498 2011-07-02 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1499
kono
parents:
diff changeset
1500 * containers.h: New file.
kono
parents:
diff changeset
1501 * util.cc (xmalloc, xrealloc): Accept cacheline-alloc flag.
kono
parents:
diff changeset
1502 * libitm_i.h (xmalloc, xrealloc): Moved declarations from here ...
kono
parents:
diff changeset
1503 * common.h: ... to here.
kono
parents:
diff changeset
1504 (local_undo): Use GTM::vector for gtm_transaction::local_undo.
kono
parents:
diff changeset
1505 * local.cc: Same.
kono
parents:
diff changeset
1506
kono
parents:
diff changeset
1507 2011-06-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1508
kono
parents:
diff changeset
1509 * libitm_i.h (STATE_ABORTING): Remove.
kono
parents:
diff changeset
1510 * beginend.cc (_ITM_abortTransaction): Same.
kono
parents:
diff changeset
1511 (GTM::gtm_transaction::trycommit_and_finalize): Same.
kono
parents:
diff changeset
1512 * libitm.h (_ITM_registerThrownObject, _ITM_tryCommitTransaction): Remove.
kono
parents:
diff changeset
1513 (_ITM_rollbackTransaction): Remove.
kono
parents:
diff changeset
1514 * beginend.cc: Same.
kono
parents:
diff changeset
1515 * libitm.map: Same.
kono
parents:
diff changeset
1516 * libitm.texi: Document these ABI changes.
kono
parents:
diff changeset
1517
kono
parents:
diff changeset
1518 2011-06-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1519
kono
parents:
diff changeset
1520 * libitm.texi: New file.
kono
parents:
diff changeset
1521 * Makefile.am: Add libitm.texi.
kono
parents:
diff changeset
1522 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1523
kono
parents:
diff changeset
1524 2011-06-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1525
kono
parents:
diff changeset
1526 * libitm_i.h: Move parts to common.h and dispatch.h.
kono
parents:
diff changeset
1527 * common.h: New file.
kono
parents:
diff changeset
1528 * dispatch.h: New file, new dispatch class.
kono
parents:
diff changeset
1529 Rename GTM::abi_dispatch::lock_type to ls_modifier.
kono
parents:
diff changeset
1530 RenameGTM::abi_dispatch::NOLOCK to NONTXNAL.
kono
parents:
diff changeset
1531 * beginend.cc (GTM::gtm_transaction::begin_transaction): Delegate mode
kono
parents:
diff changeset
1532 decision to retry.cc.
kono
parents:
diff changeset
1533 * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Use serial mode
kono
parents:
diff changeset
1534 only.
kono
parents:
diff changeset
1535 (GTM::gtm_transaction::decide_begin_dispatch): Same.
kono
parents:
diff changeset
1536 * method-serial.cc: Adapt to new dispatch. Add serial mode with undo
kono
parents:
diff changeset
1537 logging.
kono
parents:
diff changeset
1538 * barrier.cc: Use new barriers definitions.
kono
parents:
diff changeset
1539 (abi_dispatch::memmove_overlap_check): New.
kono
parents:
diff changeset
1540 * config/x86/x86_sse.cc: Same.
kono
parents:
diff changeset
1541 * config/x86/x86_avx.cc: Same.
kono
parents:
diff changeset
1542 * Makefile.am: Don't build readonly and wbetl methods, memset.cc and
kono
parents:
diff changeset
1543 memcpy.cc.
kono
parents:
diff changeset
1544 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1545 * method-readonly.cc: Remove.
kono
parents:
diff changeset
1546 * method-wbetl.cc: Rename GTM::abi_dispatch::lock_type to ls_modifier.
kono
parents:
diff changeset
1547 Rename GTM::abi_dispatch::NOLOCK to NONTXNAL.
kono
parents:
diff changeset
1548
kono
parents:
diff changeset
1549 2011-06-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1550
kono
parents:
diff changeset
1551 * alloc_c.cc (_ITM_dropReferences): Don't support it anymore.
kono
parents:
diff changeset
1552 * testsuite/libitm.c++/dropref.C: _ITM_dropReferences is expected to fail.
kono
parents:
diff changeset
1553 * testsuite/libitm.c/dropref-2.c: Same.
kono
parents:
diff changeset
1554 * testsuite/libitm.c/dropref.c: Same.
kono
parents:
diff changeset
1555
kono
parents:
diff changeset
1556 2011-06-30 Torvald Riegel <triegel@redhat.com>
kono
parents:
diff changeset
1557
kono
parents:
diff changeset
1558 * config/generic/tls.h (gtm_disp): Rename to abi_disp.
kono
parents:
diff changeset
1559 * config/generic/tls.h (set_gtm_disp): Rename to set_abi_disp.
kono
parents:
diff changeset
1560 * libitm_i.h: Rename gtm_dispatch to abi_dispatch.
kono
parents:
diff changeset
1561 * alloc_c.cc: Same.
kono
parents:
diff changeset
1562 * barrier.tpl: Same.
kono
parents:
diff changeset
1563 * beginend.c: Same.
kono
parents:
diff changeset
1564 * config/generic/tls.h: Same.
kono
parents:
diff changeset
1565 * config/x86/tls.h: Same.
kono
parents:
diff changeset
1566 * libitm_i.h: Same.
kono
parents:
diff changeset
1567 * memcpy.cc: Same.
kono
parents:
diff changeset
1568 * memset.cc: Same.
kono
parents:
diff changeset
1569 * method-readonly.cc: Same.
kono
parents:
diff changeset
1570 * method-serial.cc: Same.
kono
parents:
diff changeset
1571 * method-wbetl.cc: Same.
kono
parents:
diff changeset
1572 * retry.cc: Same.
kono
parents:
diff changeset
1573
kono
parents:
diff changeset
1574 2011-03-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1575
kono
parents:
diff changeset
1576 * config/posix/rwlock.cc (write_upgrade): Add missing case.
kono
parents:
diff changeset
1577 From Patrik Marlier <patrick.marlier@unine.ch>.
kono
parents:
diff changeset
1578
kono
parents:
diff changeset
1579 2011-02-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1580
kono
parents:
diff changeset
1581 * acinclude.m4 (LIBITM_CHECK_SIZE_T_MANGLING): New.
kono
parents:
diff changeset
1582 * configure.ac: Use it.
kono
parents:
diff changeset
1583 * configure, config.h.in: Rebuild.
kono
parents:
diff changeset
1584 * alloc_cpp.cc (_ZnwX): Use MANGLE_SIZE_T in constructing the name.
kono
parents:
diff changeset
1585 (_ZnaX, _ZnwXRKSt9nothrow_t, _ZnaXRKSt9nothrow_t, _ZGTtnwX,
kono
parents:
diff changeset
1586 _ZGTtnaX, _ZGTtnwXRKSt9nothrow_t, _ZGTtnaXRKSt9nothrow_t): Likewise.
kono
parents:
diff changeset
1587 * libitm.map: Use wildcards to match size_t mangling.
kono
parents:
diff changeset
1588
kono
parents:
diff changeset
1589 2010-12-14 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1590
kono
parents:
diff changeset
1591 * beginend.cc (GTM::gtm_transaction::begin_transaction): Allocate
kono
parents:
diff changeset
1592 blocks of TIDs per thread.
kono
parents:
diff changeset
1593 * config/generic/tls.h (struct gtm_thread): Add local_tid member.
kono
parents:
diff changeset
1594 (setup_gtm_thr): Return the thread structure.
kono
parents:
diff changeset
1595 * config/x86/tls.h (setup_gtm_thr): Likewise.
kono
parents:
diff changeset
1596
kono
parents:
diff changeset
1597 2010-12-14 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1598
kono
parents:
diff changeset
1599 * clone.cc (table_lock): Remove.
kono
parents:
diff changeset
1600 (find_clone): Don't take it.
kono
parents:
diff changeset
1601 (ExcludeTransaction): New helper class.
kono
parents:
diff changeset
1602 (_ITM_registerTMCloneTable): Use it.
kono
parents:
diff changeset
1603 (_ITM_deregisterTMCloneTable): Likewise.
kono
parents:
diff changeset
1604
kono
parents:
diff changeset
1605 2010-12-14 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1606
kono
parents:
diff changeset
1607 * config/x86/tls.h: New file.
kono
parents:
diff changeset
1608
kono
parents:
diff changeset
1609 2010-07-15 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1610
kono
parents:
diff changeset
1611 * Makefile.am (AM_CXXFLAGS): Add -funwind-tables.
kono
parents:
diff changeset
1612 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1613
kono
parents:
diff changeset
1614 2010-07-13 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1615
kono
parents:
diff changeset
1616 * method-wbetl.cc (trydropreference): Fix source line.
kono
parents:
diff changeset
1617
kono
parents:
diff changeset
1618 2010-07-13 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1619
kono
parents:
diff changeset
1620 * libitm.h: Add comment.
kono
parents:
diff changeset
1621 * libitm_i.h (begin_transaction): Add ITM_REGPARM.
kono
parents:
diff changeset
1622
kono
parents:
diff changeset
1623 2010-07-07 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1624
kono
parents:
diff changeset
1625 * configure.ac: Call LIBITM_CHECK_64BIT_SYNC_BUILTINS.
kono
parents:
diff changeset
1626 * beginend.cc (begin_transaction): If 64-bit sync builtins are not
kono
parents:
diff changeset
1627 available, use pthread mutexes.
kono
parents:
diff changeset
1628 * acinclude.m4 (LIBITM_CHECK_64BIT_SYNC_BUILTINS): New.
kono
parents:
diff changeset
1629 * config.h.in: Regenerate.
kono
parents:
diff changeset
1630 * configure: Regenerate.
kono
parents:
diff changeset
1631
kono
parents:
diff changeset
1632 2010-07-06 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1633
kono
parents:
diff changeset
1634 * libitm.h (ITM_PURE): Define.
kono
parents:
diff changeset
1635 Declare _ITM_malloc, _ITM_calloc, and _ITM_free.
kono
parents:
diff changeset
1636
kono
parents:
diff changeset
1637 2010-06-28 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1638
kono
parents:
diff changeset
1639 * method-wbetl.cc (class wbetl_dispatch): Add trydropreference.
kono
parents:
diff changeset
1640 (validate): Add comment.
kono
parents:
diff changeset
1641 (trydropreference): New.
kono
parents:
diff changeset
1642 * method-readonly.cc (class readonly_dispatch): Add
kono
parents:
diff changeset
1643 trydropreference.
kono
parents:
diff changeset
1644 * alloc_c.cc (_ITM_dropReferences): Remove const attribute.
kono
parents:
diff changeset
1645 Call trydropreference().
kono
parents:
diff changeset
1646 * libitm.h (_ITM_dropReferences): Remove const attribute.
kono
parents:
diff changeset
1647 * method-serial.cc (class serial_dispatch): Add trydropreference.
kono
parents:
diff changeset
1648 * libitm_i.h (struct gtm_dispatch): Add trydropreference.
kono
parents:
diff changeset
1649
kono
parents:
diff changeset
1650 2010-06-28 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1651
kono
parents:
diff changeset
1652 * memcpy.cc (do_memcpy): Comment.
kono
parents:
diff changeset
1653
kono
parents:
diff changeset
1654 2010-06-25 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1655
kono
parents:
diff changeset
1656 * barrier.tpl: Add comments throughout.
kono
parents:
diff changeset
1657
kono
parents:
diff changeset
1658 2010-06-24 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1659
kono
parents:
diff changeset
1660 * method-wbetl.cc (struct w_entry): Add comments.
kono
parents:
diff changeset
1661 (trycommit): Same.
kono
parents:
diff changeset
1662 (rollback): Same.
kono
parents:
diff changeset
1663
kono
parents:
diff changeset
1664 2010-06-24 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1665
kono
parents:
diff changeset
1666 * alloc_c.cc (_ITM_dropReferences): New.
kono
parents:
diff changeset
1667 * libitm.map (_ITM_dropReferences): Add.
kono
parents:
diff changeset
1668 * libitm.h (_ITM_dropReferences): Add transaction_pure attribute.
kono
parents:
diff changeset
1669 * libitm_i.h (struct gtm_transaction): Declare
kono
parents:
diff changeset
1670 drop_references_allocations and drop_references_local.
kono
parents:
diff changeset
1671 * local.cc (rollback_local): Ignore memory when applicable.
kono
parents:
diff changeset
1672 (drop_references_local): New.
kono
parents:
diff changeset
1673
kono
parents:
diff changeset
1674 2010-06-23 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1675
kono
parents:
diff changeset
1676 * barrier.tpl, beginend.cc, clone.cc, tls.h, memcpy.cc,
kono
parents:
diff changeset
1677 memset.cc, method-serial.cc: Revert the 2010-06-16 change.
kono
parents:
diff changeset
1678 * config/x86/target.h (struct gtm_jmpbuf): Change CFA type to void*.
kono
parents:
diff changeset
1679 * config/alpha/target.h: Likewise.
kono
parents:
diff changeset
1680 * config/generic/tls.cc (gtm_mask_stack): Use it.
kono
parents:
diff changeset
1681
kono
parents:
diff changeset
1682 2010-06-23 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1683
kono
parents:
diff changeset
1684 * config/posix/cachepage.cc (gtm_cacheline_page::operator new): Use
kono
parents:
diff changeset
1685 a mutex instead of trying a lock-free compare-and-swap on the list.
kono
parents:
diff changeset
1686 (gtm_cacheline_page::operator delete): Likewise.
kono
parents:
diff changeset
1687
kono
parents:
diff changeset
1688 2010-06-16 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1689
kono
parents:
diff changeset
1690 * method-wbetl.cc (wbetl_dispatch::trycommit): Discard changes
kono
parents:
diff changeset
1691 that overlap the libitm stack.
kono
parents:
diff changeset
1692 * barrier.tpl: Mark incoming stack.
kono
parents:
diff changeset
1693 * beginend.cc (_ITM_rollbackTransaction, _ITM_abortTransaction,
kono
parents:
diff changeset
1694 _ITM_commitTransaction, _ITM_commitTransactionEH): Likewise.
kono
parents:
diff changeset
1695 * clone.cc (_ITM_getTMCloneOrIrrevocable): Likewise.
kono
parents:
diff changeset
1696 * memcpy.cc, memset.cc: Likewise.
kono
parents:
diff changeset
1697 * method-serial.cc (_ITM_changeTransactionMode): Likewise.
kono
parents:
diff changeset
1698 * config/generic/tls.h (gtm_thread): Add stack_top member.
kono
parents:
diff changeset
1699 (gtm_stack_top, set_gtm_stack_top, struct gtm_stack_marker): New.
kono
parents:
diff changeset
1700 * libitm_i.h (gtm_mask_stack): Declare.
kono
parents:
diff changeset
1701 * config/generic/tls.cc: New file.
kono
parents:
diff changeset
1702 * Makefile.am (libitm_la_SOURCES): Add it.
kono
parents:
diff changeset
1703 (AM_CXXFLAGS): Turn off exceptions.
kono
parents:
diff changeset
1704 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1705
kono
parents:
diff changeset
1706 2010-06-16 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1707
kono
parents:
diff changeset
1708 * alloc.cc (struct gtm_alloc_action): Move definition ...
kono
parents:
diff changeset
1709 * libitm_i.h: ... here.
kono
parents:
diff changeset
1710 (class gtm_transaction): Declare new and delete.
kono
parents:
diff changeset
1711 * beginend.cc (alloc_tx): Reformulate as operator new.
kono
parents:
diff changeset
1712 (free_tx): Reformulate as operator delete.
kono
parents:
diff changeset
1713 * config/generic/tls.h (gtm_thread): Change free_tx member to void *.
kono
parents:
diff changeset
1714
kono
parents:
diff changeset
1715 2010-06-11 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1716
kono
parents:
diff changeset
1717 * clone.cc (clone_entry_compare): Fix typo.
kono
parents:
diff changeset
1718 From Patrik Marlier <patrick.marlier@unine.ch>.
kono
parents:
diff changeset
1719
kono
parents:
diff changeset
1720 2010-05-13 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1721
kono
parents:
diff changeset
1722 * alloc_c.cc (_ITM_malloc, _ITM_calloc, _ITM_free): Wrap functions
kono
parents:
diff changeset
1723 in extern "C".
kono
parents:
diff changeset
1724
kono
parents:
diff changeset
1725 2010-05-07 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1726
kono
parents:
diff changeset
1727 * libitm_i.h (struct gtm_transaction): Remove
kono
parents:
diff changeset
1728 get_allocation_size.
kono
parents:
diff changeset
1729 (record_allocation): Remove size parameter.
kono
parents:
diff changeset
1730 * libitm.map (_ITM_realloc): Remove.
kono
parents:
diff changeset
1731 * alloc_c.cc (_ITM_realloc): Remove.
kono
parents:
diff changeset
1732 (_ITM_malloc): Remove size argument to record_allocation.
kono
parents:
diff changeset
1733 (_ITM_calloc): Same.
kono
parents:
diff changeset
1734 * alloc_cpp.cc (_ZGTtnwm): Same.
kono
parents:
diff changeset
1735 (_ZGTtnwmRKSt9nothrow_t): Same.
kono
parents:
diff changeset
1736 (_ZGTtnam): Same.
kono
parents:
diff changeset
1737 (_ZGTtnamRKSt9nothrow_t): Same.
kono
parents:
diff changeset
1738 * alloc.cc (struct gtm_alloc_action): Remove size.
kono
parents:
diff changeset
1739 (get_allocation_size): Remove.
kono
parents:
diff changeset
1740 (commit_allocations): Add comment.
kono
parents:
diff changeset
1741 (record_allocation): Remove size parameter.
kono
parents:
diff changeset
1742 (forget_allocation): Remove set of size.
kono
parents:
diff changeset
1743
kono
parents:
diff changeset
1744 2010-04-19 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1745
kono
parents:
diff changeset
1746 * Makefile.am (abi_version): New.
kono
parents:
diff changeset
1747 (AM_CXXFLAGS): Pass abi_version.
kono
parents:
diff changeset
1748 * Makefile.in: Regenerate.
kono
parents:
diff changeset
1749 * config/x86/unaligned.h: Remove always_inline kludge for vectors.
kono
parents:
diff changeset
1750
kono
parents:
diff changeset
1751 2010-04-06 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1752
kono
parents:
diff changeset
1753 * clone.cc (_ITM_getTMCloneOrIrrevocable): Rename from
kono
parents:
diff changeset
1754 _ITM_getTMCloneOrIrrevokable.
kono
parents:
diff changeset
1755 * libitm.h (_ITM_getTMCloneOrIrrevocable): Same.
kono
parents:
diff changeset
1756 * libitm.map (_ITM_getTMCloneOrIrrevocable): Same.
kono
parents:
diff changeset
1757
kono
parents:
diff changeset
1758 2010-03-26 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1759
kono
parents:
diff changeset
1760 * configure.ac: Remove Linux futex support.
kono
parents:
diff changeset
1761 * configure.tgt (config_path): Same.
kono
parents:
diff changeset
1762 * Makefile.am: Same.
kono
parents:
diff changeset
1763 * config/linux: Remove entire directory.
kono
parents:
diff changeset
1764 * configure: Rebuild.
kono
parents:
diff changeset
1765 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1766 * testsuite/Makefile.in: Rebuild.
kono
parents:
diff changeset
1767
kono
parents:
diff changeset
1768 2010-03-09 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1769
kono
parents:
diff changeset
1770 * retry.cc (decide_retry_strategy): Set state to STATE_SERIAL when
kono
parents:
diff changeset
1771 switching to serial mode.
kono
parents:
diff changeset
1772 * beginend.cc (trycommit_and_finalize): Unlock serial_lock.
kono
parents:
diff changeset
1773
kono
parents:
diff changeset
1774 2010-03-03 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1775
kono
parents:
diff changeset
1776 * configure.tgt: Add emacs -*- tags.
kono
parents:
diff changeset
1777 * barrier.tpl: Same.
kono
parents:
diff changeset
1778
kono
parents:
diff changeset
1779 2010-02-23 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1780
kono
parents:
diff changeset
1781 * Makefile.am: Rename serial.cc to method-serial.cc.
kono
parents:
diff changeset
1782 * Makefile.in: Regenerate with automake 1.11.1.
kono
parents:
diff changeset
1783 * testsuite/Makefile.in: Same.
kono
parents:
diff changeset
1784 * aclocal.m4: Regenerate with aclocal 1.11.1.
kono
parents:
diff changeset
1785 * method-serial.cc: Rename from serial.cc.
kono
parents:
diff changeset
1786 * libitm_i.h (struct gtm_transaction): Update comment on
kono
parents:
diff changeset
1787 serialirr_mode.
kono
parents:
diff changeset
1788
kono
parents:
diff changeset
1789 2010-02-22 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1790
kono
parents:
diff changeset
1791 * libitm_i.h (GTM_longjmp): Add ITM_REGPARM.
kono
parents:
diff changeset
1792 * config/linux/rwlock.h (class gtm_rwlock): Add comments.
kono
parents:
diff changeset
1793
kono
parents:
diff changeset
1794 2010-02-11 Aldy Hernandez <aldyh@redhat.com>
kono
parents:
diff changeset
1795
kono
parents:
diff changeset
1796 * configure: Rebuild.
kono
parents:
diff changeset
1797
kono
parents:
diff changeset
1798 2009-11-12 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1799
kono
parents:
diff changeset
1800 * Rewrite everything in C++.
kono
parents:
diff changeset
1801
kono
parents:
diff changeset
1802 2009-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1803
kono
parents:
diff changeset
1804 * config/x86/x86_sse.c, config/x86/x86_avx.c: New files.
kono
parents:
diff changeset
1805 * Makefile.am (libitm_la_SOURCES): Add them.
kono
parents:
diff changeset
1806 * configure.ac (ARCH_X86): New conditional.
kono
parents:
diff changeset
1807 * Makefile.in, configure: Rebuild.
kono
parents:
diff changeset
1808 * configure.tgt: Set up ARCH; do cflags setup at the same time.
kono
parents:
diff changeset
1809 Move futex setup into "other system configury" case.
kono
parents:
diff changeset
1810 * local.c (rollback_local): Merge into ...
kono
parents:
diff changeset
1811 (GTM_rollback_local): ... here.
kono
parents:
diff changeset
1812 (GTM_LB): Rename from GTM_alloc_local; do the memcpy here.
kono
parents:
diff changeset
1813 (_ITM_LB): Define as an alias to GTM_LB.
kono
parents:
diff changeset
1814
kono
parents:
diff changeset
1815 2009-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1816
kono
parents:
diff changeset
1817 * method-readonly.c: New file.
kono
parents:
diff changeset
1818 * Makefile.am (libitm_la_SOURCES): Add it.
kono
parents:
diff changeset
1819 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1820 * beginend.c (gtm_stmlock_array, gtm_clock): New.
kono
parents:
diff changeset
1821 (GTM_begin_transaction): Use dispatch_readonly for read-only txn.
kono
parents:
diff changeset
1822 * libitm_i.h (gtm_stmlock, gtm_version): Move from method-wbetl.c.
kono
parents:
diff changeset
1823 (GTM_VERSION_MAX, GTM_VERSION_INVALID, gtm_stmlock_owned_p,
kono
parents:
diff changeset
1824 gtm_stmlock_set_owned, gtm_stmlock_get_addr,
kono
parents:
diff changeset
1825 gtm_stmlock_get_version, gtm_stmlock_set_version, LOCK_ARRAY_SIZE,
kono
parents:
diff changeset
1826 gtm_stmlock_array, gtm_get_stmlock, gtm_clock, RESTART_NOT_READONLY,
kono
parents:
diff changeset
1827 gtm_get_clock, gtm_inc_clock): New.
kono
parents:
diff changeset
1828 * method-wbetl.c (gtm_version, gtm_stmlock, OWNED_MASK, VERSION_MAX,
kono
parents:
diff changeset
1829 LOCK_GET_OWNED, LOCK_SET_ADDR, LOCK_GET_ADDR, LOCK_GET_TIMESTAMP,
kono
parents:
diff changeset
1830 LOCK_SET_TIMESTAMP, LOCK_ARRAY_SIZE, LOCK_MASK, LOCK_IDX, GET_LOCK,
kono
parents:
diff changeset
1831 locks, gclock, CLOCK, GET_CLOCK, FETCH_AND_INC_CLOCK): Remove and
kono
parents:
diff changeset
1832 replace uses with new libitm_i.h symbols.
kono
parents:
diff changeset
1833 (dispatch_wbetl): Rename from wbetl_dispatch.
kono
parents:
diff changeset
1834 * retry.c (GTM_decide_retry_strategy): If RESTART_NOT_READONLY, move
kono
parents:
diff changeset
1835 away from dispatch_readonly; abort if the beginTransaction call
kono
parents:
diff changeset
1836 asserted that the transaction was readonly.
kono
parents:
diff changeset
1837
kono
parents:
diff changeset
1838 2009-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1839
kono
parents:
diff changeset
1840 * memset.c: New file.
kono
parents:
diff changeset
1841 * Makefile.am (libitm_la_SOURCES): Add it.
kono
parents:
diff changeset
1842 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1843 * testsuite/libitm.c/memset-1.c: New.
kono
parents:
diff changeset
1844
kono
parents:
diff changeset
1845 2009-11-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1846
kono
parents:
diff changeset
1847 * dispatch.c: Remove file.
kono
parents:
diff changeset
1848 * useraction.c (struct gtm_user_action): Move from libitm.h.
kono
parents:
diff changeset
1849 * serial.c (GTM_null_read_lock, GTM_null_write_lock): New.
kono
parents:
diff changeset
1850 (serial_memset, serial_memmove, serial_memcpy): Remove.
kono
parents:
diff changeset
1851 (serial_W*, serial_R*): Remove.
kono
parents:
diff changeset
1852 (serial_dispatch): Update to match.
kono
parents:
diff changeset
1853 * configure.ac: Move Werror down below configure checks. Don't
kono
parents:
diff changeset
1854 check for sys/loadavg.h, do check for malloc.h. Don't check for
kono
parents:
diff changeset
1855 getloadavg and clock_gettime; do check for memalign, posix_memalign.
kono
parents:
diff changeset
1856 Use GCC_AC_FUNC_MMAP_BLACKLIST
kono
parents:
diff changeset
1857 * libitm.h: Split out all internal items to...
kono
parents:
diff changeset
1858 * libitm_i.h: ... here. New file.
kono
parents:
diff changeset
1859 * copymask.c: New file.
kono
parents:
diff changeset
1860 * local.c (struct gtm_local_undo): Move from libitm.h.
kono
parents:
diff changeset
1861 (GTM_alloc_local): Rename from alloc_local; export.
kono
parents:
diff changeset
1862 * memcpy.c: New file.
kono
parents:
diff changeset
1863 * alloc_c.c (_ITM_realloc): Use _ITM_memcpyRnWt directly.
kono
parents:
diff changeset
1864 * config/posix/page.c: New file.
kono
parents:
diff changeset
1865 * config/posix/target_tls.h: Remove file.
kono
parents:
diff changeset
1866 * barrier.c: New file.
kono
parents:
diff changeset
1867 * Makefile.am (libitm_la_SOURCES): Add barrier.c, memcpy.c,
kono
parents:
diff changeset
1868 copymask.c, page.c.
kono
parents:
diff changeset
1869 * alloc.c (struct gtm_alloc_action): Move from libitm.h.
kono
parents:
diff changeset
1870 * method-wbetl.c: Rewrite for new cacheline methods.
kono
parents:
diff changeset
1871 * Makefile.in, configure, testsuite/Makefile.in, config.h.in: Rebuild.
kono
parents:
diff changeset
1872
kono
parents:
diff changeset
1873 * config/alpha/sjlj.S: Fix typo.
kono
parents:
diff changeset
1874 * config/alpha/target_i.h: Copy functions from alpha/target.h.
kono
parents:
diff changeset
1875 * config/alpha/copymask.c: New file.
kono
parents:
diff changeset
1876 * config/alpha/target.h (CACHELINE_SIZE): New.
kono
parents:
diff changeset
1877 (STRICT_ALIGNMENT, PAGE_SIZE, FIXED_PAGE_SIZE): New.
kono
parents:
diff changeset
1878
kono
parents:
diff changeset
1879 * config/x86/target_i.h: Copy functions from x86/target.h.
kono
parents:
diff changeset
1880 * config/x86/copymask.c: New file.
kono
parents:
diff changeset
1881 * config/x86/target.h (_ITM_ALL_TARGET_TYPES): Remove.
kono
parents:
diff changeset
1882 (CACHELINE_SIZE, STRICT_ALIGNMENT): New.
kono
parents:
diff changeset
1883 (PAGE_SIZE, FIXED_PAGE_SIZE): New.
kono
parents:
diff changeset
1884 * config/x86/target_tls.h: Move contents to target_i.h.
kono
parents:
diff changeset
1885
kono
parents:
diff changeset
1886 * testsuite/libitm.c/clone-1.c: Include libitm.h.
kono
parents:
diff changeset
1887 * testsuite/libitm.c/memcpy-1.c: New.
kono
parents:
diff changeset
1888
kono
parents:
diff changeset
1889 2009-10-22 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1890
kono
parents:
diff changeset
1891 * Makefile.am (CCAS, CCASFLAGS, LTCCASCOMPILE): Remove.
kono
parents:
diff changeset
1892 (AM_CCASFLAGS): New.
kono
parents:
diff changeset
1893 * configure.ac: Add AM_PROG_AS. Use m4_rename_force for
kono
parents:
diff changeset
1894 saving/restoring _AC_ARG_VAR_PRECIOUS.
kono
parents:
diff changeset
1895 * Makefile.in, aclocal.m4, config.h.in, configure,
kono
parents:
diff changeset
1896 testsuite/Makefile.in: Rebuild with automake 1.11; autoconf 2.64.
kono
parents:
diff changeset
1897
kono
parents:
diff changeset
1898 2009-10-22 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1899
kono
parents:
diff changeset
1900 * testsuite/*: Update for new compiler syntax.
kono
parents:
diff changeset
1901
kono
parents:
diff changeset
1902 2009-10-21 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1903
kono
parents:
diff changeset
1904 * libitm.h (_ITM_abortReason): Add outerAbort.
kono
parents:
diff changeset
1905
kono
parents:
diff changeset
1906 2009-08-03 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1907
kono
parents:
diff changeset
1908 * libitm.map (_ITM_commitTransactionEH, _ITM_cxa_allocate_exception,
kono
parents:
diff changeset
1909 _ITM_cxa_begin_catch, _ITM_cxa_end_catch, _ITM_cxa_throw): Export.
kono
parents:
diff changeset
1910 * method-wbetl.c (struct w_entry): Remove mask.
kono
parents:
diff changeset
1911 (wbetl_write, wbetl_load): Return pointer to word containing the data;
kono
parents:
diff changeset
1912 adjust all callers.
kono
parents:
diff changeset
1913
kono
parents:
diff changeset
1914 2009-07-22 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1915
kono
parents:
diff changeset
1916 * eh_cpp.c: New file.
kono
parents:
diff changeset
1917 * Makefile.am (libitm_la_SOURCES): Add it.
kono
parents:
diff changeset
1918 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1919 * beginend.c (GTM_rollback_transaction): Undo exception state.
kono
parents:
diff changeset
1920 (GTM_trycommit_transaction): Mark inline.
kono
parents:
diff changeset
1921 (GTM_trycommit_and_finalize_transaction): Split out from ...
kono
parents:
diff changeset
1922 (_ITM_commitTransaction): ... here.
kono
parents:
diff changeset
1923 (_ITM_commitTransactionEH): New function.
kono
parents:
diff changeset
1924 * libitm.h (struct gtm_transaction): Add cxa_catch_count,
kono
parents:
diff changeset
1925 cxa_unthrown, eh_in_flight; reorder.
kono
parents:
diff changeset
1926
kono
parents:
diff changeset
1927 * testsuite/libitm.c++/c++.exp: New.
kono
parents:
diff changeset
1928 * testsuite/libitm.c++/eh-1.C: New.
kono
parents:
diff changeset
1929
kono
parents:
diff changeset
1930 * aatree.c (aa_free): Remove REGPARM.
kono
parents:
diff changeset
1931 * aatree.h: Remove all REGPARM.
kono
parents:
diff changeset
1932
kono
parents:
diff changeset
1933 2009-07-18 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1934
kono
parents:
diff changeset
1935 * aatree.c, aatree.h, alloc.c, alloc_c.c, alloc_cpp.c: New files.
kono
parents:
diff changeset
1936 * Makefile.am (libitm_la_SOURCES): Add them.
kono
parents:
diff changeset
1937 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1938 * beginend.c (GTM_rollback_transaction): Use GTM_commit_allocations.
kono
parents:
diff changeset
1939 (GTM_trycommit_transaction): Likewise.
kono
parents:
diff changeset
1940 * libitm.h: Include aatree.h
kono
parents:
diff changeset
1941 (struct gtm_alloc_action): New.
kono
parents:
diff changeset
1942 (struct gtm_transaction): Add alloc_actions.
kono
parents:
diff changeset
1943 (GTM_record_allocation, GTM_forget_allocation): Declare.
kono
parents:
diff changeset
1944 (GTM_get_allocation_size, GTM_commit_allocations): Declare.
kono
parents:
diff changeset
1945 * libitm.map (_ITM_malloc, _ITM_calloc, _ITM_realloc, _ITM_free,
kono
parents:
diff changeset
1946 _ZGTtnwm, _ZGTtnam, _ZGTtdlPv, _ZGTtdaPv, _ZGTtnwmRKSt9nothrow_t,
kono
parents:
diff changeset
1947 _ZGTtnamRKSt9nothrow_t, _ZGTtdlPvRKSt9nothrow_t,
kono
parents:
diff changeset
1948 _ZGTtdaPvRKSt9nothrow_t): Export.
kono
parents:
diff changeset
1949
kono
parents:
diff changeset
1950 2009-07-18 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1951
kono
parents:
diff changeset
1952 * target_tls.h: Move ...
kono
parents:
diff changeset
1953 * config/posix/target_tls.h: ... here.
kono
parents:
diff changeset
1954
kono
parents:
diff changeset
1955 2009-07-07 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1956
kono
parents:
diff changeset
1957 * config/x86/target.h (atomic_write_barrier): Use sfence if available.
kono
parents:
diff changeset
1958
kono
parents:
diff changeset
1959 2009-07-07 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1960
kono
parents:
diff changeset
1961 * Update to GPL3.
kono
parents:
diff changeset
1962
kono
parents:
diff changeset
1963 2009-07-07 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1964
kono
parents:
diff changeset
1965 * libitm.h (struct gtm_transaction): Widen id to _ITM_transactionId_t.
kono
parents:
diff changeset
1966 * beginend.c (global_tid): Widen to _ITM_transactionId_t.
kono
parents:
diff changeset
1967
kono
parents:
diff changeset
1968 * configure.tgt: Don't use -ftls-model for x86 linux.
kono
parents:
diff changeset
1969 * libitm.h: Include target.h after standard includes.
kono
parents:
diff changeset
1970 (_gtm_thr): Rename from gtm_thr.
kono
parents:
diff changeset
1971 (setup_gtm_thr, gtm_thr, gtm_tx, set_gtm_tx): New.
kono
parents:
diff changeset
1972 (gtm_disp, set_gtm_disp): New.
kono
parents:
diff changeset
1973 * beginend.c, dispatch.c, local.c, method-wbetl.c, query.c,
kono
parents:
diff changeset
1974 retry.c, serial.c, useraction.c: Use accessor functions throughout.
kono
parents:
diff changeset
1975 * config/alpha/target_tls.h, config/x86/target_tls.h: New files.
kono
parents:
diff changeset
1976
kono
parents:
diff changeset
1977 2009-07-07 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1978
kono
parents:
diff changeset
1979 * config/linux/rwlock.c (EZ): New define. Use it throughout.
kono
parents:
diff changeset
1980
kono
parents:
diff changeset
1981 2009-07-06 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1982
kono
parents:
diff changeset
1983 * libitm.h (_ITM_SRCLOCATION_DECL_1, _ITM_SRCLOCATION_DECL_2): Remove.
kono
parents:
diff changeset
1984 (_ITM_SRCLOCATION_DEFN_1, _ITM_SRCLOCATION_DEFN_2): Remove.
kono
parents:
diff changeset
1985 (_ITM_beginTransaction): Take variadic arguments.
kono
parents:
diff changeset
1986 (_ITM_registerThrownObject): Declare.
kono
parents:
diff changeset
1987 * beginend.c, serial.c: Update.
kono
parents:
diff changeset
1988 * libitm.map: Add _ITM_registerThrownObject.
kono
parents:
diff changeset
1989
kono
parents:
diff changeset
1990 2009-01-28 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
1991
kono
parents:
diff changeset
1992 * Makefile.am (libitm_la_SOURCES): Add clone.c.
kono
parents:
diff changeset
1993 * Makefile.in: Rebuild.
kono
parents:
diff changeset
1994 * beginend.c (_ITM_abortTransaction): Abort if irrevokable.
kono
parents:
diff changeset
1995 (GTM_restart_transaction): Fix uninstrumented code check.
kono
parents:
diff changeset
1996 * retry.c (GTM_decide_retry_strategy): Add serial check.
kono
parents:
diff changeset
1997 * serial.c (GTM_serialmode): Add irrevokable variable. Don't
kono
parents:
diff changeset
1998 automatically go irrevokable when in serial mode.
kono
parents:
diff changeset
1999 * clone.c: New file.
kono
parents:
diff changeset
2000 * libitm.h, libitm.map: Update.
kono
parents:
diff changeset
2001
kono
parents:
diff changeset
2002 2009-01-27 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
2003
kono
parents:
diff changeset
2004 * Makefile.am (LTCCASCOMPILE): Define.
kono
parents:
diff changeset
2005 (libitm_la_SOURCES): Add methid-wbetl.c.
kono
parents:
diff changeset
2006 * testsuite/Makefile.am: New
kono
parents:
diff changeset
2007 * configure.ac: Add testsuite/Makefile.
kono
parents:
diff changeset
2008 * Makefile.in, testsuite/Makefile.in, configure: Regenerate.
kono
parents:
diff changeset
2009 * beginend.c (GTM_begin_transaction): Install wbetl_dispatch.
kono
parents:
diff changeset
2010 (_ITM_abortTransaction): Finalize implementation method; pass
kono
parents:
diff changeset
2011 transaction properties to longjmp.
kono
parents:
diff changeset
2012 (GTM_restart_transaction): Split out from ...
kono
parents:
diff changeset
2013 (_ITM_commitTransaction): ... here.
kono
parents:
diff changeset
2014 * config/linux/x86/futex_bits.h (cpu_relax, atomic_write_barrier):
kono
parents:
diff changeset
2015 Move to config/x86/target.h.
kono
parents:
diff changeset
2016 * config/linux/alpha/futex_bits.h: New.
kono
parents:
diff changeset
2017 * config/x86/sjlj.S (GTM_longjmp): Fix 64-bit input register.
kono
parents:
diff changeset
2018 * config/x86/target.h: Disable target types for 32-bit.
kono
parents:
diff changeset
2019 * config/alpha/sjlj.S, config/alpha/target.h: New.
kono
parents:
diff changeset
2020 * libitm.h (struct gtm_dispatch): Add init, fini.
kono
parents:
diff changeset
2021 (enum restart_reason): New.
kono
parents:
diff changeset
2022 (struct gtm_transaction): Add method and restarts.
kono
parents:
diff changeset
2023 * retry.c (GTM_decide_retry_strategy): Implement.
kono
parents:
diff changeset
2024 * serial.c (serial_init, serial_fini): New.
kono
parents:
diff changeset
2025 (GTM_serialmode): Finialize outgoing method.
kono
parents:
diff changeset
2026 * method-wbetl.c: New.
kono
parents:
diff changeset
2027
kono
parents:
diff changeset
2028 2008-12-09 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
2029
kono
parents:
diff changeset
2030 * config/x86/target.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): New.
kono
parents:
diff changeset
2031 * configure.tgt (i386-*, x86_64-*): Don't force SSE.
kono
parents:
diff changeset
2032 * dispatch.c (_ITM_##R##T, _ITM_##W##T): Use _ITM_TYPE_ATTR.
kono
parents:
diff changeset
2033 * libitm.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): Provide default.
kono
parents:
diff changeset
2034 (_ITM_TYPE_M64, _ITM_TYPE_M128, _ITM_TYPE_M256): Move to x86 header.
kono
parents:
diff changeset
2035 (_ITM_ALL_TYPES): Use _ITM_ALL_TARGET_TYPES.
kono
parents:
diff changeset
2036 * local.c (_ITM_L##T): Use _ITM_TYPE_ATTR.
kono
parents:
diff changeset
2037 * serial.c (serial_R##T, serial_W##T): Likewise.
kono
parents:
diff changeset
2038
kono
parents:
diff changeset
2039 2008-11-21 Richard Henderson <rth@redhat.com>
kono
parents:
diff changeset
2040
kono
parents:
diff changeset
2041 * Initial commit.
kono
parents:
diff changeset
2042
kono
parents:
diff changeset
2043 Copyright (C) 2008-2017 Free Software Foundation, Inc.
kono
parents:
diff changeset
2044
kono
parents:
diff changeset
2045 Copying and distribution of this file, with or without modification,
kono
parents:
diff changeset
2046 are permitted in any medium without royalty provided the copyright
kono
parents:
diff changeset
2047 notice and this notice are preserved.