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