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