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